Mitsubishi Electronics Q173CPU(N) Home Security System User Manual


 
5 - 47
5 MOTION DEDICATED PLC INSTRUCTION
(4) SM390 turn off when the transmission of the instruction toward the target CPU
was not completed. SM391 (S(P).GINT instruction execution completion flag)
turned off when the instruction toward the target CPU cannot be transmitted.
(5) Number of instruction execution does not have restriction, if to self CPU high
speed interrupt accept flag from CPUn in the target shared CPU memory of
S(P).GINT instruction.
[Operation]
OFF
OFF
t
S(P).GINT instruction execution
ON
S(P).GINT instruction
OFF
ON
Event task executed processing to
the other Motion CPU
PLC program
END
END
END
END
S(P).GINT instruction execution
S
(
P
)
.GINT instruction non-execution
Interrupt PLC to
the other CPU
M391 (Instruction executed
complete flag)
To self CPU high speed interrupt
accept flag from CPUn
[Errors]
The error flag (SM0) is turned on an operation error in the case shown below, and an
error code is stored in SD0.
Complete status
(Note)
(Error code)(H)
Error factor Corrective action
2110
The CPU No. to be set by "(First I/O No. of the target
CPU)/16" is specified.
2114
The self CPU by "(First I/O No. of the target CPU)/16"
is specified.
2117
The CPU except the Motion CPU by "(First I/O No. of
the target CPU)/16" is specified.
4100
Since 0 to 3DFH, 3E4H is specified by "(First I/O No. of
the target CPU)/16" is specified.
4C08
There are 33 or more instruction requests to the Motion
CPU from the PLC CPU in S(P).SFCS/S(P).SVST/
S(P).CHGA/S(P).GINT sum table simultaneously, and
the Motion CPU cannot process them.
Confirm a
program, and
correct it to a
correct PLC
program.
(Note) : 0000H (Normal)
[Program example]
X0
Program which generates the interrupt toward the Motion CPU No.4.
SP.GINT
K10
H3E3
Normal complete program
SM391
The program which generates
interruption again.
SM391