Specifications
7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-71
Motion Conditions of ANDϠ:
API No.
16-bit
command
32-bit
command
Continuity
condition
Discontinuity
condition
232
ANDЈ DANDЈ
S1
Ј
S2 S1
Ћ
S2
233
ANDЇ DANDЇ
S1
Ї
S2 S1
Љ
S2
234
ANDІ DANDІ
S1
І
S2 S1
Њ
S2
236
ANDІЇ DANDІЇ
S1
Ћ
S2 S1
Ј
S2
237
ANDЉ DANDЉ
S1
Љ
S2 S1
Ї
S2
238
ANDЊ DANDЊ
S1
Њ
S2 S1
І
S2
Program Example
AND= K200 C10
A
ND<>
DAND<
K10 D0
D10K40000
M3
Y1
Y0
SET Y10
X1
X0
X2
Ϩʳ If X0=ON and that the current value of counter C10 equals K200,
Y0=ON.
Ϩʳ If X1=OFF and that the content of register D0 not equal to K –10, Y10
will be set as “ ON” .
Ϩʳ If X2=ON and that the contents of the 32-bit registers D11 and D10 are
equal to K40,000, Y1=ON.
D
240
ඏ
246
OR
Ϡ
S1 S2
The parallel connection contact
type comparison OR
Ϡ
Bit device Word device
Device
Operand
XYMS K H
KnX KnY
KnM
KnS
TCDE F
S1
ϨϨϨϨϨϨϨϨϨϨϨ
S2
ϨϨϨϨϨϨϨϨϨϨϨ
Ϡ: =, >, <, <>, Љ, Њ
Compare the contents of
S1
and of
S2
. Take ” OR=” as an
example, if the comparison result is “=” , the contact is in continuity, and
if it is “Ћ” , the contact is in discontinuity. The ORϠ command is the
comparison command that connects with the parallel connection
contact.
When the left most bit, MSB (the 16-bit command: b15, the 32-bit
command: b31), from
S1
and
S2
is 1, this comparison value will
be viewed as a negative value for comparison.
If the 32-bit length counter (C235~) is put into this command for
comparison, be sure to use the 32-bit command (DORϠ). Or if the
16-bit command (ORϠ) is utilized, CPU will determine it as “ Program
Error” , and the red “ ERROR” indicator on the MPU panel will be
blinking, and the CPU will not be running.
Motion Conditions of ORϠ:
API No.
16-bit
command
32-bit
command
Continuity
condition
Discontinuity
condition
240
ORЈ DORЈ
S1
Ј
S2 S1
Ћ
S2
241
ORЇ DORЇ
S1
Ї
S2 S1
Љ
S2
242
ORІ DORІ
S1
І
S2 S1
Њ
S2