Constants
Global constants
VAR_GLOBAL CONSTANT
rClsZero : REAL := 0.00001;
udiNoActvPrio : UDINT := 4294967295;
udiTiSec : UDINT := 4294967295;
wSUNDAY : WORD := 0;
wMONDAY : WORD := 1;
wTUESDAY : WORD := 2;
wWEDNESDAY : WORD := 3;
wTHURSDAY : WORD := 4;
wFRIDAY : WORD := 5;
wSATURDAY : WORD := 6;
TimeValue24h_ms : UDINT := 86400000;
END_VAR
rClsZero: Reference value to avoid division by zero.
udiNoActvPrio: The value of the constants indicates that no priority is active.
udiTiSec: Constant for specifying a time in seconds.
wSUNDAY: Constant value for Sunday.
wMONDAY: Constant value for Monday.
wTUESDAY: Constant value for Tuesday.
wWEDNESDAY: Constant value for Wednesday.
wTHURSDAY: Constant value for Thursday.
wFRIDAY: Constant value for Friday.
wSATURDAY: Constant value for Saturday.
TimeValue24h_ms: Time value for 24 hours in milliseconds.
Requirements
Development environment | Required PLC library |
---|---|
TwinCAT from v3.1.4024.7 | Tc3_BA from v1.1.6.0 |