Mitsubishi QD51 Programming Manual page 279

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Program Example
10 ' Searches full-byte characters "@@@" from the character string
20 A$="@@@@@@@@@@"
30 A=KINSTR(2,A$,"@@@")
40 PRINT "Character string-->";A$
50 PRINT "@@@@";A;"@@@"
60 END
RUN
@@@-->@@@@@@@@@@
@@@@ 5 @@@
OK
11 - 109
REMARK
See the INSTR, KLEN and LEN functions.
:
' Defines character string
:
' Searches @@@ from the character string
MELSEC-Q
11 - 109

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents