Globals ¶ TraceMgrUtilConstants (GVL) TraceMgrUtilGlobals (GVL)
TraceMgrUtilConstants (GVL) ¶ InOut: Scope Name Type Initial Constant NULL POINTER TO BYTE 0
TraceMgrUtilGlobals (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant COMPONENT_NAME STRING ‘TraceMgrUtils’
IAddressResolver (ITF) ¶ INTERFACE IAddressResolver This interface defines the functionality of a function block, that is able to resolve an address of a given variable. Methods: Resolve Structure: Resolve (Method)
IS_MULTICAST_GROUP (FUN) ¶ FUNCTION IS_MULTICAST_GROUP : BOOL Checks if this address is a multicast address InOut: Scope Name Type Return IS_MULTICAST_GROUP BOOL Input udiIPAddress UDINT
UDINT_TO_HEX (FUN) ¶ FUNCTION UDINT_TO_HEX : STRING(8) InOut: Scope Name Type Return UDINT_TO_HEX STRING(8) Input value UDINT
IDateTimeProvider (ITF) ¶ INTERFACE PUBLIC IDateTimeProvider EXTENDS __SYSTEM.IQueryInterface Provides access to the underlying system to get the current date and (UTC) time using the GetDateTime method. See: DateTimeProvider as a default implementation Methods: GetDateTime Structure: GetDateTime (Method)
IDateTimeProvider.GetDateTime (METH) ¶ METHOD GetDateTime : ULINT InOut: Scope Name Type Comment Return GetDateTime ULINT date and (UTC) time in milliseconds since 1.1.1970 00:00:00.000 Output eErrorID ERROR
Structs ¶ DateTime (Struct) Schedule (Struct) Segment (Struct) TimeZone (Struct)
DateTime (STRUCT) ¶ TYPE DateTime : STRUCT Two formats are supported: Absolute format: defines an exact time. “uiYear”, “uiMonth”, “uiDay”, “uiHour”, “uiMinute” and “uiSecond” define the exact time. “uiWeekday” is of no importance. Day of the month format: is selected by setting ”uiYear” to 0. „uiWeekday“ defines a weekday and “uiDay” specifies the day of the month in a value range of 1..5. This notation makes it possible to define the first Sunday in April as well as the last Thursday in October (“uiDay” = 1 corresponds to the first weekday in a month, “uiDay” = 5 corresponds to the last weekday in a month) Note The following applies for the summer time in Europe: The switch to summer time is done on the last Sunday in March. At 2:00 a.m. the clock is set ahead by one hour. The following applies for the winter time (standard time) in Europe: The switch to winter time is done on the last Sunday in October. At 3:00 a.m. the clock is set back by one hour. InOut: Name Type Comment uiYear YEAR uiMonth MONTH uiDay DAY If Year = 0, then 1..5 1 => first day in this month, 5 => last day in this month uiHour HOUR uiMinute MINUTE uiSecond SECOND uiMilliseconds MILLISECOND eWeekday WEEKDAY