UML Statechart Types Library Documentation ¶ Company : 3S - Smart Software Solutions GmbH Title : UML Statechart Types Version : 4.3.0.0 Categories : Intern|UML Namespace : UML_SC Author : 3S - Smart Software Solutions GmbH Placeholder : UML_SC Description [ 1 ] ¶ Structure for UML state charts Contents: ¶ StateChart_R_TRIG (FunctionBlock) _UML_SC_IntraStatePosition (Enum) _UML_SC_State (Struct) _UML_SC_StateTypes (Enum) _UML_SC_Statechart (Struct) _UML_SC_Transition (Struct) Indices and tables ¶ [ 1 ] Based on UML Statechart Types.library, last modified 28.09.2023, 15:49:48. LibDoc 4.4.0.0-b.37 The content file UML Statechart Types.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 28.09.2023, 15:49:51.
StateChart_R_TRIG (FB) ¶ FUNCTION_BLOCK StateChart_R_TRIG Rising edge detection InOut: Scope Name Type Comment Input CLK BOOL Signal to detect BYPASS BOOL Output Q BOOL rising edge at signal detected
_UML_SC_IntraStatePosition (ENUM) ¶ TYPE _UML_SC_IntraStatePosition : InOut: Name beforeEntry AfterEntry AfterDo
_UML_SC_State (STRUCT) ¶ TYPE _UML_SC_State : STRUCT InOut: Name Type Comment Active BOOL Check if this state is currently active FastExecutionFault BOOL Check if the maximum do-cycles have been exceeded (in-cycle state only) ID INT The identifier for the related state ActivationTime TIME The time stamp of the last activation Name STRING Added in 4.0.2.1 to show the name of the state.
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL InOut: Scope Name Type Return IsLibReleased BOOL
utf8 ¶ Functions DecodeLastRune (Function) DecodeRune (Function) DecodeRune2 (Function) EncodeRune (Function) EncodeRune2 (Function) IsFullRune (Function) IsRuneStart (Function) IsValid (Function) IsValidRune (Function) ReduceSegment (Function) RuneCount (Function) RuneLen (Function) Globals Constants (GVL) Types RUNE (Alias)
Functions ¶ DecodeLastRune (Function) DecodeRune (Function) DecodeRune2 (Function) EncodeRune (Function) EncodeRune2 (Function) IsFullRune (Function) IsRuneStart (Function) IsValid (Function) IsValidRune (Function) ReduceSegment (Function) RuneCount (Function) RuneLen (Function)
DecodeLastRune (FUN) ¶ FUNCTION DecodeLastRune : RUNE Unpacks the last UTF-8 encoding in pbyData and returns the rune and its position ( udiIndex ) and length ( udiLength ) in bytes. If pbyData is empty it returns ( c_diRuneError , udiLength=0 ). Otherwise, if the encoding is invalid, it returns ( c_diRuneError , udiLength=1` ). Both are impossible results for correct, non-empty UTF-8. An encoding is invalid if it is incorrect UTF-8, encodes a rune that is out of range, or is not the shortest possible UTF-8 encoding for the value. No other validation is performed. InOut: Scope Name Type Comment Return DecodeLastRune RUNE Input pbyData POINTER TO BYTE Pointer to the first byte in memory udiSize UDINT Size of the memory in bytes Output udiLength UDINT Length of the rune in bytes udiIndex UDINT Index of the last rune (depending to the bytes in memory)