3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
135
3
CCPU_ResetDevice_ISR
This function resets internal user devices and internal system devices (bit devices) of C Controller module.
■
Format
short CCPU_ResetDevice_ISR(short sDevType, unsigned long ulDevNo)
■
Argument
■
Description
This function resets (turns OFF) the device of a C Controller module 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 in which an invalid argument is specified is executed, an error such as hardware failure (3C02H) may occur
on C Controller module.
• This function does not check the specified argument.
When creating a program, note the following:
A device which is out of the range is not specified.
■
Return value
■
Relevant function
Argument
Name
Description
IN/OUT
sDevType
Device type
Specify the device type.
IN
ulDevNo
Start device number
Specify the start device number.
IN
Return value
Description
0 (0000H)
Normal
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......