Description
Product Description
With this library it is relatively easy to post data from CODESYS controllers to (web-)servers. It is very well suited for IoT applications.
It has the following advantages over other solutions:
- The server application doesn’t need to have a specific protocol implementation. HTTP messages with JSON content are already standard in (Internet) communication.
- It is firewall friendly, because the PLC will connect to the server through (default) port 80. Like normal PC’s in a network, this is a standard way to access the internet.
- No continuous polling of data is necessary. Data is only send when specified, e.g. on (timed) trigger, or (alarm) event. This saves programming effort and network bandwidth, which also saves costs in mobile network communication.
- Various data types can be used, like single variables, arrays and structures. These can be appended to create one single JSON data message.
Requirements
Programming System | CODESYS Development System > V3.5.6.0 |
Target System | CODESYS Control > V3.5.6.0 |
Supported Platforms / Devices | Device with support for Network (NBS) library For debugging purposes, the library contains a function block to write the JSON string to a file using the File Access library. Please contact us if your device doesn’t support this, then a library can be created without this function block. Notice: Use the project ‘Device Reader’ to find out the supported features of your device. ‘Device Reader’ is available for free in the CODESYS Store. |
Additional Requirements |
|
Restrictions |
|
Licensing | License activation on CODESYS Security Key |
Required Accessory | CODESYS Security Key |