F_CX8190_LED_ERR

F_CX8190_LED_ERR 1:

As the CX8190 supports various protocols, the two LEDs WD and ERR on the CX8190 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 CX8190 has received an IP address from the DHCP server or whether devices are exchanging data.

The F_CX8190_LED_ERR function controls the ERR LED on the CX8190. Various color and flashing modes can be used here. The possible LED colors are red and green.

F_CX8190_LED_ERR 2: Return value

F_ F_CX8190_LED_ERR     : INT;

Name

Type

Description

F_CX8190_LED_ERR

INT

-1: flash code not implemented; 0: OK

F_CX8190_LED_ERR 3: 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