Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 65

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

Advertisement

CCPU_SetDevice
Sets internal user devices and internal system devices (bit devices) of a MELIPC.
Format
short CCPU_SetDevice(short sDevType, unsigned long ulDevNo)
Argument
Argument
Name
sDevType
Device type
ulDevNo
Device number
Description
Sets (turns ON) the bit device of the 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 59 CCPU_ResetDevice
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
63

Advertisement

Table of Contents
loading

Table of Contents