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