2. error response, 3. message details – IAI America TTA User Manual

Page 15

Advertising
background image

-15/85-

4-2. Error

Response


If, for some reason, the slave station (controller) cannot execute the command from the master station (host) that has been
received as a normal command by the slave station (controller), an error response will be sent to the master station (host). Each
error response stores an error number, so identify the cause of failed command execution based on the error number and take
an appropriate action. Refer to 4-3-1, “Error Response,” for details on the error response format.

4-3. Message

Details


The maximum cumulative data size in the message map only indicates the maximum data size allowable by the format structure.
The actual size of transmittable messages will be limited by the sizes of the controller’s receive buffer and send buffer.

* The maximum receivable size and maximum transmittable size of the controller are as follows:

Controller

Receivable size

Transmittable size

X-SEL(J/K/KE/KT/KET/JX/KX/KTX),TT

1023 bytes

1024 bytes

TTA, X-SEL(P/Q/PCT/QCT/PX/QX/R/S/RX/SX/RXD/SXD),
SSEL/ASEL/PSEL

2051 bytes

2048 bytes



4-3-1. Error

Response

Function: Notify the content of an error that occurred with respect to a command.

Data name

Data range (value)

Data size

[bytes]

Cumulative

bytes [bytes]

Endian Sign

extension

Unit

Description Remarks

Big Little Yes No

Error

response

Header '&'

1

1

Station 'XX(h)'

2

3

Error code

'XXX(h)'

3

6

Indicate the error type.

SC 'XX(h)'

2

8

CR 0Dh

1

9

LF 0Ah

1

10

(Note 1) Add H (or h) at the end of each data expressed in hexadecimal notation. If there is no H or h at the end, the data is considered a decimal.
(Note 2) Data enclosed in single quotation marks indicates an ASCII code. Data is a hexadecimal ASCII code if (h) is added before the closing quotation mark, or a decimal ASCII code if (d) is

added before the closing quotation mark.

Advertising