Interrupt From Controller Cpu - Mitsubishi Electric MELSEC Q Series User Manual

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

Advertisement

14.2.2

Interrupt from Controller CPU

The following describes how to interrupt from the programmable controller CPU.
(1) Operation timing
Sequence program
S(P). GINT instruction
C Controller module interrupt
routine (interrupt program)
C Controller module user
program
SM391 (S(P).GINT instruction
execution completed flag)
(2) Dedicated instructions
The following shows programmable controller CPU dedicated instructions used for interrupt from a programmable
controller CPU (another CPU).
[Instruction symbol]
SP.GINT
S.GINT
[Instruction symbol]
DP.GINT
D.GINT
276
END
OFF
Interrupt routine (interrupt
program) executed
Interrupt routine (interrupt program)
in waiting status
QBF_WaitEvent function
executed
Interrupt event in waiting status by user program
OFF
*1: Interrupt event notified after the interrupt routine (interrupt program) ends.
[Execution condition]
Command
Command
[Execution condition]
Command
Command
Command
Command
Q24DHC-V
Q24DHC-VG
END
S(P).GINT instruction executed
ON
Interrupt issued
Interrupt routine (interrupt program) in waiting status
Interrupt event notified
User program resumed
S(P).GINT instruction executed
ON
S(P).GINT instruction not executed
DP.GINT
D.GINT
Q24DHC-LS
Q26DHC-LS
END
*1
SP.GINT (n1)
(n2)
S.GINT
(n1)
(n2)
DP.GINT
(n1)
(n2)
(n1)
(n2)
(D1)
(D2)
D.GINT
(n1)
(n2)
(n1)
(n2)
(D1)
(D2)
Q12DC-V
t
END

Advertisement

Table of Contents
loading

Table of Contents