Ccpu_Getledstatus - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

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

Advertisement

CCPU_GetLEDStatus

Acquires the LED status of a MELIPC.
Format
short CCPU_GetLEDStatus(long lLed, unsigned short* pusLedInfo, unsigned long ulBufSize)
Argument
Argument
lLed
pusLedInfo
ulBufSize
Description
• Acquires the LED status of the MELIPC specified to the target LED (lLed) and stores it in the LED status storage
destination (pusLedInfo).
• It also acquires the information for the size specified to the LED status storage destination size (ulBufSize).
• For an unsupported display LED, '0' is set for the LED status.
• The LED status to be stored in the LED status storage destination (pusLedInfo) is as follows.
pusLedInfo
0
1
2
3
4
5
6
7
9
3 DETAILS OF FUNCTIONS
46
3.1 C Controller Module Dedicated Functions
Name
Target LED
LED status storage destination
LED status storage destination
size
Description
Specify a target LED.
(When 'Reserved' is specified, this function ends normally without
processing.)
■Main LED
• 0: VX RDY LED
• 1: WIN RDY LED
• 2: MAIN ERR LED
• 3: MAIN RUN LED
• 4: FAN LED
• 5: INFO LED
• 6: BATTERY LED
■CC-Link IE Field Network LED
• 7: RUN LED
• 8: ERR LED
• 9: MST LED
• 10: D LINK LED
• 11: SD/RD LED
• 12: L ERR LED
■common
• -1: All of the LEDs above
• Others: Reserved
Specify the storage destination of the LED status.
Specify the LED status storage destination size in word units.
(When '0' is specified, this function ends normally without processing.)
Description
OFF
ON (Red)
Flashing at low speed (Red)
Flashing (Red)
ON (Green)
Flashing at low speed (Green)
Flashing (Green)
ON (yellow)
Flashing (Yellow)
IN/OUT
IN
OUT
IN

Advertisement

Table of Contents
loading

Table of Contents