Versions Compared

Key

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

...

  • 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://180158.3138.130140.2057: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:
    Image Added
  • If you get no connection, rebooting the PLC or making sure its on the same network will most likely solve the issue.