Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • First, you have to right click on application, then you navigate to add object and down to Symbol Configuration, as shown in the image.
  • Make sure that you have "Support OPC UA features activated. OPC UA is a machine to machine communication protocol.
  • Once you have added the Symbol Configuration you will get an option about which type of variables you want to "activate" (as shown in the picture), these are the variables you want to vizualize later on in Ignition.
  • If there are no variables showing, make sure to press the "Build" button in the same window(Symbol Configuration). These variables are the variables that, for example, show that a button is TRUE or not.
  • Before thinking about doing anything else, you should connect to a PLC.

Image RemovedImage RemovedImage Removed



Ignition part:

  • When you have completed codesys, you can start by downloading "Ignition Designer", here you will get different choices about license agreements, or you can run a trial mode.
  • This trial mod can be refreshed as many times as you want, where you have full access to everything from Ignition.
  • Website for Ignition download: "https://inductiveautomation.com/".
  • After downloading Ignition, getting through the first instructions, you create a new "main" window where you can start inserting components that match what you want to visualize.


           Image Added

  • When you have opened Ignition Designer, press the three lines at the bottom right of the program. Here you will be taken to a website where you can now start connecting Ignition to the same PLC that CODESYS is connected to, so that you can extract the variables that you are going to visualize.


          Image Added

  • Here you should navigate to "Config" on the left side of the website, and then navigate down to OPC Connections.

Image AddedImage Added

  • Now choose the "Create new OPC Connection..." option, after clicking on it, you will be presented with two choices. Here it is important to choose OPC UA, which is compatible with what was chosen in CODESYS.
  • When you press next, you must insert an "Endpoint URL", here you must insert a URL with the IP of the PLC. For example, this could look like this: opc.tcp://180.31.130.20:4840. Here it is important to include 4840 at the end, because 4840 is the standard port used for OPC UA servers, it is this port that OPC UA listens on.