Ccpu_Enableint - Mitsubishi Electric MELSEC iQ-R C Series Programming Manual

Controller module
Table of Contents

Advertisement

CCPU_EnableInt

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.
Return value
Return value
0 (0000H)
Other than 0
Relevant functions
• Page 89 CCPU_EntryInt
• Page 85 CCPU_DisableInt
3 DETAILS OF FUNCTION
86
3.1 C Controller Module Dedicated Functions
Description
Specify the interrupt pointer number.
Description
Normal
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
IN/OUT
IN

Advertisement

Table of Contents
loading

Table of Contents