FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Operations
Step
0
Pointer for
interrupt
I620
3. Pointers for counter interrupt: 6 points
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.
Pointer No.
I010
I020
I030
*1.
This function is supported only in FX
*2.
Cleared when the PLC mode switches from RUN to STOP.
FNC 04
Interrupt is
enabled
EI
Main program
FNC 06
is finished
FEND
Interrupt at every 20 ms
FNC 03
Interrupt return
IRET
END
*1
→ For details on counter interrupt function, refer to Section 36.6.
Interrupt disabling flag
*2
M8059
/FX
3U
3UC
•
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.
Main
program
•
"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
Interrupt
20 ms.
routine
The PLC returns to main program by IRET
instruction.
Pointer No.
I040
I050
I060
PLCs.
4 Devices in Detail
4.12 Pointer [P and I]
Interrupt disabling flag
*2
M8059
149
1
2
3
4
5
6
7
8
9
10