Valid Error Codes
The MicroTech III Chiller Unit Controller supports all exception codes. See Table 2 below for a description of valid
error codes.
Table 2. Valid Error Codes
Error Codes
Description
01
Illegal Function
02
Illegal Data Address
03
Illegal Data Value
04
Slave Device Failure
05
Acknowledged
06
Slave Device Busy
08
Memory Parity Error
Gateway Path
0A
Unavailable
Gateway Target Device
0B
Failed to Respond
Modbus Addressing
Each function code implies access to a specific Modbus reference set. Therefore, the leading digit is not included in the
address field of a Modbus message. The Modbus Communication Module supports zero-based addressing. For
example, holding register 40003 is addressed as 0002 in a Modbus message.
Modbus Data Point
Each data point accessible from a Modbus network is described with a table that gives the data type and holding register.
If the data point represents an enumerated variable, the enumerations are also listed.
When a variable is spans multiple Holding Registers, it is important to know how the data is represented in those
Holding Registers. This is best shown with an example. Let's use Compressor Run Hours. Circuit 1, compressor 1 run
hours is located at holding registers 74-75 (40074-40075). If the operating hours is 99900 (0x0001 0x863C), the
registers will be as follows:
•
74= 0x863C
•
75 = 0x0001
For strings, the interpretation differs. In this case, each holding register can contain two characters. If a string spans
multiple registers, the first register (lowest register number) contains the 2 left-most characters of the string. Since the
MicroTech III Chiller Unit Controller only supports Modbus RTU, use Appendix A: ASCII Character to translate the
numerical data to their corresponding ASCII characters. An example of registers that contain string data is Application
Version which is located at holding registers 334-338 (40334-40338). The following example shows the holding register
and its value (in hexadecimal), followed by the ASCII character translation.
•
334= 0x3235
•
0x32 = "2"
•
0x35 = "5"
•
335= 0x3035
•
0x30 = "0"
•
0x35 = "5"
•
335= 0x3036
•
0x30 = "0"
•
0x35 = "6"
•
337= 0x3731
•
0x37 = "7"
•
0x31 = "1"
•
338= 0x3030
•
0x30 = "0"
•
0x30 = "0"
7
Definition
The function code received in the query is not an allowable action for the server (or slave).
The data address received in the query is not an allowable address for the server (or slave).
A value contained in the query data field is not an allowable value for server (or slave).
An unrecoverable error occurred while the server (or slave) was attempting to perform the
requested action.
The server (or slave) is has accepted, and is processing, the request.
The server (or slave) is busy processing a command. The client (or master) should retransmit
when the server (or slave) is free.
The server (or slave) attempted to read record file, but detected a parity error in the memory.
The client (or master) can retry the request, but service may be required on the server (or
slave) device.
The gateway may be configured incorrectly or overloaded.
No response from the target device.
Application Version = 2505067100
ED 15121