Mitsubishi QD51 Programming Manual page 304

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Program Example
10 ' Displays the character string at the specified location on the screen
11 CLS
12 Y=1
20 A$="AD51H-BASIC"
30 FOR X=1 TO 10
40 Y=Y+1
50 LOCATE X,Y
60 PRINT A$
80 NEXT X
90 END
AD51H-BASIC
AD51H-BASIC
AD51H-BASIC
AD51H-BASIC
AD51H-BASIC
AD51H-BASIC
AD51H-BASIC
AD51H-BASIC
AD51H-BASIC
AD51H-BASIC
OK
11 - 134
REMARK
See the TAB instruction and Section 3.10.2.
:
' Clears the screen
:
' Defines the character string
:
' Specifies display location
:
' Displays the character string
MELSEC-Q
11 - 134

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents