Chapter 16 PLC Function Applications
MS300
(High Speed Model)
16-92
API
OR
※
S1
S2
Contact form compare OR*
240~
246
D
Bit device
Word device
16-bit command (5 STEP)
OR
※
Continuous
execution type
-
-
32-bit command (9 STEP)
DOR
※
Continuous
execution type
-
-
Flag signal: none
X Y M K H
KnX
KnY
KnM
T
C
D
S1
*
*
*
*
*
*
*
*
S2
*
*
*
*
*
*
*
*
Notes on operand usage:
※
:
=
、
>
、
<
、
<>
、
≦
、
≧
Please refer to the function specifications table for each device in
series for the scope of device usage
S
1
: data source device 1.
S
2
: data source device 2.
This command compares the content of
S
1
and
S
2
. Taking API 240 (OR=) as an
example, when the result of comparison is equal, this command will be activated;
when the result of comparison is unequal, this command will not be activated.
The OR* command is a compare command in parallel with a contact.
API No.
16-bit commands 32-bit commands
Conditions for
activation
Conditions for
inactivation
240
OR
=
D
OR
=
S
1
=
S
2
S
1
≠
S
2
241
OR
>
D
OR
>
S
1
>
S
2
S
1
≦
S
2
242
OR
<
D
OR
<
S
1
<
S
2
S
1
≧
S
2
244
OR
<>
D
OR
<>
S
1
≠
S
2
S
1
=
S
2
245
OR
<=
D
OR
<=
S
1
≦
S
2
S
1
>
S
2
246
OR
>=
D
OR
>=
S
1
≧
S
2
S
1
<
S
2
When X0=On and the current value of C10 is also equal to K200, Y10=On.
When X1=Off and the content of register D0 is not equal to K-10, Y11=On and
remains in that state.
When X2 =On and the content of the 32-bit register D0(D11)is less than 678,493,
or M3=On, M50=On.
X2
M30
M60
OR>=
K200
C10
X1
Y0
DOR>=
D100
K100000
Summary of Contents for VFD11AMS21AFSHA
Page 5: ...IV This page intentionally left blank...
Page 8: ...Chapter 1 Introduction MS300 High Speed Model 1 3 1 2 Model Name 1 3 Serial Number...
Page 20: ...Chapter 3 Installation MS300 High Speed Model 3 3...
Page 21: ...Chapter 3 Installation MS300 High Speed Model 3 4 This page intentionally left blank...
Page 24: ...Chapter 4 Wiring MS300 High Speed Model 4 3 4 1 Wiring...
Page 25: ...Chapter 4 Wiring MS300 High Speed Model 4 4 Figure 1...
Page 27: ...Chapter 4 Wiring MS300 High Speed Model 4 6 4 2 System Wiring Diagram...
Page 43: ...Chapter 6 Control Terminals MS300 High Speed Model 6 6 This page intentionally left blank...
Page 91: ...Chapter 8 Optional Cards MS300 High Speed Model 8 8 Frame F Fig 8 16...
Page 115: ...Chapter 9 Specification MS300 High Speed Model 9 10 This page intentionally left blank...
Page 123: ...Chapter 10 Digital Keypad MS300 High Speed Model 10 8 This page intentionally left blank...
Page 293: ...Chapter 13 Warning Codes MS300 High Speed Model 13 6 This page intentionally left blank...
Page 303: ...Chapter 14 Error Codes MS300 High Speed Model 14 10 This page intentionally left blank...