NTI ENTERPRISE ENVIRONMENT MONITORING SYSTEM
99
Mapping (Cont’d):
Coil # (Address) ENVIROMUX-16D ENVIROMUX-5D ENVIROMUX-2D
… … … N/A
4 + (M – 1) * 16 + N - 1 Remote DO #M-N Remote DO #M-N N/A
… … … N/A
68 Remote DO #5-1 Remote DO #5-1 N/A
… … … N/A
83 Remote DO #5-16 Remote DO #5-16 N/A
244 Remote DO #16-1 N/A N/A
N/A N/A
259 Remote DO #16-16 N/A N/A
Function Code 02 - Read the state of Digital Inputs
Description:
Function code 02 is used to read the status of Digital Inputs (Open/Closed) of the EMVIROMUX-xD slave device in a binary data
format
Query:
Slave
Address
Function
Code
Starting
Address High
Starting
Address Low
Quantity of
inputs High
Quantity of
inputs Low
CRC CRC
Response:
The Relay Outputs status in response message is packed as one Digital Input per bit of data field. The LSB of the first data byte.
The other inputs follow toward the high order end of this byte, and from low order to high order in subsequent bytes. If the returned
input quantity is not a multiple of eight, the remaining bits in the final data byte will be padded with zeros (toward the high order
end of the byte). The byte count field specifies the quantity of data.
A value of “1” for a bit means that the corresponding Digital Input is “Open”, a value of “0” means it is closed.
Slave
Address
Function
Code
Byte Count Data Data …. CRC CRC
Mapping:
Input # (Address) ENVIROMUX-16D ENVIROMUX-5D ENVIROMUX-2D
0 Digital Input #1 Digital Input #1 Digital Input #1
1 Digital Input #2 Digital Input #2 Digital Input #2
2 Digital Input #3 Digital Input #3 Digital Input #3
3 Digital Input #4 Digital Input #4 Digital Input #4
4 Digital Input #5 Digital Input #5 Digital Input #5
5 Digital Input #6 N/A N/A
6 Digital Input #7 N/A N/A
7 Digital Input #8 N/A N/A