Ld, Ldi; Anb - Mitsubishi Electric melsec-k Programming Manual

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

Advertisement

The connection for T7 in the figure becomes ORI, and it is
indicated as
2%
25 OR1 T7
With this operation, the inversion of the specified number
is taken and parallel connection operation is executed.
4-3-3. LD, LDI
...
Operation start
LD has the operation function to start operation
of
contact
a, and LDI has the function to start operation of contact b.
At the time to start operation for the circuit block, there is
no previous operation result,
so
that the input signal is
taken in by this instruction, and it becomes the operation
result. Accordingly, this instruction is always used first for
a circuit block.
In the figure, the bold line
of
X13 becomes this instruction,
and it is indicated by
In this circuit, as can be seen from the logic expression,
Y71
+
Y88 is enclosed in brackets, and to calculate the
equation, the contents of the brackets must be processed.
Their operation start is executed newly from Y71 with
operation of the bracket contents,
so
that an LD instruc-
tion is also used for Y71 as
Since the LDI instruction effects operation start from con-
tact b, the contact C7
of
the figure becomes this command,
and it is indicated as
30 LD X13
31 LDY71
45 LDI C7
4-3-4. ANB
...
Series connection operation between blocks
ANB has the function to operate a series connection bet-
ween blocks. In the case
of
the circuit shown in the figure,
AND must be executed between the two operation blocks
( X 1 - B
+
Y30)
=
A and ( - 1
+
m)
=
B. The instruc-
tion to execute this operation A
x
B becomes ANB, and it
corresponds to the bold-line connection parts in the figure.
This means that the ANB symbol is not a cootact symbol,
but
a
connection symbol.
-24-
L
I
Fig. 4-7. Symbols for LD and LDH
30
7
4
I
30
x
13
(
Y
71
+ Y
8 8
Fig. 4-8. LD operation
-
Y55
=
C7'X2
Fig. 4-9. LDI operation
[ = I
Fig. 4-9. Symbol for ANB
0
-
-
-
.
Y
30
=L
(X
1
X2$-Y
30 )
0
(
Y
31
+ Y
33 )
Fig.
4-1
1. ANB Operation

Advertisement

Table of Contents
loading

Table of Contents