11 - 426 11 - 426
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Specifying Kanji code conversion
Control table format definition
Element position
Item
Description
%(0)
Processing code
Specify the processing code.
Processing Code 96
%(1)
Conversion
specification
Specify whether to enable or disable the Kanji
code conversion.
• This processing code is used to specify how the Kanji code is treated in an open
communication channel. The communication module employs Shift JIS Kanji
code as the Kanji code. If the Kanji code used by an external device connected
to the communication module is not Shift JIS Kanji code, but JIS Kanji code, the
correct Kanji cannot be obtained. In this case it is necessary to convert the
codes from Shift JIS to JIS and vice versa to obtain the correct Kanji.
The Kanji code conversion is not performed during communication with an external device
that uses the ZSEND and ZRECEIVE instructions.
Shift JIS Kanji code
KI code
JIS Kanji code
KO code
The KI (Kanji shift in) and KO (Kanji shift out) codes varies depending on
the external device used. They are specified using Processing Code 100 ,
specifying the Kanji shift in/out codes of the communication channel.
See the description of Processing Code 100 for details.
The following codes are set as default when starting up BASIC.
KI "ESC $@" (1B
H
, 24
H
, 40
H
)
KO "ESC (H" (1B
H
, 28
H
, 48
H
)
Conversion
• The Kanji codes output from the communication module are converted only when
the code conversion is enabled (KMODE 1) by the KMODE instruction.
• See the description of the KMODE instruction for the differences between Shift JIS Kanji
code and JIS Kanji code.
• Specify 96 for the processing code.
• Enable/disable code conversion by setting %(1) to either of the following
values.
0 • • • Do not perform code conversion.
1 • • • Perform code conversion.
REMARK
See the ZCNTL instruction and processing code 100.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...