Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 61

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

Advertisement

CCPU_ResetDevice
Resets internal user devices and internal system devices (bit devices) of a MELIPC.
Format
short CCPU_ResetDevice(short sDevType, unsigned long ulDevNo)
Argument
Argument
Name
sDevType
Device type
ulDevNo
Device number
Description
Resets (turns OFF) a bit device of a MELIPC specified to the device type (sDevType) and the device number (ulDevNo).
Return value
Return value
0(0000H)
-253(FF03H)
-254(FF02H)
-28158(9202H)
For details on error codes, refer to the following section.
Page 116 Function error codes
Relevant function
Page 63 CCPU_SetDevice
Description
Specify the device type.
Page 8 Device type
Specify a device number.
Description
Normal
Device number specification error
Device type specification error
WDT error
3 DETAILS OF FUNCTIONS
3.1 C Controller Module Dedicated Functions
3
IN/OUT
IN
IN
59

Advertisement

Table of Contents
loading

Table of Contents