Mitsubishi QD51 Programming Manual page 217

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Program Example
10 ' Sets the calendar and reads out
30 A$="1991/04/01/MON"
40 DATE$=A$
60 B$=SPACE$(14)
70 B$=DATE$
80 PRINT "Contents of the calendar-->";B$
90 END
RUN
Contents of the calendar-->1991/04/01/MON
OK
11 - 47
:
' Sets the year, month, and day
:
' Writes the year, month, and day
:
' Stores dummy
:
' Reads year, month, and day
:
' Checks the contents after writing
MELSEC-Q
11 - 47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents