Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 68

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

CCPU_SetLEDStatus
Sets the INFO LED status of a MELIPC.
Format
short CCPU_SetLEDStatus(long lLed, unsigned short usLedInfo)
Argument
Argument
lLed
usLedInfo
The LED state information (usLedInfo) is specified as follows.
usLedInfo
0
1
2
3
4
5
6
Description
Controls the LED INFO of the MELIPC to the status specified for the LED status information (usLedInfo).
Return value
Return value
0(0000H)
-224(FF20H)
For details on error codes, refer to the following section.
Page 116 Function error codes
Relevant function
Page 46 CCPU_GetLEDStatus
3 DETAILS OF FUNCTIONS
66
3.1 C Controller Module Dedicated Functions
Name
Target LED
LED status information
Description
Normal
LED setting value error
Description
Specify a target LED.
(When 'Reserved' is specified, this function ends normally without
processing.)
• 0: INFO LED
• Others: Reserved
Specify the LED status information.
Description
OFF
ON (Red)
Flashing at low speed (Red)
Flashing (Red)
ON (Green)
Flashing at low speed (Green)
Flashing (Green)
IN/OUT
IN
IN

Advertisement

Table of Contents
loading

Table of Contents