114
If the slave receives the query without a communication error, but cannot handle it (for
example, if the request is to read a non existent register the slave will return an exception
response informing the master of the nature of the error.
Available Exception codes:
Illegal Function:
The command received in the query is not defined.
Illegal Address:
The address received in the query is not defined for the slave.
Slave Device Failure:
Internal slave device error.
E.4. MODBUS Modes in the CS121 M (ASCII and RTU)
MODBUS Command
The following tables contain the general command descriptions and examples with ASCII and
RTU framing.
Read Words (Functions 03h and 04h)
For the CS121 there is normally no difference between these two functions.
address of first word
to read
bytes with
contents of n
words
Example: Read Words, Function 04h, ASCII Mode
Read one word at address 63h (= 99 decimal):
address of first
word to read