Exception Responses - Brainchild C21 User Manual

Auto-tune fuzzy / pid process / temperature controller
Table of Contents

Advertisement

7-2 Exception Responses

7-2 Exception Responses
If the controller receives a message which contains a corrupted
character (parity check error, framing error etc.), or if the CRC16 check
fails, the controller ignores the message.
However, if the controller receives a syntactically correct message
which contains an illegal value, it will send an exception response,
consisting of five bytes as follows:
slave address +offset function code + exception code + CRC16 Hi +
CRC16 Lo
Where the offset function code is obtained by adding the function
code with 128 (ie. function 3 becomes H'83), and the exception code
is equal to the value contained in the following table:
Exception Code
1
2
3
Name
Bad function code
Illegal data address
Illegal data value
UM0C911A
Cause
Function code is not supported
by the controller
Register address out of range
Data value out of range or
attempt to write a read-only or
protected data
68

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

C91

Table of Contents