LG Electronics 120S Universal Remote User Manual


 
Chapter 8 Communication Functions
8-66
4) Example program 3
The master writes data D1000 ~ D1003 to contact 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 means address ‘40000’ actually.
③ : Writing number setting ( Writing number is 4)
④ : This is MODBUS Communication instruction.
5) Example program 4
The master writes data in D1000 to contact 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 means address ‘40000’ actually.
③ : Writing number setting ( Writing number is 1)
④ : This is MODBUS Communication instruction.