Mitsubishi Electric MELSEC iQ-R C Series Programming Manual page 153

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

Advertisement

Ex.
Setting of psEvent when waiting for interrupt event 0, interrupt event 1, interrupt event 50, and interrupt event 51
psEvent[0] = 4;
psEvent[1] = 0;
psEvent[2] = 1;
psEvent[3] = 50;
psEvent[4] = 51;
When event 51 occurs, 51 is returned to psSetEventNo.
The event numbers (interrupt pointer numbers) are as follows.
Event number
(Interrupt pointer number)
0 to 15
16 to 49
50 to 1023
Precautions
Do not set the clock data of a C Controller module while executing this function. Otherwise, this function does not operate
properly. (This function may not be completed.)
Return value
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
Relevant function
• Page 146 CCPU_WaitEvent
Interrupt factor
Interrupt by module
Reserved
Interrupt by module
Notes
Set with CW Configurator
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
3
151

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MELSEC iQ-R C Series and is the answer not in the manual?

Table of Contents