InteliLite4 AMF20 Global Guide
194
Reading binary inputs as coil status.
Table: Binaries
Allowed Modbus functions: 01, 02
Addresses
Modbus Addr.
Prot. Addr.
Source
= Value
= State
C.O.#
State #
Name of
Value
Name of State
Bit #
Bit Name
Activated by protection
(s):
Group
00000
Value
8235
Binary Inputs
1
GCB Feedback
Controller I/O
00001
Value
8235
Binary Inputs
2
MCB Feedback
Controller I/O
00002
Value
8235
Binary Inputs
3
Emergency Stop
Controller I/O
We will read state of MCB Feedback binary input.
Request: (Numbers in Hex)
01
01
00
01
00
01
AC
0A
Controller address
Modbus function
Register address
0001
hex
=
0001
dec
Number of registers
CRC
Response: (Numbers in Hex)
01
01
01
01
90
48
Controller address
Modbus function
Length of data
01
hex
= 1 byte read
Data
01
hex
= active
CRC
The read data is 01. This means this binary input is active.
Note:
You can use Modbus function 2 instead of 1, the rest of the data remains the same (CRC differs).