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

Controller module
Table of Contents

Advertisement

CCPU_SetDevice
This function sets internal user devices and internal system devices (bit devices) of C Controller module.
Format
short CCPU_SetDevice (short sDevType, unsigned long ulDevNo)
Argument
Argument
Name
sDevType
Device type
ulDevNo
Device number
Description
This function sets (turns ON) the device of a C Controller module specified to the device type (sDevType) and the start device
number (ulDevNo).
Return value
Return value
0 (0000H)
Other than 0
Relevant function
• Page 127 CCPU_ResetDevice
3 DETAILS OF FUNCTION
130
3.1 C Controller Module Dedicated Functions
Description
Specify the device type.
Page 13 Argument specification
Specify the device number.
Description
Normal
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
IN/OUT
IN
IN

Advertisement

Table of Contents
loading

Table of Contents