Connection Check - Panasonic LP-M Series Serial Communication Manual

Laser marker
Hide thumbs Also See for LP-M Series:
Table of Contents

Advertisement

2-3 Connection Check

Check the connection between laser marker and external control device if they are correctly connected.
1. Turn ON the power of the external control device
2. Turn ON the key switch of laser marker.
3. Coordinate the communication conditions between laser marker and external control device
Refer to "1-2-2 Communication condition setting" (P.14).
4. Set the laser marker to the remote mode
Refer to "1-2-3 Shift to remote mode" (P.15).
5. Change the file number of the laser marker (transmit the FNO command)
Start code
Command
STX
"FNO"
02
46 4E 4F
The transmission data above is just a sample. Check sum ON/OFF and delimiter content vary depending on the
communication environment settings.
*1 : For the command above, calculate the check sum value as follows:
Convert the data from the start code to those before the check sum into the hexadecimal values according to the
ASCII code table and add them all together. Check sum is the value calculated by converting the lower two digits of
the total value into two characters in the ASCII code.
• 02(HEX) + 46(HEX) + 4E(HEX) + 4F(HEX) + 53(HEX) + 32(HEX) + 30(HEX) + 34(HEX) + 37(HEX) = 205(HEX)
• 30 35 (HEX) is the value converted the lower two digits character (lower one-byte) 05 (HEX) into two characters
in the ASCII code
6. Check the response from the laser marker
When the connection and communication condition settings are appropriate, the laser marker returns response data.
Example of response data for normal communication
Start code
ACK
06
Example of response data for abnormal communication
Start code
NAK
15
Reference
• To use Ethernet, the delimiter is [CR] fixed. To use RS-232C, select either [CR] or [CR] [LF].
• Check sum cannot be added with Ethernet communication.
Sub command
"S"
53
"00"
Check sum
30 30
36 36
"06"
Check sum
30 36
37 42
Data:
File No.
Check sum*1
"2047"
32 30 34 37
Delimiter
0D (HEX)
Delimiter
0D (HEX)
ME-LPMSZ-SR-9
Delimiter
CR
30 35
0D (HEX)
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents