Mitsubishi Electric MELSEC iQ-R C R12CCPU-V User Manual page 177

Controller module
Hide thumbs Also See for MELSEC iQ-R C R12CCPU-V:
Table of Contents

Advertisement

■Setting data
Setting data
Setting
(n1)
Start input/output number of the target CPU divided by 16
The values to be specified actually are as follows:
CPU No.1: 3E0H, CPU No.2: 3E1H, CPU No.3: 3E2H, CPU No.4: 3E3H
(n2)
Interrupt pointer number (0 to 15)
*1
(D1)
(D1+0): Device that is turned ON for one scan upon completion of the instruction processing
(D1+1): Device that is turned ON for one scan upon abnormal completion of the instruction processing
(For abnormal completion, D1+0 also turns ON.)
*1
(D2)
Device where the completion status data is stored.
*1 Can be omitted only when both of (D1) and (D2) are omitted.
■Control details
Make an interrupt occur to a C Controller module when the execution command of the D(P).GINT instruction rises (OFF→ON)
using a sequence program.
When received an interrupt from programmable controller CPU, C Controller module restarts a user program which is waiting
for an interrupt event by the CCPU_WaitEvent function.
■Error details
In any of the following cases, an interrupt completes abnormally, and an error code is stored in the device specified with the
completion status storage device (D2).
*1
Error code
Description
0010H
The instruction request from the programmable controller CPU to the C Controller module exceeds
the allowable value.
2282H
The interrupt pointer number set with the D(P).GINT instruction is out of the range of 0 to 15.
*1 "0000H" is stored when the processing is normally completed.
In any of the following cases, an operation error is caused, and the latest self-diagnostic error (SM0) turns ON. Then, an error
code is stored in the latest self-diagnostic error code (SD0).
Error code
Description
4350
The specified target CPU module is wrong.
• A CPU number set as reserved has been specified.
• A CPU number of which module is not mounted has been specified.
• The start I/O number of the target CPU module divided by 16 (n1) is out of the range of 3E0H to
3E3H.
4351
The instruction cannot be executed on the specified target CPU module.
• The instruction name is wrong.
• An instruction which is not supported by the target CPU was executed.
4352
The number of devices of the specified instructions is incorrect.
4353
An unavailable device is specified in the specified instruction.
Setting side
User
User
System
System
Corrective action
Check and correct the
sequence program.
Corrective action
Check and correct the
sequence program.
8 MULTIPLE CPU SYSTEM FUNCTIONS
8.5 Interrupt from Another CPU
Data type
BIN16 bits
BIN16 bits
Bit
Word
8
175

Advertisement

Table of Contents
loading

Table of Contents