Character Input Method - Panasonic LP-GS Series Serial Communication Command Manual

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

Advertisement

2-3-5 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.
The data length of variable-length numeric data can be shortened according to the value specified.
Data type
Input data
Integer part
"0"–"9"
Decimal part
"0"–"9"
Decimal point
"."
Sign
"+"
"-"
Reference
• For details on the ASCII code, refer to "Character Code Table" (P.181).
• You cannot include more than one decimal point in one numeric data item.
• 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 maximum data length.
Example of variable-length numeric data input
• To input "+010.000" (the maximum data length is 8-byte)
"+010.000", "010.000", "10.000", "+10.0", "10.0", "+10", "10.", "10"
• To input "-000.010" (the maximum data length is 8-byte)
"-000.010", "-0.01", "-.01"
ASCII code
30 (HEX) to 39 (HEX)
30 (HEX) to 39 (HEX)
2E (HEX)
2B (HEX)
2D (HEX)
ME-LPGS-SR-5
Remarks
If the integer part is 0, this can be omitted
For the integer, this can be omitted
For the integer, this can be omitted
For the plus "+" sign , this can be omitted
37

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents