Chapter 8 Modbus Communication
8-11
Example Program 4
The master writes 1 word data of PLC option card in D1000 to output register 40000 of the slave station
no. 10.
① It designates slave station and function code (No. of station: h0A(10) , function
code: h06 )
② Address setting
- Address ‘0’ of function code ‘16’ at MODBUS protocol actually means address
‘40000’.
③ Save the D1000 data to D0002.
④ This is MODBUS Communication instruction.
- Write the D1000 data via channel 0.
①
②
③
④