Download CLC-10 Manual - Comtech EF Data
Transcript
CLC-10 Comtech LPOD Controller Handheld Terminal M&C Accessory
Serial-Based M&C using the CLC-10
3.4.4
Revision 3
MN-CLC10
Packet Structure
Start of Packet
<
ASCII code 60
Target Address
0-9
ASCII codes 48-57
Address Delimiter
/
ASCII code 47
Controller-to-Target
Instruction Code
A-Z, a-z
ASCII codes 65-90,
97-122
Code Qualifier
= or ?
ASCII codes
61 or 63
Optional Arguments
End of Packet
Carriage Return
ASCII code 13
(1 character)
(4 characters)
(1 character)
(3 characters)
(1 character)
(n characters)
(1 character)
Address Delimiter
/
ASCII code 47
Target-to-Controller
Instruction Code
A-Z, a-z
ASCII codes 65-90,
97-122
Code Qualifier
=, ?, !, or *
ASCII codes
61,63,33 or 42
Optional Arguments
(1 character)
(3 characters)
(1 character)
End of Packet
Carriage Return,
Line Feed
ASCII codes
13,10
(2 characters)
Example: <0412/MUT=1{CR}
Start of Packet
>
ASCII code 62
(1 character)
Target Address
0-9
ASCII codes 48-57
(4 characters)
(From 0 to n
characters)
Example: >0412/MUT=1{CR}{LF}
3.4.4.1
Start of Packet
Controller-to-Target: This is ‘less-than’ the character '<' (ASCII code 60).
Target-to-Controller: This is the ‘greater-than’ character '>' (ASCII code 62).
Because this is used to provide a reliable indication of the start of packet, these two characters may not appear anywhere else within the
body of the message.
3.4.4.2
Target Address
Up to 9,999 devices can be uniquely addressed. In EIA-232 applications, this value is set to 0. In EIA-485 applications, the permissible
range of values is 1 to 9999.
3–7