Character Input Method - 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

2-3-4 Character input method

⿎ Input data
Use the ASCII code to input numeric data.
The content and the number of digits (data length) of numeric values vary for each command.
Data type
Input data
Integer part
"0"–"9"
Decimal part
"0"–"9"
Decimal point
"."
Sign
"+"
"-"
• For details on the ASCII code, refer to "Character Code Table" (P.163).
• You cannot shorten the numeric data length. It is not allowed to omit "+" and "0" in upper digit.
• For numeric data including a decimal point, the number of digits of the integer part and the decimal part must correspond
to the value defined as the specified data length.
Example of variable-length numeric data input
• To input "+010.000" (8-byte data length), use ASCII code as follows *:
2B 30 31 30 2E 30 30 30
• To input "0158" (4-byte data length), use ASCII code as follows *:
30 31 35 38
* Spaces in the example above are not included in the input data.
36
ASCII code
30 (HEX) to 39 (HEX)
30 (HEX) to 39 (HEX)
2E (HEX)
2B (HEX)
2D (HEX)
ME-LP-GS-SR-COMP-3

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents