36
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
ASCII code
Integer part
“0”–“9”
30 (HEX) to 39 (HEX)
Decimal part
“0”–“9”
30 (HEX) to 39 (HEX)
Decimal point
“.”
2E (HEX)
Sign
“+”
2B (HEX)
“-”
2D (HEX)
ンㄆㄇㄆㄓㄆㄏㄆ
• 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.
ME-LP-GS-SR-COMP-3
Summary of Contents for LP-GS Series
Page 11: ...1 Preparation of Command Control ME LP GS SR COMP 3...
Page 26: ...2 Communication Control Basics ME LP GS SR COMP 3...
Page 50: ...3 Data Format for Each Command ME LP GS SR COMP 3...
Page 136: ...136 MEMO ME LP GS SR COMP 3...
Page 137: ...Troubleshooting ME LP GS SR COMP 3...
Page 163: ...Character Code Table ME LP GS SR COMP 3...
Page 176: ...Index ME LP GS SR COMP 3...
Page 178: ...178 W Warning 154 ME LP GS SR COMP 3...
Page 179: ......
Page 180: ...Panasonic Industrial Devices SUNX Co Ltd 2014 2019 April 2019...