0X04) Read Input Channels; 0X04) Read Input Channels - ICP DAS USA I-7021 User Manual

I-7000/7022/7024 series, m-7022/7024/7028 series
Table of Contents

Advertisement

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
01
Function code
02 ~ 03 Starting channel
04 ~ 05 Number of input
channels (N)
Note: This function is only available to the M-7024R and M-7024U.
Response
00
Address
01
Function code
02
Byte count
03 ~
Data of input
channels
Error Response
00
Address
01
Function code
02
Exception code
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
1 Byte
1 to 247
1 Byte
0x04
2 Bytes 0x0080 to 0x0084 for M-7024R
0x0080 to 0x0083 for M-7024U
2 Bytes 1 to 5 for M-7024R.
1 to 4 for M-7024U.
1 Byte
1 to 247
1 Byte
0x04
1 Byte
2 x N
2 x N
Data of counter value.
Bytes
1 Byte
1 to 247
1 Byte
0x84
1 Byte
02: starting channel out of range
03: (starting channel + number of
input channels) out of range,
incorrect number of bytes
received
157

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents