InteliLite Global Guide
159
Reading all binary inputs as modbus register
Table: Values
Allowed MODBUS functions: 03, 04
Register(s) Com.Obj. Name Dimension Type Len Dec Min Max Group
01068 8235
Binary
Inputs
Binary#2 2 0 - - Controller I/O
Request: (Numbers in Hex)
01 03 04 2C 00 01 44 F3
Controller address Modbus function
Register address
042C
hex
= 1068
dec
Number of registers CRC
Response: (Numbers in Hex)
01 03 02 00 12 38 49
Controller address Modbus function
Length of data
02
hex
= 2 bytes read
Data
0012
hex
= 00010010
bin
CRC
Binary inputs is 00010010. It means Binary input 2 and binary input 5 are active.
Note: You can use modbus function 4 insted of 3, rest of data remain same (CRC differs).