0X02) Read The Status Of The Input (Read Di Values) - ICPDAS ET-2268 CR User Manual

Ethernet i/o modules
Table of Contents

Advertisement

ET-2200 Series Ethernet I/O Modules
6.2.2

02(0x02) Read the Status of the Input (Read DI values)

This function code is used to read the current Digital Input value from the ET-2200 series module.
[Request]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02-03
Starting DI Address
04-05
Number of Points (Channels)
[Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02
Byte Count
03
Data
[Error Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02
Exception Code
Copyright © 2023 ICP DAS CO., Ltd. All Rights Reserved.
Size
1 Byte
1 to 247
1 Byte
0x02
Refer to Section
Table" to find the address.
2 Bytes
Byte 02 = high byte
Byte 03 = low byte
Byte 04 = high byte
2 Bytes
Byte 05 = low byte
Size
1 Byte
1 to 247
1 Byte
0x02
Byte Count of Response
1 Byte
( n =(Points+7)/8 )
n= 1; Byte 03 = data bit 7 to 0
n= 2; Byte 04 = data bit 15 to 8
n Bytes
.......
n= m; Byte m+2 = data bit(8m-1) to 8(m-1)
Size
1 Byte
1 to 247
1 Byte
0x82
Refer to the Modbus Standard Specifications
1 Byte
for more details
Value
6.3
or
6.4
"Modbus Register
Value
Value
-141 -

Advertisement

Table of Contents
loading

Table of Contents