3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
99
3
CCPU_SetLEDStatus
This function sets the LED status of a C Controller module.
■
Format
short CCPU_SetLEDStatus(long lLed, unsigned short usLedInfo)
■
Argument
The specification method of the LED status information (usLedInfo) is as follows:
■
Description
This function controls the USER LED of C Controller module to the status specified to the LED status information (usLedInfo).
■
Return value
■
Relevant function
Argument
Name
Description
IN/OUT
lLed
Target LED
Specify the target LED.
(When 'Reserved' is specified, this function ends normally without processing.)
• 0: USER LED
• Others: Reserved
IN
usLedInfo
LED status information
Specify the LED status information.
IN
usLedInfo
Description
0
OFF
1
ON (Red)
2
Flashing at low speed (Red)
3
Flashing at high speed (Red)
4
ON (Green)
5
Flashing at low speed (Green)
6
Flashing at high speed (Green)
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......