Mitsubishi Electric melsec-k Programming Manual page 44

Hide thumbs Also See for melsec-k:
Table of Contents

Advertisement

(2) Up to 8 consecutive blocks can be produced starting with LD or LDI, the connection between
these blocks is executed by ANB or ORB, and it will become 7 consecutive blocks.
At this time, the operations between the
blocks proceed in reverse order from the new
operation results (8) to the old operation
results (1) as 8 to 7
...
(
8 to 2
)
and 1
.
Such program operations are not mistakes,
but in order to facilitate programming and
checking, it is recommended to always con-
nect two blocks starting with LD by ANB or
ORB..
I 3 - J
A N D
for
ANB
8 and 7
OR for ORB 8 x
7
or 6
[61 A N D
for
ANB(
8 to 3
)
and 2
[a
OR for ORB
(
8 to 2
)
and
1
OUT
'Y69
Operations between blocks
5-1-3. Program
(1) The program is drawn up for each of the contact symbols and coil symbols.
The step number of the finished program is at least equal to the number of symbols or larger
than this number.
(2) With the horizontally written relay symbol diagram, the program sequence for each block is
from left to right and from the top to the bottom.
Return from the right to the left is possible with block operations.
I
-
Fig.
5-2.
Program sequence
(3) The program is always executed in the sequence of the program numbers, and no numbers are
(4)
The END instruction must be given at the end of the program.
jumped.
By this, the operation time for one program round can be reduced.
Please note that the CPU does not operate normally if the END instruction is omitted.
-40-

Advertisement

Table of Contents
loading

Table of Contents