Control Diagnostic Leds - Beckhoff CX8190 Manual

Embedded pc with ethernet
Table of Contents

Advertisement

ObjId
TaskCnt
OnlineChangeCnt
Flags
AdsPort
BootDataLoaded
OldBootData
AppTimestamp
KeepOutputsOnBP
ShutdownInProgress
LicensesPending
BSODOccured
TComSrvPtr
AppName
ProjectName
7.2

Control diagnostic LEDs

7.2.1
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.
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 [} 52]: 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 environ-
ment
TwinCAT v3.1 Build
4022.30
CX8190
Object ID of the PLC project instance
Number of tasks in the runtime system
Number of online changes since the last complete download
Reserved
ADS port of the PLC application
PERSISTENT variables: LOADED (without error)
PERSISTENT variables: INVALID (the back-up copy was loaded, since no
valid file was present)
Time at which the PLC application was compiled
The flag can be set and prevents that the outputs are zeroed when a
breakpoint is reached. In this case the task continues to run. Only the
execution of the PLC code is interrupted.
This variable has the value TRUE if a shutdown of the TwinCAT system is in
progress. Some parts of the TwinCAT system may already have been shut
down.
This variable has the value TRUE if not all licenses that are provided by
license dongles have been validated yet.
This variable has the value TRUE if Windows is in a BSOD.
Pointer to the TcCOM object server
Name generated by TwinCAT, which contains the port.
Name of the project
Target platform
ARM
Version: 1.5
Hardware
CX8190
Programming
PLC libraries to include
Tc2_SystemCX
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents