Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
147
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.12 Pointer [P and I]
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
Operations
3. Pointers for counter interrupt: 6 points
*1
For details on counter interrupt function, refer to Section 36.6.
The PLC executes an interrupt routine based on the comparison result obtained by the comparison set instruction for
high speed counter (DHSCS instruction).
Use these pointers for control requiring an interrupt routine based on the counting result from high speed counters.
*1. This function is supported only in FX
3U/FX3UC PLCs.
*2. Cleared when the PLC mode switches from RUN to STOP.
Pointer No. Interrupt disabling flag Pointer No. Interrupt disabling flag
I010
M8059
*2
I040
M8059
*2
I020 I050
I030 I060
Step
0
I620
Pointer for
interrupt
Interrupt
routine
Interrupt is
enabled
Main program
is finished
Main
program
Interrupt at every 20 ms
Interrupt return
FNC 04
EI
FNC 06
FEND
FNC 03
IRET
END
"FEND" indicates the end of the main
program.
Make sure to describe an interrupt routine
after "FEND".
The PLC executes an interrupt routine at every
20 ms.
The PLC returns to main program by IRET
instruction.
Timer interrupt is enabled after EI instruction.
It is not necessary to program DI (disable
interrupt) instruction when no zone to disable
timer interrupt is needed.