![ICP DAS USA I-7021 User Manual Download Page 154](http://html1.mh-extra.com/html/icp-das-usa/i-7021/i-7021_user-manual_3685406154.webp)
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
154
M-7024U
3.1 01 (0x01) Read Coils
This function code is used to read the current digital output read
back value of a module.
Request
00
Address
1 Byte 1 ~ 247
01
Function code
1 Byte 0x01
02 ~ 03 Starting channel 2 Bytes 0x0000~0x0003 for M-7024U DO
read back value
04 ~ 05 Number of
output channel
2 Bytes 0x0001 ~ 0x0004 for M-7024U
Note
:
This function is only available to the M-7024U.
Response
00
Address
1 Byte 1 ~ 247
01
Function code
1 Byte 0x01
02
Byte count
1 Byte 1
03
Data of output
channels
1 Byte A bit corresponds to a channel.
When the bit is 1, it denotes that the
channel is on. If the bit is 0, it
denotes that the channel is off.
Error Response
00
Address
1 Byte 1 ~ 247
01
Function code
1 Byte 0x81
02
Exception code
1 Byte 02: starting channel out of range
03: (starting c number of
output channels) out of range,
incorrect number of bytes received
Summary of Contents for I-7021
Page 9: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 9 1 2 Terminal Assignment 7021 7021P 7022 ...
Page 10: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 10 7024 7024L 7024R ...
Page 11: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 11 7024U 7028 ...
Page 46: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 46 1 13 3 Wall Mounting ...