Mitsubishi Electric MELSEC-Q Structured Programming Manual page 125

Hide thumbs Also See for MELSEC-Q:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
[Device & Common]
3) Counter interrupt pointers: 6 points
The PLC executes an interrupt routine based on the comparison result obtained by the comparison set
instruction for high speed counter (DHSCS_I).
Use these pointers for control which gives high priority to the counting result of high speed counters.
FX
/FX
/FX
0S
0
Pointer No.
I010
I020
I030
*1.
Cleared in FX
Operation
[Main program]
M8000
RUN
monitor
[Interrupt program]
When counter interrupt is specified
(Event: I010)
/FX
/FX
/FX
/FX
0N
1S
1N
1NC
3S
Interrupt disabling flag
*1
M8059
/FX
PLCs when the PLC mode switches from "RUN" to "STOP".
3U
3UC
EI
EN
ENO
OUT_C_32
EN
ENO
CCoil
CC255
K2147483647
CValue
DHSCS_I
EN
ENO
s1
K1000
s2
CN255
I010
i
Interrupt pointer
number is specified.
FEND
EN
ENO
/FX
/FX
PLCs do not support counter interrupt pointers.
3G
3GC
Pointer No.
Interrupt disabling flag
I040
I050
I060
• Enable interrupts after the EI instruction,
and then describe the main program.
• Drive the coil of a high speed counter,
and specify an interrupt pointer in the
DHSCS_I instruction.
• When the current value of C255 changes
from "999" to "1000" or from "1001" to
"1000", the PLC executes the interrupt
routine.
For use examples of interrupt program,
refer to the above description of input
interrupt pointers.
Interrupt
routine
(Interrupt
program)
2 Devices in Detail
2.11 Pointer [P and I]
*1
M8059
1
2
3
4
5
6
7
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-lMelsec-fFx3sFx3gFx3gcFx3u ... Show all

Table of Contents