F_CX8180_LED_ERR

As the CX8180 supports various protocols, the two LEDs WD and ERR on the CX8180 are not used by the firmware. This allows users to create their own diagnosis messages. The LEDs can be used to indicate, for example, whether the CX8180 has received an IP address from the DHCP server or whether devices are exchanging data.
The F_CX8180_LED_ERR function controls the ERR LED on the CX8180. Various color and flashing modes can be used here. The possible LED colors are red and green.
Return value
F_ F_CX8180_LED_ERR : INT;
Name | Type | Description |
---|---|---|
F_CX8180_LED_ERR | INT | -1: flash code not implemented; |
Inputs
VAR_INPUT
eMode : E_CX81x0_LED;
END_VAR
Name | Type | Description |
---|---|---|
eMode | E_CX81x0_LED | The operating mode of the LED, see also E_CX81x0_LED. |
Requirements
Development environment | Target platform | Hardware | PLC libraries to include |
---|---|---|---|
TwinCAT v3.1 Build 4022.30 | Arm® | CXxxxx | Tc2_SystemCX |