![Iradion Infinity Series Скачать руководство пользователя страница 10](http://html1.mh-extra.com/html/iradion/infinity-series/infinity-series_operators-manual_2090063010.webp)
9
5.
LC Command Packets Listing
4.1
This section describes the packet protocol for transmitting and receiving data
via the RS232 com line to the Iradion Laser Controller Card.
4.2
Note: The Iradion Controller Card is programmed to reply only when queried
and does not automatically transmit strings.
6.
Serial Data Format
6.1.
The serial data format is RS232 - 19.2K baud, 8 data bits, no parity and 1 stop bit.
7.
Command Packet Format:
7.1.
The command packet is made up of ascii text characters as described below.
Start
Cmd
Length
Data
Data End Check
End
8.
Packet Characters:
Start
$ character.
Cmd
2 characters, ascii hex format 00
–
FF. Length *
2 characters, ascii hex
format 00
– FF.
Data
0 to n characters, ascii hex format
000000…N –
FFFFFF...N Data End & character.
Check
2 characters, ascii hex format 00
– FF.
End
2 characters, carriage return and line feed.
Length - Number of characters in the packet includes Start to End
characters. A Cmd packet with no data field has a length of ten.
9.
Check Character Calculation
9.1.
The check characters are calculated by adding the Start, Cmd, Length, Data
and Data End ascii characters then representing the byte value as two ascii
characters.
10.
Command Response:
10.1.
After a valid command is processed a response packet is sent.