SH-300
Text Panel
Page 90 of 103
3. The data format of query from SH-300 and response from PLC
When SH-300 communicates with controller via freedom protocol the Register data and the
status of inner coils can be set up by SH-300 and displayed on the SH-300 at real time. PC can
be taken as dummy controller to communicate with SH-300. Here PC displays not only the
Register data and the status of inner coils but also the data PC receives and sends during
communicating with SH-300. In order to validate the communication between SH-300 and PC in
time. Take the communication between SH-300 and PC as an example to introduce the data
format of query from SH-300 and response from controller in freedom communication protocol.
1. Read single Coil Status M (0x40)
Use this function code to read the status of single coil in controller. The query message specifies
coil address. Coil status is indicated as: 01 = ON; 00 = OFF in the response message
Here is an example of reading the status coil M25 (0X40)
a. Make the screen displayed as following, use function key to set the status of coil M25
b. Connect SH-300 with PC by using a SH-PC cable, download the screen into SH-300
c. click “ ”to enter simulation state,use indicator to indicate the coil status