![background image](http://html.mh-extra.com/html/ls-industrial-systems/sv-is7-plc/sv-is7-plc_user-manual_1943813104.webp)
Chapter 8 Modbus Communication
8-10
Example Program 3
The master writes 4 words data of D1000 ~ D1003 to output register 40000 of the slave station no. 10.
①
It designates slave station and function code (No. of station: h0A(10) , function code : h10 )
②
Address setting
- Address ‘0’ of function code ‘16’ at MODBUS protocol actually means address ‘40000’.
③
Writing number setting (Writing number is 4 because 4 words will be written.)
④
This is MODBUS Communication instruction.
- It writes the 4 words data from D1000 to D1003 which the type is set in D0000 to D0002 via
channel 1.
①
②
③
④