Chapter 16 PLC Function Applications│CFP2000
API
FOR※
287–
292
Bit device
X
Y
M
S1
S2
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
S1
S2
Word device
K
H
KnX KnY KnM
#:&、|、^
: data source device 1. S
S
1
This command compares the content of S
example, if the result of comparison is "equal," this command will be activated;
but it will not be activated when the result is "unequal."
The FOR* command can directly input floating point numerical values (for
instance: F1.2) to the S
D for use in operations.
This command can be used while directly connected with the busbar
API No.
32-bit commands
FOR=
287
FOR>
288
FOR<
289
FOR<>
290
FOR<=
291
FOR>=
292
When X2 and M30 are both equal to "On," or the floating point number in register
D100 (D101) is greater than or equal to F1.234, M60=On.
X2
M30
FOR>=
Floating point number contact form compare OR*
16-bit command
T
C
D
-
*
*
*
32-bit command (9 STEP)
*
*
*
FOR※
Flag signal: none
: data source device 2.
2
, S
operands, or store floating-point numbers in register
1
2
Conditions for
activation
S
S
=
1
S
S
>
1
S
S
<
1
≠
S
S
1
S
S
≦
1
S
S
≧
1
D100
F1.234
16-120
-
-
Continuous
-
execution type
and S
. Taking "FOR=" as an
1
2
Conditions for
inactivation
≠
S
S
2
1
2
S
S
≦
2
1
2
S
S
≧
2
1
2
S
S
=
1
2
2
S
S
>
2
1
2
S
S
<
2
1
2
M60
-
-