86
3-6-7 Registered character strings: RKS
Sets the character string used with the “Registered characters” function that switches characters by I/O input.
⿎
Setting request data / response data for readout
Start
code
RKS
Sub
command
[Data number] [Registered characters]
Max. 21-byte
(Check
sum)
End
code
Sub command is “S” for the setting request data and “A” for the response data for readout.
⿎
Readout request data
Start
code
RKS
R
[Data number]
3-byte
(Check
sum)
End
code
⿎
Data description
Name
Data length
[byte]
Data contents
Remarks
Data number
3
I/O input format
Setting range
4-bit x 4 D0 to 3
“000”–“015”
D4 to 7
“016”–“031”
D8 to 11
“032”–“047”
D12 to 15
“048”–“063”
8-bit x 2 D0 to 7
“000”–“255”
D8 to 15
“256”–“511”
Data number which sets characters. The
setting range varies depending on the I/O
input format.
Registered
characters
Min. 0
Max. 18
The number of input characters
allowed: Max. 9 characters
Input Method: ASCII code or Shift JIS
code (can be mixed)
• Use the ASCII code to specify one-byte
characters (single byte characters).
• Use the Shift JIS code to specify two-byte
characters (double byte characters).
• Specify 0-byte for data length to delete
characters.
Total data length
Max. 21
Variable length.
ンㄆㄇㄆㄓㄆㄏㄆ
• Refer to “2-3-5 Character data input method” (P.37) for details on the character input method and character types with
input restrictions.
⿎
Example of command settings
Condition:
Data number = 4, Registered characters = abcd
• Setting
Transmission data
[STX]
RKS
S
004abcd
[CR]
• Readout
Transmission data
[STX]
RKS
R
004
[CR]
Response data
[STX]
RKS
A
004abcd
[CR]
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...