Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 92

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

CCPU_ResetDevice_ISR
Resets internal user devices and internal system devices (bit devices) of a MELIPC.
Format
short CCPU_ResetDevice_ISR(short sDevType, unsigned long ulDevNo)
Argument
Argument
sDevType
ulDevNo
Description
Resets (turns OFF) the bit device of the MELIPC 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 to which an invalid argument is specified is executed, an error such as hardware failure (3C02H) may occur
on the MELIPC.
• This function does not check the specified arguments.
Pay attention to the following points when creating a program.
Do not specify a device outside of the range.
Return value
Return value
0(0000H)
Relevant function
Page 91 CCPU_SetDevice_ISR
3 DETAILS OF FUNCTIONS
90
3.2 C Controller Module Dedicated Functions (for ISR)
Name
Device type
Start device number
Description
Normal
Description
Specify the device type.
Page 8 Device type
Specify the start device number.
IN/OUT
IN
IN

Advertisement

Table of Contents
loading

Table of Contents