Mitsubishi QD51 Programming Manual page 286

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
11 - 116
REMARK
• See Sections 7.2.1 and 7.3.3.
• Since there are a large number of Kanji characters, all the characters cannot be
assigned a character number in the 256 different character codes of one byte (8
bits). Therefore, for Kanji, 2 bytes (16 bits) of code is used for each character. This
allows 65536 types of codes ranging from 0000h through FFFFh. However, if 1-
byte and 2-byte codes are simply used, it cannot be determined when 2 bytes of
code are used to express a Kanji character. To remedy this, two types of Kanji
codes have been developed.
• JIS Kanji Code
A Kanji shift-in (KI) code is always placed in front of a code that expresses Kanji
character and a Kanji shift-out (KO) code is always placed in back of a code that
expresses a Kanji character. Since Kanji shift-in and shift-out codes are
predetermined, data can be identified whether or not it expresses Kanji characters
or not.
"@" = KI 30
26
KO
H
H
It's Kanji because it uses
KI and KO codes.
• Shift JIS Kanji Code
In Shift JIS Kanji code, there is a rule that states that one byte of character code
from 80h through 9Fh or E0h through FFh express the first byte of a Kanji code.
When this method is used, special codes (Kanji shift-in/shift-out) are not necessary
to express Kanji characters, but character codes 80h through 9Fh and E0h
through FFh cannot be used.
"@" =
88
AF
H
H
It's Kanji because it
uses 80
• The Shift JIS Kanji code (Kanji code used by the communication module) and JIS
code correspond as follows.
nn
00 3F 40
mm
00
80
2121
2321
(JIS)
9F
5D21
E0
5F21
7D21
EF
(JIS)
FF
to 9F
.
H
H
(Shift JIS)
7F
7E
80
9E
9F
215F
2160
217E
2221
235F
2360
237E
(JIS)
5D5F
5D60
5D7E
5E21
5E7E
5F5F
5F60
5F7E
6021
7D5F
7D60
7D7E
7E21
7E7E
(JIS)
MELSEC-Q
FC FF
mm indicates the upper
227E
bytes of the Shift JIS code.
nn indicates the lower
bytes of the Shift JIS code.
are unused areas.
607E
11 - 116

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents