InteliLite4 AMF20 Global Guide
189
Error codes (exception codes)
An exception code is returned by the controller (server) if the query sent from the client could not be
completed successfully.
The controller responds with the error codes in as follows:
01 – Illegal function is returned if an incompatible type of operation is applied for a specific object, e.g. if
function 03 is applied to a binary object.
02 – illegal address is returned if the client tries to perform an operation with an object address that is not
related to any existing object or that is located inside an object which is composed by multiple addresses
(registers).
04 – device error is returned in all other erroneous situations. More detailed specification of the problem
can be obtained by reading the registers 4205 – 4206.
Reserved registers
There are several registers with specific meanings. These registers are available in all controllers regardless
of the configuration.
Register
addresses
Number of
registers
Access
Data type
Meaning
4200 - 4201
2
read/write
Time
RTC Time in BCD code
4202 - 4203
2
read/write
Date
RTC Date in BCD code
4204
1
read/write
Unsigned8
Index of the language that is used for
text data provided by MODBUS (e.g.
alarmlist messages).
4205 - 4206
2
read
Unsigned32
Last application error. To be read after
the device returns the exception code
04. It contains specific information
about the error.
4207 - 4208
2
read/write
Unsigned32
Writing:command argument
Reading: command return value
4209
1
write
Unsigned16
Command code
4010
1
-
-
Not implemented
4211
1
write
Unsigned16
Password
4212 - 4213
2
read
Unsigned32
Communication status
4214
1
read
Unsigned8
Number of items in the Alarmlist
4215 - 4241
27
read
Alarm
1. record in alarm list
4242 - 4268
27
read
Alarm
2. record in alarm list
4269 - 4295
27
read
Alarm
3. record in alarm list
4296 - 4322
27
read
Alarm
4. record in alarm list
4323 - 4349
27
read
Alarm
5. record in alarm list
4350 - 4376
27
read
Alarm
6. record in alarm list
4377 - 4403
27
read
Alarm
7. record in alarm list