Function F_CX81x0_LED_WD

Since the CX8190 supports different protocols, the two LEDs WD and ERR on the CX8190 are not used by the firmware. This allows the user to create his 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.

Function F_CX81x0_LED_WD 1:

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

VAR_INPUT

VAR_INPUT
    eMode      : E_CX81x0_LED;
END_VAR

eMode: way in which the LED lights up.

VAR_OUTPUT

F_CX8190_LED_WD      : INT;

F_CX8190_LED_WD: -1, non-implemented flash code, 0 OK

Requirements

Development environment

Target platform

Hardware

PLC libraries to include

TwinCAT v3.1 Build 4022.30

ARM

CX8190

Tc2_SystemCX