IAI America TTA User Manual

Page 26

Advertising
background image

-26/85-


4-3-11. String Variable Query (210H)

Function: Query string variables for the number of query data from the query start variable number.

Data name

Data range (value)

Data size

[bytes]

Cumulative

bytes [bytes]

Endian Sign

extension

Unit

Description Remarks

Big Little Yes No

Command

Header '!'

1

1

Station 'XX(h)'

2

3

Message ID

'210(h)'

3

6

Program number

'XX(h)'

2

8

‘00(h)’ in the case of global variable specification

Query start variable
number

'XXX(h)' 3 11

Number of query
variable data

'XX(h)' 2 13

The number of data will be limited based on the
send/receive buffers.

SC 'XX(h)'

2

15

CR 0Dh

1

16

LF 0Ah

1

17

Normal response

Header '#'

1

1

Station 'XX(h)'

2

3

Message ID

'210(h)'

3

6

Program number

'XX(h)'

2

8

‘00(h)’ in the case of global variable specification

Response start
variable number

'XXX(h)' 3 11

Number of response
variable data

'XX(h)' 2 13

The number of data will be limited based on the
send/receive buffers.

String variable data
(*1)

'XX(h)' 2 15

Char-type data (hexadecimal ASCII code)

Remaining string
variable data

Data indicated by *1

for the number of

remaining data

MAX

508

MAX

523

Remaining string variable data = Data indicated
by *1 x Number of remaining data = 2 bytes x
(Max FFh – 1) = 508 bytes

SC 'XX(h)'

2

MAX

525

CR 0Dh

1

MAX

526

LF 0Ah

1

MAX

527

Error

respon

se

Error response
format

Refer to the error

response format.

10 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