Mitsubishi Electric MELSEC iQ-R Series Manual page 51

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

CITL_SetLEDStatus
This function sets the LED status of a C intelligent function module.
■ Format
short CITL_SetLEDStatus (long lLed, unsigned short usLedInfo)
■ Argument
Argument
Name
lLed
Target LED
usLedInfo
LED status information
The specification method of the LED status information (usLedInfo) is as follows:
Stored information
LED status
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 the C intelligent function module to the status specified by the LED status information
(usLedInfo).
■ Return value
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
■ Relevant function
Page 39 CITL_GetLEDStatus
Description
Specify the target LED.
(When 'Reserved' is specified, this function ends normally without
processing.)
• 0: USER LED
• Others: Reserved
Specify the LED status information.
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
IN
IN
3 DETAILS OF FUNCTION
3
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents