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