5 Basic Instruction
5.6 AND(...), OR(...)
77
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
5.6 AND(...), OR(...)
Outline
Use AND (...) instruction to connect a branch circuit (parallel circuit block) to the preceding circuit in series.
Use OR (...) instruction to connect a series circuit block in parallel.
1. Format and operation, execution form
2. Applicable devices
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Execution
form
Expression in each language
Structured ladder ST
AND(...) Continuous
AND(...)
The ladder diagram (or LD) is described as follows.
Y000:=(X000 OR X001) AND(X002 OR X003);
OR(...) Continuous
OR(...)
The ladder diagram (or LD) is described as follows.
Y001:=(X000 AND X001) OR(X002 AND X003);
Instruction
Bit Devices Word Devices Others
System User Digit Specification
System
User
Special
Unit
Index
Constant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
VZModifier K H E
""
P
AND(...)
There are no applicable devices.
OR(...)
X000
X001
X002
X003
Y000
X000
X002
X001
X003
Y001