Installation, Operation and Maintenance Manual
VCIOM-15081-EN Rev. 7
Table 7.
Field Name
Address
Function Code
Byte Count
Output Status Address 3-0*
CRC
* bits 7-5 should be zero filled.
8.2
Function Code 16 (0x10) Write
Multiple Registers
References 1x
This function code is used to read from 1 to 2000 contiguous status of discrete inputs in a slave device.
Status of discrete inputs is indicated as 1 = ON and 0 = OFF.
XTE3000 Modbus RTU Module has implemented 32 discrete inputs.
If quantity of inputs requested is less than 1 or more than 32, the Exception Code 03 (0x03)
is generated.
If the combination of the starting address and the quantity of inputs requested is more than 32,
the Exception Code 02 (0x02) is generated.
If an error occurs while the slave device is performing the action requested in the query,
Exception Code 04 (0x04) is generated.
If slave device is engaged to complete a request from the logic card, Exception Code 06 (0x06)
is generated.
Broadcast messages are not allowed.
The list of the discrete inputs implemented in the XTE3000 Modbus RTU module is described
in Section 7.1.
Example of a request to read discrete inputs 2 - 13 from device 18:
Table 8.
Field Name
Address
Function Code
Start address Hi
Start address Lo
Quantity of Inputs Hi
Quantity of Inputs Lo
CRC
Table 9.
Function Code
Address
Function Code
Byte Count
Input Status Address 9-1
Input Status Address 13-10*
CRC
* bits 7-4 are zero filled.
Modbus Function
Response
Request
Response
Section 8: Modbus Function
Value (HEX)
0C
01
01
00
-
Value (HEX)
12
02
00
01
00
0C
-
Modbus Name
12
02
02
00
00
-
October 2022
35