Mitsubishi QD51 Programming Manual page 287

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
KNJ$
Function
• Returns the full-byte character of the specified Kanji code.
KNJ$ ( <character string expression> )
Syntax
character string expression
A$=KNJ$("3441")
Examples
• The KNJ$ function handles the <character string expression> as a Kanji code and returns
Description
one corresponding full-byte character.
• An "Illegal function call" error will be generated when the content of <character string
expression> does not correspond to an existing Kanji code.
Program Example
10 ' Converts Kanji code to full-byte character (Kanji)
20 A$=KNJ$("3441")
30 PRINT A$
40 END
RUN
@
OK
11 - 117
KaNJi $
• • • •
• • • •
REMARK
• The JIS$ function is used to convert a Kanji code to a full-byte character.
• See the JIS$ function and Section 3.13.3.
Specify a Kanji code.
Assigns the Kanji code 3441
:
'Converts Kanji code 3441 to the
corresponding full-byte character (Kanji)
:
' Displays full-byte character (Kanji)
MELSEC-Q
(
@) to A$.
H
11 - 117

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents