96
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
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
■
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
■
Relevant function
Argument
Name
Description
IN/OUT
sDevType
Device type
Specify the device type.
IN
ulDevNo
Device number
Specify the device number.
IN
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Summary of Contents for MELSEC iQ-R C
Page 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Page 2: ......
Page 201: ...I 199 MEMO ...
Page 203: ...I 201 MEMO ...
Page 207: ......