176
Readout Response Data Format
Description of Each Command
Name Description
Start Code Fixed with “STX” (code: 02
(HEX)). This is the code for identifying the head of the data and
recognizing the data is normal receiving response data.
Command Specifies readout with 3 characters.
Subcommand Fixed with ‘A’. Expresses “Answer” for the readout specification.
Data Data that has been readout. The data length and the format are differed for each
command. (“4-2-10 Communication Command and Function” (P.180))
Check Sum Data that the lowest 1 byte is expressed with 2 characters of ASCII code by adding the
codes from start code until data in binary
E.g.: Command•••‘ABC’, Subcommand••• ‘A’, Data••• ‘000’
02
(HEX)+41(HEX)+42(HEX)+43(HEX)+41(HEX)+30(HEX)+30(HEX)+30(HEX)=199(HEX)
When converting the lowest 1 byte AB
(HEX)
of the 199
(HEX)
into 2 characters, it becomes
“39
(HEX)
+39
(HEX)
”
.
The valid/invalid of the checksum is available to be set in the environmental setting related
to the laser marker of the LP-310 setting software.
Delimiter Code for recognizing the end of the data
CR+LF ••• 0D
(HEX) and 0A(HEX)
CR ••••••• 0D(HEX)
Start Code
1 Character
Command
3 characters
Subcommand
1 character
Data
Variable length
Check sum
2 characters
Delimiter
2 char./1 char.
Top ← →End