Mitsubishi QD51 Programming Manual page 596

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Processing Code 96
11 - 426
Specifying Kanji code conversion
Control table format definition
Element position
Item
%(0)
Processing code
%(1)
Conversion
specification
• 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.
Conversion
Shift JIS Kanji code
• 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.
Description
Specify the processing code.
Specify whether to enable or disable the Kanji
code conversion.
JIS Kanji code
KI 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
, 24
, 40
H
H
KO
"ESC (H" (1B
, 28
, 48
H
H
MELSEC-Q
KO code
)
H
)
H
11 - 426

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents