IAI America TTA User Manual
Page 29
-29/85-
4-3-13. Program Status Query (213H)
Function: Query the program status.
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
'213(h)'
3
6
Program number
'XX(h)'
2
8
SC 'XX(h)'
2
10
CR 0Dh
1
11
LF 0Ah
1
12
Normal response
Header '#'
1
1
Station 'XX(h)'
2
3
Message ID
'213(h)'
3
6
Program number
'XX(h)'
2
8
Status 'X(h)'
1
9
Bit 1 to 3 (Reserved for system use)
Bit 0 (Start): 0 = Not started / 1 = Started
Executing program
step number
'XXXX(h)' 4 13
Invalid if 0
Program-dependent
error code
'XXX(h)' 3 16
Error occurrence
step number
'XXXX(h)' 4 20
SC 'XX(h)'
2
22
CR 0Dh
1
23
LF 0Ah
1
24
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.