3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
139
3
CCPU_SetLEDStatus_ISR
This function sets the LED status of a C Controller module.
■
Format
short CCPU_SetLEDStatus_ISR(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).
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.
■
Return value
■
Relevant functions
Argument
Name
Description
IN/OUT
lLed
Target LED
Unused (Even if a value is specified, the operation is not affected.)
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
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......