Download  Print this page

Read Coil Status" Command (0x01); Read Input Status" Command (0x02) - ICP DAS USA I-7242D User Manual

Devicenet / modbus rtu gateway.
Hide thumbs

Advertisement

8.1

"Read Coil Status" Command (0x01)

Read the On/Off status of discrete output in the slave. The query message
specifies the starting coil and quantity of coils to be read. And the coil status in
the response message is packed as one coil per bit of the data field.
Frame
Starting Address (Hi)
Starting Address (Lo)
Query
No. of Points (Hi)
No. of Points (Lo)
Byte Count
Data (Coils: H-L order)(L)
Response
.....
Data (Coils: H-L order)(H)
8.2

"Read Input Status" Command (0x02)

Read the On/Off status of discrete input in the slave. The query message
specifies the starting input and quantity of inputs to be read. And the input
status in the response message is packed as one input per bit of the data field.
Frame
Starting Address (Hi)
Starting Address (Lo)
Query
No. of Points (Hi)
No. of Points (Lo)
Byte Count
Data (Inputs: H-L order)(L)
Response
.....
Data (Inputs: H-L order)(H)
I-7242D DeviceNet/Modbus RTU Gateway User's Manual, July 2006, Version 1.1
Field
Address of 1
Number of output coils
Number of data bytes=(number of output coils + 7) / 8
Byte swap="Swap 1 byte" (or "No swapping")
Data length=Value of the "Byte Count" field
Data location=Address in the gateway's "DO" memory
Field
Address of 1
Number of input coils
Number of data bytes=(number of input coils + 7) / 8
Byte swap="Swap 1 byte" (or "No swapping")
Data length=Value of the "Byte Count" field
Data location=Address in the gateway's "DI" memory
I-7242D user manual
Description
st
output coil
Description
st
input coil
108/124

Advertisement

Table of Contents

   Also See for ICP DAS USA I-7242D

   Related Manuals for ICP DAS USA I-7242D

Comments to this Manuals

Symbols: 0
Latest comments: