FEC920: USER GUIDE
Page 116
September 18
EXCEPTION CODES
MODBUS TCP provides reserved codes used for exceptions. These codes provide error information relating to
failed requests. Exceptions are signalled by hex 80 being added to the function code of the request, followed
by one of the codes listed in Figure 108.
Figure 108 Exception codes
7.2.2 Data types
The following data types are supported:
1.
2's complement signed 16-bit analog values with implied decimal point. The decimal point position must
be configured in both the recorder and the host computer.
2.
16, 32 and 64 bit signed integers.
3.
16-bit unsigned integer values.
4.
32 bit IEEE Floating point values.
5.
Strings of limited size, can be transferred across Modbus TCP in Unicode format using a single non-
multiplexed set of consecutive registers.
DATA ENCODING
MODBUS uses what is called a 'Big endian' representation for addresses and data items. This means that when
a numerical quantity larger than a single byte is transmitted, the most significant byte is sent first. For example
a 32-bit hex value of 12345678 would be transmitted as 12, followed by 34, followed by 56 and finally 78.
7.2.3 Invalid multiple register writes
When a recorder receives a multi-register write request, it is possible that one or more requests will be rejected.
Under such a circumstance, the recorder accepts all valid write requests and ignores any invalid writes. No error
response is produced.
7.2.4 Master communications timeout
Whilst the instrument is archiving, it is possible that communications responses slow sufficiently to cause
communications timouts. The Modbus master device should be configured with a timout value large enough to
ensure against nuisance timeouts during archiving.
7.2.5 Non-volatile parameters in EEPROM
Caution:
The parameters in the following list must not be written-to on a continuous basis as
to do so will damage the EEPROM, greatly shortening its useful life.
Code
Dec Hex
01
02
03
04
09
10
11
01
02
03
04
09
0A
0B
Illegal function
An invalid function code was received
Illegal Data Address
An invalid data address was received
Illegal Data Value
An invalid data value was received
Slave Device Failure
An unrecoverable error occurred in the instrument
Illegal Sub Function
An invalid sub function was received
Gateway path unavailable Gateway misconfigured or overloaded
Gateway target device
failed to respond
Device not present on the network
Modbus definition
Description (see Modbus specification for full details)
A5E45696052A Rev-AA