Modbus – ATEIS DIVA8G2 User Manual
Page 271

System Functionality
271
© 2012 ATEÏS
With
VN3 Evacuation Input 3 characters
SP ASCII Space 1 character (value 0x20)
VS3 Status Code 3 characters
Status Code Description
010
Evacuation Input fault
011
Evacuation Input out of fault
012
Evacuation Input unavailable
013
Evacuation Input returned to available
5.9.1.2
Modbus
The MODBUS application protocol is a well-known industry standard, see the link at
for more information.
DIVA master act as a slave in RTU mode (binary), either on serial port or IP. The implementation is
based on a register table only.
It accepts the following public function codes:
0x03 Read holding registers
0x04 Read input registers
0x06 Write single register
0x10 Write multiple registers
And it may answer with the following exception codes:
0x01 Illegal Function
0x02 Illegal Data Address
0x03 Illegal Data Value
DIVA supports slave units number in its configuration file (this number is sent inside each command to
modbus slaves).
The frames received are triple checked: Communication level, no answer if unit number is not the one set
in DIVA protocol level, according to MODBUS specifications (exception codes) application level,
according to the table supported (command/acknowledge).
All the registers are holding datas formatted as words (16 bits), and they form a table which maximum
size is 64kwords. The table is divided in two parts: states and command/parameters.
The states of DIVA (faults, busy,…) can be get simply by reading the matching registers.
To trigger an action inside DIVA, the parameters must be set first, then the command register. If action
is valid (ex: priority ok for a paging), then the command register is set to 0. If not, the command register
is set to a negative value.