Mitsubishi Electric MELSEC FX3U Programming Manual page 158

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

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.
156
FNC 04
EI
FNC 06
FEND
Interrupt at every 20 ms
FNC 03
IRET
END
→ For details on counter interrupt function, refer to Section 36.6.
Interrupt disabling flag
*2
M8059
3U
Timer interrupt is enabled after EI instruction.
Interrupt is
It is not necessary to program DI (disable
enabled
interrupt) instruction when no zone to disable
timer interrupt is needed.
Main
program
Main program
"FEND" indicates the end of the main
is finished
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.
Interrupt return
*1
Pointer No.
I040
I050
I060
/FX
PLCs.
3UC
4 Devices in Detail
4.12 Pointer [P and I]
Interrupt disabling flag
*2
M8059

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents