Delta Electronics VFD037CH23A-21 Руководство по эксплуатации онлайн [560/638] 460294

Превью страниц Страница 560 / 638
Delta Electronics VFD300CH23A-00/-21 Руководство по эксплуатации онлайн [560/638] 460301
Chapter 16 PLC Function CH2000 Series
16-107
API
287~
292
FOR
S1 S2
Floating Point Contact Type
Comparison OR
Bit Devices Word Devices
X
Y
M
K H KnX KnY KnM T C D
S1
S2
Operand: : &, |, ^
Please refer to the specifications of each model for the
range of operands.
16-bit command (5 STEPS)
32-bit command (9 STEPS)
FOR
Flag signal: none
Explanation
S1: Source device 1 S2: Source device 2
This instruction compares the content in S1 and S2. Take “FOR =” for example, if
the result is “=”, the continuity of the instruction is enabled. If the result is “”, the
continuity of the instruction is disabled
The user can specify the floating point value directly into operands S1 and S2
(e.g. F1.2) or store the floating point value in D registers for further operation
FORinstruction is used for parallel connection with contacts.
API No. 32-bit instruction Continuity condition
Discontinuity
condition
287
FOR
S
1
S
2
S
1
S
2
288
FOR
S
1
S
2
S
1
S
2
289
FOR
S
1
S
2
S
1
S
2
290
FOR<>
S
1
S
2
S
1
S
2
291
FOR<=
S
1
S
2
S
1
S
2
292
FOR>=
S
1
S
2
S
1
S
2
Example
When both X2 and M30 are On and the content in D100(D101) F1.234, M60 =
ON..
FOR>= D100 F1.234
X2 M30
M60

Содержание

1610