5-3. Description of Basic Instructions
106
Outline
Performs an OR operation on multiple instruction blocks.
Program example
■
Explanation of example
■
Time chart
• Y0 goes ON when both X0 and X1 or both X2 and
X3 turn ON.
Description
• The
ORS
instruction is used to connect blocks in parallel.
• A block begins with the
ST
instruction.
• When two or more instruction blocks are programmed in parallel, make a program as follows.
X0
X1
X2
X3
Y0
block 4
block 5
block 1
block 2
block 3
1
2
ST
AN
ST
AN
ORS ............
1
ST
AN
ORS ............
2
OUT
X
X
X
X
X
X
Y
block
1
block
2
block
4
block
3
block
5
X4
X5
0
1
2
3
4
5
0
+
#
#
#
(X0 AND X1) OR (X2 AND X3)
→
Y0
block 1
block 2
ORS
OR stack
Availability
Step
1
All series
Ladder Diagram
FP Programmer
II
key operations
Boolean Non-ladder
Address Instruction
0
X0
Y0
X2
Instruction blocks
X1
X3
ST
X-WX
AN
Y-WY
WRT
1
WRT
ST
X-WX
ST
X-WX
0
WRT
OR
R-WR
STK
IX/IY
WRT
OT
L-WL
AN
Y-WY
0
WRT
ST
X-WX
ST
X-WX
2
WRT
ST
X-WX
AN
Y-WY
WRT
3
WRT
0
1
2
3
4
5
ST
X
0
AN
X
1
ST
X
2
AN
X
3
ORS
OT
Y
0
ON
OFF
X0
ON
OFF
X1
ON
OFF
X2
ON
OFF
X3
ON
OFF
Y0
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...