Communication Data Format - Panasonic LP-310 Operation Manual

Co2 laser marker, lp-300 series
Table of Contents

Advertisement

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
Start Code
1 Character
Top ←
Description of Each Code
Name
Start Code
Code for recognizing the head of the data. Fixed with STX (code: 02
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ʼ
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
CR ••••••• 0D
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
CHECK
data).
Command
Subcommand
3 characters
1 character
02
+41
+42
(HEX)
(HEX)
(HEX)
When converting the lowest 1 byte AB
becomes "41
+42
(HEX)
(HEX)
and 0A
(HEX)
(HEX)
(HEX)
Data
Variable length
Description
+43
+53
+30
(HEX)
(HEX)
(HEX)
of the 1AB
(HEX)
".
Check sum
Delimiter
2 characters
2 char./1 char.
)
(HEX)
+30
+30
=1AB
(HEX)
(HEX)
(HEX)
into 2 characters, it
(HEX)
 → End
173

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Lp-310-bLp-310-aLp-310-c

Table of Contents