SH-300
Text Panel
Page 94 of 103
8. Write double Register DW(0X47)
Use this function code to write the value into two continuous Register in controller .The query
message specifies the Register starting address and the data of double Register to be written.
Registers are addressed starting at zero: register 0 are addressed as 0.
Here is an example of writing 2A6B8C9D hex into two Registers 58.59 in controller
a. Make the screen displayed as the following:
When write 2A6B8C9D hex into two Registers 58 59 in controller the data format of query
message from SH-300 and response message from controller is shown as following:
Query format (controller receive)
Response format (controller
send)
Address high order bit (Hi)
Address high order bit (Lo)
Address high order bit (Hi)
Address Low order bit (Hi)
Address high order bit (Lo)
Address Low order bit (Lo )
Address Low order bit (Hi)
Address Low order bit (Lo)
9. Read a series of coils M (0X48)
Use this function code to read a series of coil status in controller. The query message specifies
coil starting address .The quantity of coil status byte depends on the quantity of the coil to be
read and the coil starting address, N=(the coil number + the coil starting address)/8 if the
b. Connect SH-300 with PC, download the
screen into SH-300.
c. click“ ”enter into simulation mode
write 2A6B8C9D hex into two registers 58.59