69
3-5-2 Response data
Response data is data which is returned from the laser marker for the command sent by an external device and consists of
the following three types.
1. Response data for normal receiving
The data starts with the start code “ACK”. It returns when the command transmitted is normal or the command
processing has been completed normally.
2. Response data for abnormal receiving
The data starts with the start code “NAK”. It returns when the command transmitted is abnormal or the command
processing has been completed abnormally.
3. Readout data
The data starts with the start code “STX”. It returns when the command transmitted is normal and the sub
command is specified to “R”.
⿎
Response data format for normal receiving
Start code
Single character
Response code
Two characters
Check sum
Two characters
Delimiter
Two characters/
single character
Head
End
Code
Description
Start code
ACK (code: 06(HEX)) fixed. A start code is a code to identify the data head and to indicate
that the data is a response data for normal receiving.
Response code
Two characters “00” is returned if the start code is ACK.
Check sum *1
Check sum indicates the lower 1-byte of adding result of value (binary) from the start code
to the response code by converting it to two characters by ASCII code.
Ex. 06(HEX)+30(HEX)+30(HEX)=66(HEX)
66(HEX) is converted to 36(HEX)+36(HEX), to two characters by ASCII code.
ON/OFF of check sum can be selected on the environment setting of laser marker.
Refer to the Operation/Maintenance Manual for the details.
Delimiter *2
Delimiter is a code to identify the end of data.
CR+LF (0D(HEX) 0A(HEX)) or CR(0D(HEX)).
Selects CR+LF or CR on the console. Refer to the Operation/Maintenance Manual for the
details.
*1 : A check sum can be added in case of RS-232C.
*2 :
You can select [CR] or [CR+LF] for a delimiter in case of RS-232C. [CR] is fixed in case of Ethernet.
ME-LP400V-EX-6
Summary of Contents for LP-400 Series
Page 12: ...1 Before External Control ME LP400V EX 6...
Page 24: ...2 Control by I O ME LP400V EX 6...
Page 56: ...3 Control by Serial Communication RS 232 Ethernet ME LP400V EX 6...
Page 141: ...Troubleshooting ME LP400V EX 6...
Page 158: ...Character Code Table ME LP400V EX 6...
Page 176: ...Index ME LP400V EX 6...
Page 179: ...No 9000 0062 17V...
Page 180: ...Panasonic Industrial Devices SUNX Co Ltd 2003 2018 July 2018 9000 0062 17V...