Mitsubishi QD51 Programming Manual page 49

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

Advertisement

3 LET'S CREATE AND EXECUTE A PROGRAM
Press the
to move the
cursor to line 20.
1
Press the cursor
keys to move the
cursor to "A" on
line 30.
1
Press the cursor
keys to move the
cursor to "A" on
line 30.
1
3 - 8
(3) Examples of editing using the screen editor.
1)
Overwriting • • • • • • • • • • • • •Change line 20 to B=7.
LIST
key
10 A=2
2 0
B = 3
2
30 C=A+B
40 PRINT C
50 END
OK
3
2)
Adding (inserting) • • • • • • • • Change line 30 to C=100+A+B
LIST
10 A=2
2
20 B=7
3 0
C = A + B
40 PRINT C
50 END
OK
3
3)
Deleting • • • • • • • • • • • • • • • Change line 30 to C=A.
LIST
10 A=2
20 B=7
3 0
C =
1 0 0 +
A + B
40 PRINT C
50 END
OK
LIST
Press the
key
10 A=2
to move the
20 B=7
cursor to "3."
0 C=A+B
40 PRINT C
50 END
Press the 7 key and
OK
then the Enter key.
This completes the
editing.
LIST
Press the Insert key
four times to make
10 A=2
enough space to
20 B=7
add "100+."
30 C=100+A+B
0 PRINT C
50 END
Press 1 0 0 + and
OK
then the Enter key.
This completes
the editing.
Press the Delete
LIST
Back
key or
key
Space
10 A=2
four times to
20 B=7
erase "100+."
30 C=
40 PRINT C
2
50 END
OK
LIST
10 A=2
20 B=7
30 C=A
0 PRINT C
50 END
OK
MELSEC-Q
Move the
cursor to "+"
3
on line 30.
+B
Press Ctrl + E keys
to delete "+B" and
4
then the Enter key.
This completes
the editing.
3 - 8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents