Command For Graphic Data Settings; Graphic File (Vec Format File) : Cdf - Panasonic LP-GS Series Serial Communication Command Manual

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

Advertisement

3-8 Command for graphic data settings

3-8-1 Graphic file (VEC format file) : CDF

Sets the graphic file (VEC format) used for the graphic object.
⿎ Setting request data / response data for readout
Start
CDF
code
command
Sub command is "S" for the setting request data and the initial setting "A" for the response data for readout.
⿎ Readout request data
Start
CDF
code
⿎ Data description
Data length
Name
[byte]
Object No.
Max. 4*
Graphic file name
Max. 254
Total data length
Max. 259
* Setting request data are variable length.
Reference
• Files configurable with this command are the graphic files (VEC format) saved in the laser marker.
• If the object type set in the specified object number is not the graphic (VEC), the laser marker returns the negative
response.
• This command cannot be used for other than VEC format graphic file, such as DXF, BMP, JPEG or HPGL etc.
• Refer to "2-3-6 Character data input method" (P.38) for details on the character input method and character types with
input restrictions.
• Graphic file names are not case-sensitive.
• If the file name contains both one-byte characters (in ASCII code) and two-byte characters (in Shift JIS or GB 2312
code), specify them exactly as they are by using two types of the character code.
• If the file name contains any characters which belong to the non-supported character code, the file cannot be selected
by the command.
• Use the object creation (CRE) command if you want to create new graphic objects.
⿎ Example of command settings
Condition:
Object No. = 1, Graphic file name = Abcd.VEC
• Setting
Transmission data
• Readout
Transmission data
Response data
Sub
[Object No.], [Graphic file name]
Max. 259-byte
[Object No.]
R
Max. 4-byte
Data contents
"0000"–"1999"
The number of input characters
allowed: 5 to 127 characters (including
the extension ".VEC")
It is the length including the separator ",".
[STX]
CDF
[STX]
CDF
[STX]
CDF
(Check
End code
sum)
Specify a file name including the file
extension ".VEC".
S
1,Abcd.VEC
R
1
[CR]
A
0001,Abcd.VEC
ME-LPGS-SR-5
(Check
End code
sum)
Remarks
[CR]
[CR]
113

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents