11 precautions on ascii communications – TOHO ELECTRONICS TRM-006A User Manual

Page 31

Advertising
background image

31

j) Error code

If a message from a high-level computer is error-ridden, it will be incorporated in the
"response message" from this product and returned.

The error number "0" is an instrument error (memory error or A/D conversion error). It
will be incorporated in the "response message" regardless of whether there is an error in
the "request message."

Error number "9" is an AT error. It is therefore incorporated into the "response message"
regardless of whether the "request message" is error-ridden. Remove the cause of the error
immediately and start the AT again.

If there are two or more errors occurring at the same time, the largest error number will be
incorporated.


The table below indicates the error contents and classifications.

Error No.

Error contents in the "request message" received by this product

0

Instrument failure (memory error or A/D conversion error)

1

The numerical data was out of a "specific setting range specified with a setting item."

2

The required modification in an item is prohibited, or such an item to be read does not exist.

3

Reservation number

4

Format error

5

LRC error

6

Overrun error

7

Framing error

8

Parity error

9

A PV error occurred during AT. Or AT does not end 3 hours later.


6.11 Precautions on ASCII communications

6.11.1 Communications timing

Set a sufficient response delay to make sure that this product is switched over from transmission
to reception with regard to a high-level computer in using an RS-485.
See the figure in "6.1 Communications procedure" and "5.8 Setting a response delay."

6.11.2 Interval between requests

In transmitting a series of "request messages" from a high-level computer, allow for an interval of
1msec or more or 3.5 character minutes, whichever the longer, from the reception of a "response
message" from this product to a next transmission.

6.11.3 Response conditions

This product will not return a "response message" unless the "request message" contains a start
code and end code.
If, therefore, the "request message" contains an error, this product will not return a "response
message" (error reply) containing an error code unless the above conditions are met.
Therefore, high-level computer transmits the necessary "request message" again if a "request
message" is sent to this product but the latter does not return a "response message" at the end of
an appropriate period.
The moment a start code is received, this product clears all codes received before that.

Advertising