5 Basic Instruction
5.1 LD, LDI, AND, ANI, OR, ORI
54
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. LD (Initial logical operation of NO (normally open) contacts)
2. LDI (Initial logical operation of NC (normally closed) contact type)
3. AND (Serial connection of NO (normally open) contacts)
X000
LD
[Structured ladder/FBD]
ONON
X000
ONON
Y000
timing chart
Bus line
Y000
Y000:= X000;
[ ST ]
X000
LDI
[Structured ladder/FBD]
ONON
ONON
X000
Y000
timing chart
Bus line
Y000
Y000:= NOT X000;
[ ST ]
X002
AND
[Structured ladder/FBD] [ ST ]
Y003:= X002 AND X000;
X000
timing chart
AND
LD
ONON
X002
ON
Y003
ONON
X000
Y003