Character Entry (By Ascii And Shift-Jis Code): Str - 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 command settings
Condition:
String No. = 51, Marking character = abcd
• Setting
Transmission data
• Readout
Transmission data
Response data

3-5-2 Character entry (by ASCII and Shift-JIS code): STR

Sets the characters of the character objects (reference list type). Characters including alpha-numeric, functional characters
and Japanese characters are available.
⿎ Setting request data / response data for readout
Start
STR
code
Sub command is "S" for the setting request data and "A" for the response data for readout.
⿎ Readout request data
Start
STR
code
⿎ Data description
Data length
Name
String No.
Marking character
Max. 60
Total data length
Max. 62
70
[STX]
[STX]
[STX]
Sub
[String No.] [Marking character]
command
[String No.]
R
2-byte
Data contents
[byte]
"01"–"50": string No. 1 to 50 (for current
file)
2
"51"–"60": string No. 101 to 110 (for all
files)
Min. 0
Input Method: ASCII code or Shift JIS
code (can be mixed)
Variable length.
MCS
S
51abcd
MCS
R
51
[CR]
MCS
A
51abcd
Max. 62-byte
(Check
End code
sum)
ME-LP-GS-SR-COMP-3
[CR]
[CR]
(Check
End code
sum)
Remarks
• Select the string No. of the reference
list to set characters.
• You can use the strings No. 101 to
110 commonly to all files.
• Use the ASCII code to specify
functional characters.
• Use the Shift JIS code to specify
two-byte characters (double byte
characters).
• For the characters that can be
specified in ASCII code, you can use
both ASCII code and Shift-JIS code.
• Specify 0-byte for data length to
delete characters.
• For response data for readout, all
characters except the functional
characters are readout in 2-byte
characters (Shift-JIS code) regardless
the settings.

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents