EasyManua.ls Logo

Inovance H3U Series - Page 86

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
85
4
4 Instructions 4.3.1 Contact Comparison
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
The following table lists the methods of LD contact comparison.
16-bit
Instruction
FNC NO
32-bit
Instruction
Enabled State
Condition
Disabled State
Condition
LD= 224 LDD= S1 = S2 S1 S2
LD> 225 LDD> S1 > S2 S1 <= S2
LD< 226 LDD< S1 < S2 S1 >= S2
LD<> 228 LDD<> S1 <> S2 S1 = S2
LD<= 229 LDD<= S1 <= S2 S1 > S2
LD>= 230 LDD>= S1 >= S2 S1 < S2
Example:
[LD= D10 K123]
X0
(M20)
[LD< D10 K5566]
SET Y10
X1
[LD> D10 K6789]
SET Y12
[LDD< C235 K999999]
OUT Y15
D10 的内容等于K123X0=On 的时候,M20=On
D10 的内容小于K5566的时候,Y10=On 并保持住。
D10 的内容大于K6789的时候,Y12=On 并保持住。
C235 的内容小于K999999,或者X1=On 的时候,Y15=On
M20 = ON when X0 = ON and D10 = K123.
Y10 = ON and remains in this state when X1 = ON and D10 < K5566.
Y12 = ON and remains in this state when D0 > K6 and D10 > K6789.
Y15 = ON and remains in this state when X2 = ON and C235 < K999999 or X3 = ON.
Use the 32-bit instruction LDD
to compare 32-bit counters (C200–C255). If a different instruction is used,
an error will occur.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals