3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
39
3
CITL_GetLEDStatus
This function acquires the LED status of a C intelligent function module.
■ Format
short CITL_GetLEDStatus(long lLed, unsigned short* pusLedInfo, unsigned long ulBufSize)
■ Argument
■ Description
• This function acquires the LED status of the C intelligent function module 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).
• The LED status to be stored in the LED status storage destination (pusLedInfo) is as follows.
• When '-1' is specified to the target LED (lLed), the LED status stored in the LED status storage destination (pusLedInfo) is
as follows:
(When '0' to '6' is specified, the specified LED status is stored in pusLedInfo[0].)
■ Return value
■ Relevant function
Page 36 CITL_GetErrInfo
Argument Name Description IN/OUT
lLed Target LED Specify the target LED.
(When 'Reserved' is specified, this function ends normally without
processing.)
• 0: RUN LED
• 1: ERR LED
• 2: CARD RDY LED
• 3: USER LED
• 4 to 6: Reserved
• -1: All of the LEDs above
• Others: Reserved
IN
pusLedInfo LED status storage destination Specify the storage destination of the LED status. OUT
ulBufSize LED status storage destination size Specify the LED status storage destination size in word units.
(When '0' is specified, this function ends normally without processing.)
IN
Stored information LED status
0OFF
1ON (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)
Storage position Description
pusLedInfo[0] RUN LED status
pusLedInfo[1] ERR LED status
pusLedInfo[2] CARD RDY LED status
pusLedInfo[3] USER LED status
pusLedInfo[4] Reserved
pusLedInfo[5]
pusLedInfo[6]
Return value Description
0 (0000H) Normal
Other than 0 (0000H) Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST