Response Data - Panasonic LP-GS Series Serial Communication Command Manual

Laser marker lp-400/v compatible mode
Hide thumbs Also See for LP-GS Series:
Table of Contents

Advertisement

Example of Request Data
• To change file number
Start code
Command
STX
"FNO"
02
46 4E 4F

2-3-3 Response data

The laser marker transmits response data in the following format for the command transmitted from the external device.
⿎ Data format of positive response
Response data transmitted when the setting request data (sub command "S") was received normally.
The positive response will be transmitted when the laser marker processing has been completed for some of the command
types.
The start code is [ACK]: 06 (HEX).
The response code is always "00".
Start code
Response code
[ACK]
"00"
1-byte
2-byte
⿎ Data format of read request response
Response data to transmit the readout content for the readout request data (sub command "R").
The start code is [STX]: 02 (HEX).
The sub command is "A".
Start code
Command
[STX]
1-byte
3-byte
Content of variable-length data/fixed-length data part
The response content varies depending on the command.
Numeric values or character strings are indicated with ASCII code for the response.
For the characters which cannot be indicated with ASCII code, they are indicated with Shift JIS code.
There is no separating character among the each terms.
Example of positive response
Start code
Response code
ACK
"00"
06
30 30
Example of readout response data
• Readout response data to the file number readout request (FNO command)
Start code
Command
STX
"FNO"
02
46 4E 4F
Sub command
"S"
53
Check sum
2-byte
or N/A
Sub command
Variable-length data or fixed-length
"A"
1-byte
The maximum data length is defined
Check sum
36 36
Data example:
Sub command
"A"
41
32 30 34 37
ME-LP-GS-SR-COMP-3
Data example:
File No.
"2047"
32 30 34 37
End code
1-byte
or 2-byte
data
per command
End code
CR
0D (HEX)
File No.
Check sum
"2047"
46 33
Check
End code
sum
CR
30 35
0D (HEX)
Check sum
End code
2-byte
1-byte
or N/A
or 2-byte
End code
CR
0D (HEX)
33

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents