5 Basic Instruction
5.1 LD, LDI, AND, ANI, OR, ORI
55
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
(Program Flow)
8
Applied Instructions
(Move and
Compare)
9
Applied Instructions
(Arithmetic and
Logical Operation)
10
Applied Instructions
(Rotation and
Shift Operation)
4. ANI (Serial connection of NC (normally closed) contacts)
5. OR (Parallel connection of NO (normally open) contacts)
6. ORI (Parallel connection of NC (normally closed) contacts)
ON
X002
ANI
[Structured ladder/FBD] [ ST ]
X000
Y003:= X002 AND NOT X000;
timing chart
ANI
LD
ON
ONON
X002
Y003
ONON
X000
Y003
timing chart
OR
LD
X000
Y000
X001
[Structured ladder/FBD] [ ST ]
Y000:= X000 OR X001;
X001
X000
ON ON
ON
ON ON
ONON
Y000
OR
timing chart
ORI
LD
X000
Y001
X002
[Structured ladder/FBD] [ ST ]
Y001:= X000 OR NOT X002;
X002
X000
ON ON
ON ON
ONONON
ON
Y001
ORI