Mitsubishi QD51 Programming Manual page 50

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

Advertisement

3 LET'S CREATE AND EXECUTE A PROGRAM
Move the
cursor to
line 10.
1
3 - 9
4)
Changing a line number • • • • Caution is needed when changing line
numbers. Line 10 should be changed to line 15.
LIST
10 A=10 5
20 PRINT A
OK
The screen display looks OK, but when confirmed using the
"LIST" instruction, it is seen that line 10 still exists.
LIST
15 A=10 5
20 PRINT A
OK
LIST
10 A=10 5
15 A=10 5
20 PRINT A
OK
10
LIST
15 A=10
5
20 PRINT A
OK
Even if the line number is changed, the original line will still be there. This method can
be used to make copies of lines with the same contents repeatedly.
The program will not be changed until the Enter key is pressed.
Try various ways of screen editing.
There are many other keys that are handy for editing.
For details, see Appendix 4.2.
LIST
15 A=10 5
0 PRINT A
OK
This is because it is not specified to erase line 10.
Pressing
will erase line 10.
This completes the editing.
3
(See (1) in Section 3.2.3.)
When the "LIST" instruction is used again to confirm the change,
it is seen that the modification is made correctly this time.
MELSEC-Q
Press
1 0
and then
the
key.
Enter
2
1
0
Enter
3 - 9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents