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

Controller module
Table of Contents

Advertisement

CCPU_EnableInt_ISR
This function enables the routine registered with the CCPU_EntryInt function.
Format
short CCPU_EnableInt (short sSINo)
Argument
Argument
Name
sSINo
Interrupt pointer number
Description
• This function enables the routine registered with the CCPU_EntryInt function. (The routine is executed when an interrupt
occurs.)
• Specify the interrupt pointer number (sSINo) specified in the CCPU_EntryInt function to Interrupt pointer number (sSINo).
• Since an interrupt does not occur while a stop error is occurring in a C Controller module, the routine registered with the
CCPU_EntryInt function will not be executed even if it is enabled.
WARNING
If any function in which an invalid argument is specified is executed, an error such as hardware failure (3C02H) may occur on
C Controller module.
Return value
Return value
0 (0000H)
Relevant functions
• Page 89 CCPU_EntryInt
• Page 165 CCPU_DisableInt_ISR
3 DETAILS OF FUNCTION
166
3.2 C Controller module dedicated functions for ISR
Description
Specify the interrupt pointer number.
Description
Normal
IN/OUT
IN

Advertisement

Table of Contents
loading

Table of Contents