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

Controller module
Table of Contents

Advertisement

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
Argument
Name
lLed
Target LED
usLedInfo
LED status information
The specification method for the LED status information (usLedInfo) is as follows:
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)
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
Return value
Description
0 (0000H)
Normal
Relevant functions
• Page 133 CCPU_SetLEDStatus
Description
Unused (Even if a value is specified, the operation is not affected.)
Specify the LED status information.
3 DETAILS OF FUNCTION
3.2 C Controller module dedicated functions for ISR
3
IN/OUT
IN
IN
179

Advertisement

Table of Contents
loading

Table of Contents