IAI America TTA User Manual
Page 17
-17/85-
4-3-3.
Version Code Query (201H)
Function: Query the version code of the software.
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
'201(h)'
3
6
Unit type
'XX(h)'
2
8
0 = Main CPU application / 1 = Main CPU core / 2
= Driver CPU /3 = Mounted SIO
Device number
'X(h)'
1
9
Number that specifies the device (0 ~)
SC 'XX(h)'
2
11
CR 0Dh
1
12
LF 0Ah
1
13
Normal response
Header '#'
1
1
Station 'XX(h)'
2
3
Message ID
'201(h)'
3
6
Unit type
'XX(h)'
2
8
0 = Main CPU application / 1 = Main CPU core / 2
= Driver CPU /3 = Mounted SIO
Device number
'X(h)'
1
9
Number that specifies the device (0 ~)
Model code
'XX(h)'
2
11
Unit code
'XX(h)'
2
13
Version number
'XXXX(h)'
4
17
Time 'XXXX(h)'
4
21
Year (4 digits, hexadecimal ASCII code)
Time 'XX(h)'
2
23
Month (1 to 12, hexadecimal ASCII code)
Time 'XX(h)'
2
25
Day (1 to 31, hexadecimal ASCII code)
Time 'XX(h)'
2
27
Hours (0 to 23, hexadecimal ASCII code)
Time 'XX(h)'
2
29
Minutes (0 to 59, hexadecimal ASCII code)
Time 'XX(h)'
2
31
Seconds (0 to 59, hexadecimal ASCII code)
SC 'XX(h)'
2
33
CR 0Dh
1
34
LF 0Ah
1
35
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.