EasyManua.ls Logo

Panasonic LP-310 - Communication Data Formats; Command Data Format

Panasonic LP-310
216 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
173
4-2-8
Communication Data Format
In case of controlling the laser marker from the external device, basically the characters to be used for the
communication use the ASCII code, and part of the characters are shift JIS code.
The character enclosed with the quotation “(ʼ)” expresses the ASCII code.
In case of using the shift JIS code, refer to explanation for details and follow it.
Command Data
The command refers to the command to be sent to the laser marker from the external device. With the command
data,
it is possible to create command data using the specified format, to operate the laser marker by remote
control, and to perform the specified marking procedures.
Command Data Format
Description of Each Code
Name Description
Start Code Code for recognizing the head of the data. Fixed with STX (code: 02
(HEX))
Command Specifies command with 3 characters. (“4-2-10 Communication Command and Function”
(P.180))
Subcommand Specification of the “Set/Read” to be added to the command subsidiary.
Specify operation with either character below:
‘Sʼ ••• Setting or operation of data (Set)
‘Rʼ ••• Reading of setting data (Read)
(Note) There are some commands that disables to be specified with either ‘S’ or ‘Rʼ.
Data Data to be specified for each command.
The content of the specification is differed depending on the 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•••‘Sʼ, Data•••‘000ʼ
02
(HEX)+41(HEX)+42(HEX)+43(HEX)+53(HEX)+30(HEX)+30(HEX)+30(HEX)=1AB(HEX)
When converting the lowest 1 byte AB(HEX) of the 1AB(HEX) into 2 characters, it
becomes “41
(HEX)+42(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)
The laser marker deals the data from the start code (STX) to the delimiter (CR or CR+LF) as
the command data. In case of existing the unnecessary data before start code or after
delimiter, that character is ignored (it just is ignored, not sent back the abnormal response
data).
Start Code
1 Character
Command
3 characters
Subcommand
1 character
Data
Variable length
Check sum
2 characters
Delimiter
2 char./1 char.
Top   End
CHECK

Table of Contents

Related product manuals