Versions Compared

Key

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

...

According to the task we need to transmit data of INT and BOOL types.

Since Modbus only supports WORD data transfer, we still can transfer our data. 

For transmitting BOOL data, it's possible to use one bit from a 16-bit word register. As for INT data (integer numbers), they can also be transmitted via Modbus TCP by placing them in two consecutive 16-bit word registers.













Source:/Helpful links:

Configuring a Network Variable Exchange:
https://help.codesys.com/api-content/2/codesys/3.5.13.0/en/_cds_configuring_network_variables_exchange/

...