5. Ignition - banica/metering GitHub Wiki

5.1. Ignition + Designer setup

DISCLAIMER: All things Ignition related should be installed on the HOST PC

1. Download and Install Ignition

  • Go to the Inductive Automation website at www.inductiveautomation.com
  • Select Download Ignition in the upper right corner of the page. The browser will determine what operating system you're running and will bring up Download for Windows.
  • Click Download for Windows.
  • Run the downloaded file Ignition-X.X.X-windows-x64-installer.exe or go to your downloads folder and double-click the file to start installation.
  • The Ignition Installer window welcomes you to the Installer Wizard. To begin the installation, click Next.

Step 1

  • The Installation Location window will be displayed. By default, Ignition is installed under your Program Files folder: Program Files\Inductive Automation\Ignition. This is usually a good choice. You also have the option to choose another location. Simply click on the folder on the right side of this field to browse for another folder location. You can accept the default Gateway Service Name or enter another name. Click Next.

Step 2

  • The Installation Options window will be displayed. Select the Typical mode. Typical: The Typical installation includes Ignition with all of the HMI/SCADA modules. The only modules that are not installed by default are the MES modules.

Step 3

  • The wizard shows Ignition is now Ready to Install. If you decide to change your selections, click Back to go back and make your changes. Click Install to continue. Afterwards, a splash screen will appear indicating the installation progress.

Step 4

  • Once the Installer window shows that the Ignition installation is successfully installed, make sure that the checkbox for Start Ignition Now is selected, then click Finish.

Step 5

  • Once Ignition is installed, your default web browser will open and you will be greeted with a Welcome to Ignition. You will be presented with a message to select a version to install. Select Ignition.

Step 6

  • The End User License Agreement (EULA) window will be displayed. Click the button acknowledging you read and agree with the terms and conditions, then press Next.

Step 7

  • An Account Setup window will open for you to enter your first user. This first user will be the main/administrator account with full privileges in Ignition. Enter a username and password, and click Next.

Step 8

  • The HTTP Configuration window will open for you to configure the HTTP, HTTPS Ports, and Gateway Network Port. The default ports are: HTTP Port is 8088, HTTPS Port is 8043, and the Gateway Network Port is 8060. Commissioning will check the default ports for their availability. If no ports are available, the Gateway will iterate that port number until one is found that is available. Existing or upgraded Gateways will not search for available ports, and will result in a faulted Gateway.

  • Click Finish Setup.

Step 9

  • The Setup Completed window will be displayed, and now you can Start the Gateway. This may take a few minutes to finish.

Step 10

That’s it. Your Ignition installation is complete and the Gateway is launched. Your web browser opens the Gateway Homepage at http://localhost:8088. Sign in using the credentials for the user you created in Step 13.

Step 11

2. Launch the Gateway

The Ignition Gateway is a web server. When it is running, you can access it through a web browser in just a few steps. If you're not already logged into Ignition, enter the credentials for the administrator or user with full privileges for the Gateway. The default login credentials for the Gateway are username: admin and password: password.

  1. Figure out the IP address of the computer you installed Ignition on. If this computer is the one Ignition is installed on, then you can use localhost instead of the IP.
  2. Open up a web browser and go to the Gateway's webpage: http://localhost:8088. If the Gateway is installed on a different server/computer, then you'll need to know the IP address or host name. Example: http://ipaddress:8088.

Step 12

To navigate back to the Gateway Homepage, click the Home button.

3. Open the Designer

Launch the Designer

  1. If you are already logged into Ignition, then go to the Home tab of the Gateway Webpage, otherwise login as the user with full / administrative privileges.
  2. Under Get the Designer, click the Download Designer Launcher button.

Step 13

  1. Select the Download button for the platform you are running on: Windows, Mac OS, or Linux. In this example, we are running on Windows.

Step 14

  1. Run the downloaded file (DesignerLauncher.exe) found on the lower-left of the window, or go to your downloads folder and double-click the file to run it.
  2. The Select Additional Tasks window will open. Here, you can select additional tasks that you would like to set up to perform while installing the Designer Launcher. It's a good idea to Create a desktop shortcut so it's easily accessible when you want to open the Designer Launcher. Click Next.

Step 15

  1. Now, you're ready to install the Designer Launcher on your computer. Click Install to continue.

Step 16

  1. Once the Designer Launcher is installed, complete the setup by checking the box to Launch Designer Launcher and click Finish.

Step 17

  1. The Ignition Designer Launcher window will open. Here you can select any Designers you have permission to launch. If you are running this for the first time, by default, you will need to add a Designer. Click Open Designer to launch an existing Designer. Refer to the Launchers and Workstation page for detailed information on adding a Designer, including creating a Designer Shortcut, adding to Favorites, and more.

Step 18

  1. The Designer starts up and the login window is displayed. Enter the credentials for the administrator or user with full privileges for the Designer, and click Login. It should be the same as the login for the Gateway Config section. (we used admin and admin)

Step 19

4.2. Connecting the PLC using OPC UA

Go to the Gateway > Status > OPC Connections

Step 20

Now in the upper right corner go to Configuration, now you will see a blue arrow with text saying “Create new OPC Connection…”, press on that > OPC UA > Next Now this will pop up and you must use the IP address from the TIA program, in my case: “opc.tcp://192.168.0.3:4840”, now hit next, you should only see your server, if it is not selected select it, press next once again:

Step 21

For endpoint we did not use any security, that is your choice if you want to do it or not, but for the sake of simplicity we will go without security and hit next once again:

Step 22

Trust certificate > Yes, Next once more

Step 23

Now just hit finish

Step 24

Also “Create New OPC Connection” and you should be all good for this part of the process.

Step 25

Now we must create a Device, so go to Status > Devices > Create New > Create new device > Siemens S7-1200

Step 26

Under the settings give your Device a name and give it the IP address we also used earlier:

Step 27

Now Create New Device and you should be all done with the Gateway, let’s move on to the Designer. Open Designer Launcher > Add Designer > Select your Gateway and hit Add Designer if you have not already done so, log in Create a New Project

Step 28

Use the following settings to mimic our results, I have highlighted what should be changed and now just Create New Project:

Step 29

When it opens go to Create a New Window > Main Window and Create

Step 30

Now that you have created a window go to the Tag browser > Add > New Standard Tag > OPC Tag

Step 31

Now the properties tab of the Tag wil open up, give it a name, for the OPC server choose the PLC, and under OPC Item Path follow the location in the picture (or something similar, based on how you set up everything):

Step 32

Now press Apply and you will see your tag! Here it is:

Step 33

As you can see its value is 45, to display it we can also drag and drop it in the window, Display > Numeric Label and here is the value:

Step 33

Now instead of the Value we attached as an example change it with the array you created inside of the Siemens TIA application and you should be all good. Hope this documentation helps you achieve your Ignition and TIA goals!