Mitsubishi Electronics FX3UC Garage Door Opener User Manual


 
150
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.12 Pointer [P and I]
Role of pointer P63 for jump to the END step
P63 is a special pointer for jumping to the END step
when the CJ (FNC 00) instruction is executed.
Note that a program error will occur when P63 is
programmed as a label.
Refer to "5. Label unnecessary for the
pointer P63" in Section 8.1.
4.12.3 Functions and operation examples of pointers for interrupt
For details on interrupt function, refer to Chapter 36.
There are three types of pointers for interrupt. When in use, they are combined with IRET (FNC 03), EI (FNC 04) and
DI (FNC 05) for interrupt return, enabling interrupt and disabling interrupt.
1. Pointers for input interrupt (delay interrupt): 6 points
For details on input interrupt function, refer to Section 36.3 and Section 36.4.
The PLC can receive input signals from specific input numbers without influence of the operation cycle of the PLC. By
using these input signals as triggers, the PLC executes interrupt routine programs.
Because pointers for input interrupt can handle signals shorter than the operation cycle, use them for high priority
processing during sequence control and for control handling short pulses.
*1. Cleared when the PLC mode switches from RUN to STOP.
Non-overlap of input numbers
Inputs X000 to X007 are used for high-speed counters, input interrupt, pulse catch, SPD/ZRN/DSZR/DVIT instructions
and general-purpose inputs. When assigning functions, there should be no overlap between those input terminals.
Delay function of input interrupt (Only in FX3U/FX3UC PLCs)
This input interrupt has a function to delay the execution of interrupt routine in units of 1ms.
The delay time is specified by the following pattern program.
This delay function can electrically adjust the mounting position of sensors for input interrupts without shifting the
actual position.
Input
Pointer for input interrupt
Interrupt disabling flag
ON duration or OFF duration of input signal
Interrupt at rising
edge
Interrupt at falling
edge
FX3S FX3G/FX3GC FX3U/FX3UC
X000 I001 I000
M8050
*1
10 µs or more 10 µs or more
5 µs or more
X001 I101 I100
M8051
*1
X002 I201 I200
M8052
*1
50 µs or more
50 µs or more
X003 I301 I300
M8053
*1
10 µs or more
X004 I401 I400
M8054
*1
X005 I501 I500
M8055
*1
50 µs or more
Label
P63
FNC 00
CJ
P 63
END
Should not be programmed.
M8393
FNC 12
MOV
K
{{{
*
Delay time specifying program
Make sure to describe the delay time specifying
program shown on the left at the head of an
interrupt routine program.
Because this is a pattern program, change only
the delay time [1].
Only a constant (K) or data register (D) can be
used to specify the delay time*.
I
D8393
[1] Delay time (unit: ms)
FNC 03
IRET
Program to be processed by input interrupt
Contact for setting delay time
Interrupt program is finished