Schwank ThermoControl Plus Series CM-485 User Manual

Page 8

Advertising
background image

- 8 -

Test order

fcode=08” serves for test purposes. The Module will repeat the order but the content of
the registers will not change. This procedure can be used to check the transfer way with
different bit-patterns. The address can only be 0000h.

:02080000ABCD7E

Structure:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

:

02 08

0000

X

LRC

CR LF

In the example the code fcode=08 indicates the test function.
X means any 16-bit figure.
LRC, CR, LF : same as above at reading.

The answer given to the test will be the same as the order:

:02080000ABCD7E


Error Codes:


There may be three types of the error codes:
– Writing to invalid address.

Error code: 02h

:

02860276

– Writing to invalid data.

Error code: 03h

:

02860375

– Invalid function (fcode).

Error code: 01h

:

02840179

– The Module is busy,

it is not able to answer.

Error code: 06h

:02830675

Structure:

1 2 3 4 5 6 7 8 9 10 11
: 02 Status Err LRC

CR LF

If there is an error the upper bit of “status”=1. The following bits contain the function
number where the error occurred.
Example: Status=86h error at writing, Status=83h error at reading
Err”: contains the code (the type) of the error: 01, 02, 03, 06.

Advertising