0X04) Reading Multiple Input Registers - ICP DAS USA ZT-2017 User Manual

Table of Contents

Advertisement

6.3.6

04 (0x04) Reading Multiple Input Registers

Description
This function code is used to read the current digital input counter values
from the ZT-2000 I/O module.
Request
Byte
Description
00
Address
01
Function Code
Starting Channel
02~03
Number or
Address Mapping
Output Channel
04~05
Number or Bit
Count
Response
Byte
Description
00
Address
01
Function Code
02
Byte Count
03~
Register Values
Error Response
Byte
Description
00
Address
01
Function Code
02
Exception Code
ICP DAS, ZT-2017 and ZT-2017C AI Series User Manual, Version 1.0.1
Copyright © 2012 by ICP DAS Co., Ltd. All Rights Reserved.
Length Value
1
1 to 247
1
0x04
2
See Section 6.3.1 for details
2
0x0001 to 0x0020
Length Value
1
1 to 247
1
0x04
Byte Count of the Response
1
(B=2 * Word Count)
B*2
Register Values
Length Value
1
1 to 247
1
0x84
Refer to the Modbus standard for more
1
details
Page 112

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zt-2017c

Table of Contents