Versions Compared

Key

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

To send and receive data on Master side we need to use 2 channels:

  • Write Multiple Registers (Function Code 16)
  • Read Holding Registers (Function Code 03)

Step 1. Modbus Slave Channel - Add channel - FC 16 - Length 10

To send or write data we need to use channel 0 with access type Write Multiple Registers (Function Code 16).

Since we have decided to use approximately 8 variables, the length will be set to 10 (this value can be changed).

Image Added


Step 2. Modbus Slave Channel - Add channel - FC 3 - Length 10

To receive or read data we need to use channel 1 with access type Read Holding Registers (Function Code 03).

Since we have decided to use approximately 8 variables, the length will be set to 10 (this value can be changed).

NB! We need to change Offset from 0011, because of values from 0 to 10 are allready assigned to Channel 0. 

Image Added


All mapping we can do at ModbusTCP Slave I/O Mapping.

Step3.