Intro to Projects

Caution

To do any project, the steps outlined in the previous section Preparation have to be completed successfully.

Some key notes are listed below that apply to all projects.

Security/Data Protection

  • Use Ethernet Port 1 (ETH1) for all possible external public network applications, e.g. MQTT-TLS, SNTP, etc.

  • Use Ethernet Port 2 (ETH2) for all internal network applications, e.g. Modbus, EtherNet/IP.

  • With WebVisu, if you want to publish external a web visualization, utilize HTTPS and password protect.

Project Variable Nomenclature

  • Example projects utilize “Hungarian Notation” for variable naming.

  • In lieu of modern hierarchical Object Oriented Programming that is supported by the CODESYS IDE, it is recommended to not use this format. This will make the code more readable across boundaries.

  • Future projects will be updated accordingly.

Caution

The only Fieldbuses and Add-ons that the P2CDS-622 will support are the Modbus TCP, Modbus RTU, EtherNet/IP Scanner and Adapter, the IIoT Library and WebVisu. Trying to install other licenses from the CODESYS Website, e.g OPC-UA will not work.