78
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
CCPU_GetLEDStatus
This function acquires the LED status of a C Controller module.
■
Format
short CCPU_GetLEDStatus(long lLed, unsigned short* pusLedInfo, unsigned long ulBufSize)
■
Argument
■
Description
• This function acquires the LED status of the C Controller 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 (ulBufSize).
• If the LED is not supported, '0' is set to the LED status.
• 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].)
Argument
Name
Description
IN/OUT
lLed
Target LED
Specify the target LED.
(When 'Reserved' is specified, this function ends normally without processing.)
• 0: READY LED
• 1: ERROR LED
• 2: BUS RUN LED
• 3: CARD RDY LED
• 4: USER LED
• 5: USB RDY LED
• 6: RS SD/RD LED
• -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
pusLedInfo
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)
pusLedInfo
Description
pusLedInfo[0]
READY LED status
pusLedInfo[1]
ERROR LED status
pusLedInfo[2]
BUS RUN LED status
pusLedInfo[3]
CARD RDY LED status
pusLedInfo[4]
USER LED status
pusLedInfo[5]
USB RDY LED status
pusLedInfo[6]
RS SD/RD LED status
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......