Programming
CX8190
51
Version: 1.5
ObjId
Object ID of the PLC project instance
TaskCnt
Number of tasks in the runtime system
OnlineChangeCnt
Number of online changes since the last complete download
Flags
Reserved
AdsPort
ADS port of the PLC application
BootDataLoaded
PERSISTENT variables: LOADED (without error)
OldBootData
PERSISTENT variables: INVALID (the back-up copy was loaded, since no
valid file was present)
AppTimestamp
Time at which the PLC application was compiled
KeepOutputsOnBP
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.
ShutdownInProgress
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.
LicensesPending
This variable has the value TRUE if not all licenses that are provided by
license dongles have been validated yet.
BSODOccured
This variable has the value TRUE if Windows is in a BSOD.
TComSrvPtr
Pointer to the TcCOM object server
AppName
Name generated by TwinCAT, which contains the port.
ProjectName
Name of the project
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
: 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
Target platform
Hardware
PLC libraries to include
TwinCAT v3.1 Build
4022.30
ARM
CX8190
Tc2_SystemCX
Содержание CX8190
Страница 1: ...Manual EN CX8190 Embedded PC with Ethernet 11 8 2021 Version 1 5...
Страница 2: ......
Страница 71: ......