Global Variables

VAR_GLOBAL

MAX_AVERAGE_MEASURES            :INT:=10; (*Possible values: 2..100*)

GLOBAL_FORMAT_HASH_PREFIX_TYPE  : E_HashPrefixTypes := HASHPREFIX_IEC; (* IEC prefixes for binary, octal or hexadecimal type *)

GLOBAL_SBCS_TABLE : E_SBCSType  := eSBCS_WesternEuropean; (*Windows SBCS (Single Byte Character Set) Code Page Table *)

GLOBAL_DCF77_PULSE_SPLIT : TIME := T#140ms;(* 0 == pulse < 140ms, 1 == pulse > 140 *)

GLOBAL_DCF77_SEQUENCE_CHECK     : BOOL := FALSE;(* TRUE = Enable plausibility check (two telegrams are checked), FALSE = Disable check *)

DEFAULT_CSV_FIELD_SEP           : BYTE := 16#3B;(* semicolon (;) := 16#3B => german field separator, comma (,) := 16#2C => US field separator *)

 

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v2.7.0

PC or CX (x86)

Standard.Lib; PLCSystem.Lib; TcPLCAds.Lib; PLCHelper.Lib; TcPlcUtilities.Lib

TwinCAT v2.8.0

PC or CX (x86)

TcUtilities.Lib

( Standard.Lib; TcBase.Lib; TcSystem.Lib are included automatically )

TwinCAT v2.10.0 Build >= 1301

CX (ARM)