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

Controller module
Table of Contents

Advertisement

CCPU_ResetDevice_ISR
This function resets internal user devices and internal system devices (bit devices) of C Controller module.
Format
short CCPU_ResetDevice_ISR(short sDevType, unsigned long ulDevNo)
Argument
Argument
Name
sDevType
Device type
ulDevNo
Start device number
Description
This function resets (turns OFF) the device of a C Controller module specified to the device type (sDevType) and the start
device number (ulDevNo).
Do not execute this function in a routine other than an interrupt routine.
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.
• This function does not check the specified argument.
When creating a program, note the following:
A device which is out of the range is not specified.
Return value
Return value
Description
0 (0000H)
Normal
Relevant function
• Page 176 CCPU_SetDevice_ISR
Description
Specify the device type.
Page 13 Argument specification
Specify the start device number.
3 DETAILS OF FUNCTION
3.2 C Controller module dedicated functions for ISR
3
IN/OUT
IN
IN
175

Advertisement

Table of Contents
loading

Table of Contents