ST_AdsTecSysData

TYPE ST_AdsTecSysData
STRUCT
    bShiftKey    : BOOL;(* TRUE == Shift key pressed*)
    bRMouseKey   : BOOL;(* TRUE == Right mouse key pressed *)
    bHotKey      : BOOL;(* TRUE == Hotkey pressed *)
    bTaskChaKey  : BOOL;(* TRUE == Task change key pressed *)
    bABCKey      : BOOL;(* TRUE == ABC soft keyboard key pressed*)
    bRsrv1       : BOOL;
    bRsrv2       : BOOL;
    bRsrv3       : BOOL;
    bMainFanErr  : BOOL;(* TRUE == Main fan error*)
    bCpuFanErr   : BOOL;(* TRUE == CPU fan error*)
    bTempErr     : BOOL;(* TRUE == Internal temperature error ( temp > 50°C)*)
    bBatteryErr  : BOOL;(* TRUE == Battery error *)
    bRsrv4       : BOOL;
    bRsrv5       : BOOL;
    bRsrv6       : BOOL;
    bRsrv7       : BOOL;
    nMainNtcTemp : SINT;(* Main NTC temperature (-127°C .. + 127°C) *)
    nExtNtcTemp  : SINT;(* External NTC temperature (-127°C .. + 127°C) *)
    nRsrv8       : ARRAY[1..12] OF BYTE;
END_STRUCT
END_TYPE

Name

Type

Description

bShiftKey

BOOL

“Shift” key pressed (key on the far right in the front)

bRMouseKey

BOOL

“Right mouse” button pressed

bHotKey

BOOL

“Hotkey” pressed

bTaskChaKey

BOOL

“Task change” key pressed

bABCKey

BOOL

“ABC soft keyboard” key pressed

bMainFanErr

BOOL

Main fan error

bCpuFanErr

BOOL

CPU fan error

bTempErr

BOOL

Temperature error (internal temperature > 50 °C)

bBatteryErr

BOOL

Battery error (currently reserved)

nMainNtcTemp

SINT

Temperature value 1 (soldered NTC -127 °C .. + 127 °C)

nExtNtcTemp

SINT

Temperature value 2 (connectable NTC, not available with every device)

bRsrv1 - bRsrv7

ARRAY OF BYTE

Reserved

nRsrv8

ARRAY OF BYTE

Reserved

Requirements

Development environment

Target platform

IO hardware

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

None. This functionality is not supported by TwinCAT 3 at present!

ads-tec PC

Tc2_IoFunctions (IO)