171
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.5 LDP, LDF, ANDP, ANDF, ORP, ORF
1
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
Cautions
1. Cautions when LDP, LDF, ANDP, ANDF, ORP, or ORF instruction programmed in a same
step is executed twice or more within one operation cycle
When LDP, LDF, ANDP, ANDF, ORP or ORF instruction programmed in a same step is executed twice or
more within one operation cycle, the following operation results:
Programs executed twice or more
• Program between FOR and NEXT instructions
• Program which executes a same subroutine program from two or
more CALL instructions during one operation cycle
• Program which jumps to a label (P) in a smaller step number by CJ
instruction
Operation
1) When a device turns ON from OFF
1st time: LDP, ANDP or ORP instruction turns ON.
2nd time and later: When the device status is same as the time when the instruction was executed last,
the instruction turns OFF.
2) When a device turns OFF from ON
1st time: LDF, ANDF or ORF instruction turns ON.
2nd time and later: When the device status is same as the time when the instruction was executed last,
the instruction turns OFF.
2. Cautions on write during RUN
1) Instructions for falling edge pulse
When write during RUN is completed for a circuit including an instruction for falling edge pulse (LDF,
ANDF, or ORF instruction), the instruction for falling edge pulse is not executed without regard to the ON/
OFF status of the target device of the instruction for falling edge pulse.
When write during RUN is completed for a circuit including an instruction for falling edge pulse (PLF
instruction), the instruction for falling edge pulse is not executed without regard to the ON/OFF status of
the operation condition device.
It is necessary to set to ON the target device or operation condition device once and then set it to OFF for
executing the instruction for falling edge pulse.
2) Instructions for rising edge pulse
When write during RUN is completed for a circuit including an instruction for rising edge pulse, the
instruction for rising edge pulse is executed if a target device of the instruction for rising edge pulse or the
operation condition device is ON.
Target instructions for rising edge pulse: LDP, ANDP, ORP, and pulse operation type applied instructions
(such as MOVP)
*1.
PLS instruction is not executed.
Contact ON/OFF status
(while write during RUN is executed)
Instruction for rising edge pulse
Instruction for falling edge pulse
OFF
Not executed
Not executed
ON
Executed
*1
Not executed
X000
FNC 08
FOR
K
FNC 09
NEXT
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......