Mitsubishi QD51 Programming Manual page 173

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
AKCNV$
Function
• Converts half-byte characters to full-byte characters.
AKCNV$ ( <character string expression> )
Syntax
character string expression
A$=AKCNV$(A$)
Examples
• The AKCNV$ function converts half-byte characters in <character string expression> to
Description
full-byte characters. The full-byte characters in <character string expression> are
unchanged.
Program Example
10 'Converts half-byte characters to full-byte characters
20 A$="AD51HMitsubishiPLC"
30 B$=AKCNV$(A$)
40 PRINT "Before conversion -->";A$
50 PRINT "After conversion -->";B$
60 END
RUN
Before conversion -->AD51HMitsubishiPLC
After conversion -->AD51HMitsubishiPLC
OK
11 - 3
Ank Kanji CoNVert $
• • • •
• • • •
ABC @ @ @ @ @ @ @
A$
REMARK
See the KACNV$ function.
Specify the character string to be converted.
Converts half-byte characters in A$ to full-byte
characters and assigns them to B$.
@
@
@ @ @ @ @
A B C
B$
:
' Defines the character string
:
' Converts to full-byte characters
MELSEC-Q
11 - 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents