Mitsubishi Electronics FX3UC Garage Door Opener User Manual


 
199
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.5 LDP, LDF, ANDP, ANDF, ORP, ORF
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
Cautions
1. Cautions when the LDP, LDF, ANDP, ANDF, ORP, or ORF instruction programmed in the same
step is executed two or more times within one operation cycle
When LDP, LDF, ANDP, ANDF, ORP or ORF instruction programmed in the same step is executed two or more times
within one operation cycle, the following operation results:
Programs executed two or more times
Program between FOR and NEXT instructions
Program which executes the 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 from OFF to ON
1st time: LDP, ANDP or ORP instruction turns ON.
2nd time and later: When the device status is the 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 the same as the time when the instruction was executed last, the
instruction turns OFF.
2. Cautions on writing during RUN
1) Instructions for falling edge pulse
When writing is completed during RUN for a circuit including an instruction for falling edge pulse (LDF, ANDF, or
ORF instruction), the instruction for falling edge pulse is not executed regardless of the ON/OFF status of the
target device of the instruction for falling edge pulse.
When writing is completed during RUN for a circuit including an instruction for falling edge pulse (PLF instruction),
the instruction for falling edge pulse is not executed regardless of 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 writing is completed during RUN 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 writing is executed during RUN)
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