Mitsubishi Electric MELSEC Q Series User Manual page 280

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

Advertisement

(c) Control details
On the rise (OFF to ON) of the S(P).GINT or D(P).GINT execution command in the sequence program, an
interrupt is issued to the C Controller module.
When receiving an interrupt from a programmable controller CPU, a C Controller module resumes the user
program that is waiting for an interrupt event by the QBF_WaitEvent function.
Whether or not the programmable controller CPU successfully transmitted instruction command to the C Controller module
should be determined based on the following.
● If instruction command is successfully transmitted
The SM391 (S(P).GINT or D(P).GINT execution completed) flag of the programmable controller CPU is set to ON.
● If instruction command is not successfully transmitted
The SM391 (S(P).GINT or D(P).GINT execution completed) flag of the programmable controller CPU is set to OFF.
(d) Error details
In any of the following cases, an operation error occurs, the error flag (SM0) of the programmable controller
CPU is set to ON, and an error code is stored in SD0.
Error code*1
2110
2114
2117
4100
*1 :
0000
if the processing is normally completed.
H
(e) Program example
The following is the sequence program that issues an interrupt to C Controller module No.2.
278
CPU No. of a reserved ("Empty" setting) or non-mounted CPU is specified for
the target CPU start I/O No.
The originating CPU is specified for the target CPU start I/O No.
A module that does not support the S(P).GINT and D(P).GINT instructions is
specified for the target CPU start I/O No.
Any of 0 to 3DF
, or 3E4
is specified for the target CPU start I/O No.
H
H
(n1).
X0
SM391
SM391
Cause
10
(n1).
H
10
(n1).
H
S.GINT
H3E1
Program for normal completion
Program that will cause interrupt again
Action
10
(n1).
Check and correct
H
the sequence
program.
10
H
K0

Advertisement

Table of Contents
loading

Table of Contents