NTI ENTERPRISE ENVIRONMENT MONITORING SYSTEM
102
Write data to force multiple Output Relays Active/Inactive
Description:
Function code 15 is used to force the status of Output Relays (Active/Inactive) of the ENVIROMUX-xD slave device in a binary
data format.
Query:
Slave
Address
Function
Code
Starting
Address
High
Starting
Address
Low
Quantity of
coils High
Quantity of
coils Low
Byte Count
(N)
Data
Data Data CRC CRC
N in Byte Count field is Quantity of Coils / 8 (if the remainder is different of 0, add 1).
The Relay Outputs status in data field(s) is packed as one Relay Output per bit of data field. The first Relay Output addressed by
Starting Address is the LSB. A value of “1” for a bit means that the relay is INACTIVE while “0” means relay ACTIVE.
Response:
The Relay Outputs status in response message has the following format:
Function Code Starting
Address High
Starting
Address Low
Quantity of
Inputs High
Quantity of
Inputs Low
CRC CRC
Mapping:
The mapping of output relays is the same as for Function Code 01