For example, if a read coil status function (function code 01) is sent to the Remote
RTD Module, the following would be the response;
Address
Function Code
Exception Code
CRC code
10h
81h
01h
D1 95h
Illegal Data Address
If the Remote RTD Module receives a supported command that refers to unsupported
registers, it will respond with an illegal data address exception response. This
response will be in the form;
•
Byte 1: RTD module address.
•
Byte 2: Function code with the most significant bit set to 1 to indicate an
exception.
•
Byte 3: Exception code 02h indicating an illegal data address exception.
•
Byte 4: LSB of CRC code.
•
Byte 5: MSB of CRC code.
For example, if an attempt is made to read a holding register that does not have a
valid address, the Remote RTD Module will respond with the following;
Address
Function Code
Exception Code
CRC code
10h
83h
02h
90 F4h
Illegal Data Value
If the Remote RTD Module receives a preset single register command that contains an
illegal value, it will respond with and illegal data value exception response. The
response will be in the form;
•
Byte 1: RTD module address.
•
Byte 2: Function code with most significant bit set to 1 indicating an exception.
•
Byte 3: Exception code 03h indicating an illegal value exception.
•
Byte 4: LSB of CRC code.
•
Byte 5: MSB of CRC code.
For example, the Remote RTD Module will respond with the following if it receives an
invalid preset single register command;
Address
Function Code
Exception Code
CRC code
10h
86h
03h
52 64h
4.6
Indicating LEDs
Description
There are three indicating LEDs. They perform the following functions;
•
TX
- On when the Remote RTD Module is transmitting data.
•
RX
- On when the Remote RTD Module is receiving data.
•
Status - Blinks once per second in normal mode. Each flash corresponds to
the temperature measurement of one of the RTD inputs.
13
4. COMMUNICATING WITH THE REMOTE RTD MODULE