Kmode ( Performs Conversion Settings Of Kanji Code ) - Mitsubishi QD51 Programming Manual

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
KMODE
Instruction
• Performs conversion settings of Kanji code.
KMODE <conversion designation>
Syntax
<conversion designation>
KMODE 1
Examples
• The KMODE instruction specifies how the character codes for full-byte characters (Kanji
Description
characters) are handled during communication with external devices.
The communication module uses the Shift-JIS Kanji code as the Kanji code. If the Kanji
code used by the external devices connected to the communication module is JIS Kanji
code instead of Shift JIS Kanji Code, the correct Kanji codes cannot be obtained. The
communication channel is used to perform Shift JIS
Kanji correctly.
Kanji code conversions will not be performed on external devices that use the
ZSEND/ZRECEIVE instructions.
• The following values are specified in <conversion settings>:
When Kanji code conversion is performed
When Kanji code conversion is not performed
11 - 114
Kanji MODE
• • • •
• • • •
Conversion
Shift JIS Kanji code
Specify enabling/disabling of Kanji code conversions
Performs Kanji code conversion using an interface
where Kanji conversion is allowed using the ZCNTL
instruction.
JIS code conversions to obtain the
KI code
JIS Kanji code
The KI (Kanji shift-in) and KO (Kanji shift-out) codes
differ between the external devices used. Therefore,
they are specified in the Kanji Shift-in, Shift-out code
settings ( process code 100 ) in the communication
channel of the ZCNTL instruction.
The following codes are set during BASIC startup.
KI
"ESC$@" (1B
, 24
H
KO
"ESC(H" (1B
, 28
H
• • • •
1
• • • •
0
MELSEC-Q
KO code
, 40
)
H
H
, 48
)
H
H
11 - 114

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents