Specifications

7. Application Instructions
© DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
7-70
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 (DLDϠ). If the 16-bit
command (LDϠ) 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 berunning.
Motion Conditions of LDϠ:
API No.
16-bit
command
32-bit command
Continuity
condition
Discontinuity
condition
224
LDЈ DLDЈ
S1
Ј
S2 S1
Ћ
S2
225
LDЇ DLDЇ
S1
Ї
S2 S1
Љ
S2
226
LDІ DLDІ
S1
І
S2 S1
Њ
S2
228
LDІЇ DLDІЇ
S1
Ћ
S2 S1
Ј
S2
229
LDЉ DLDЉ
S1
Љ
S2 S1
Ї
S2
230
LDЊ DLDЊ
S1
Њ
S2 S1
І
S2
Program Example
LD = K100 T10
LD<=
DLD >
D200 K-100
C235K100000
X3
M50
X2
Y0
SET Y1
Ϩʳ If the content of counter T10 is equal to K100, Y0=ON.
Ϩʳ When the content of D200 is smaller or equal to K –100, and that
X2=ON, Y1 will be set as “ ON” .
Ϩʳ If the content of C235 is smaller than K100, 000, or when X3=ON,
M50=ON.
D
232
238
AND
Ϡ
S1 S2
The series connection contact
type comparison AND
Ϡ
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
, To take ” AND= as an
example, if the comparison result is “= , the contact is in continuity, and
if it is “Ћ , the contact is in discontinuity. The ANDϠ command is the
comparison command that connects with the series 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 (DANDϠ). Or if the
16-bit command (ANDϠ) 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 berunning.