Mitsubishi FX3G Series Programming Manual page 149

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
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.
Operations
Step
0
RUN
monitor
Pointer for
interrupt
I010
Series
FNC 04
EI
FNC 06
FEND
Interrupt at every 20 ms
FNC 03
IRET
END
Interrupt disabling flag
*2
M8059
/FX
3U
FNC 04
EI
M8000
C255
K2,147,483,647
FNC 53
DHSCS K1000 C255
FNC 06
FEND
Counter interrupt is specified
Interrupt routine
(interrupt program)
FNC 03
Interrupt return
IRET
END
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
→ For details on counter interrupt function, refer to Section 36.6.
Pointer No.
I040
I050
I060
PLCs.
3UC
Enable interrupt after EI instruction, and
describe the main program.
Drive the coil of a high-speed counter, and
specify an interrupt pointer in DHSCS (FNC 53)
instruction.
I010
When the current value of C255 changes from
"999" to "1000" or from "1001" to "1000", the
interrupt routine is executed.
Interrupt pointer
For example of interrupt program, refer to an
number is
input interrupt described above.
specified
4 Devices in Detail
4.12 Pointer [P and I]
Interrupt disabling flag
*2
M8059
147
1
2
3
4
5
6
7
8
9
10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents