Mitsubishi Electric MELSEC iQ-R C Programming Manual page 63

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
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
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Page 174 ERROR CODE LIST
■Relevant functions
• Page 64 CCPU_EntryInt
• Page 60 CCPU_DisableInt
Description
Specify the interrupt pointer number.
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
IN/OUT
3
IN
61

Advertisement

Table of Contents
loading

Table of Contents