You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Ignition x CODESYS 3.5 guide


CODESYS 3.5 part:

  • 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.



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.


           

  • 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.


         

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

  • 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://158.38.140.57: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.

  • Now you have to choose a server and select an Endpoint. Select the following that is equal to your URL. After Entering the IP to the PLC and giving it a name, it will try to connect. Once connected this will show:
  • If you get no connection, rebooting the PLC or making sure its on the same network will most likely solve the issue.

  • Once connected navigate back to Config again, and down to OPC Quick Client. 




  • No labels