![ICP DAS USA M-7024 User Manual Download Page 157](http://html1.mh-extra.com/html/icp-das-usa/m-7024/m-7024_user-manual_614159157.webp)
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
157
M-7024R, M-7024U
3.4 04 (0x04) Read Input Channels
This function code is used to read the current digital input counter
value of a module.
Request
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0x04
02 ~ 03 Starting channel
2 Bytes 0x0080 to 0x0084 for M-7024R
0x0080 to 0x0083 for M-7024U
04 ~ 05 Number of input
channels (N)
2 Bytes 1 to 5 for M-7024R.
1 to 4 for M-7024U.
Note
:
This function is only available to the M-7024R and M-7024U.
Response
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0x04
02
Byte count
1 Byte
2 x N
03 ~
Data of input
channels
2 x N
Bytes
Data of counter value.
Error Response
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0x84
02
Exception code
1 Byte
02: starting channel out of range
03: (starting c number of
input channels) out of range,
incorrect number of bytes
received
Summary of Contents for M-7024
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 ...