List ¶ List (Folder) AppendElem (Method) InsertElem (Method) PopBackElem (Method) PopElem (Method) PushElem (Method) RemoveElem (Method) ListBase (FunctionBlock) HeadElem (Property) ListIsEmpty (Property) ListSize (Property) TailElem (Property) TypedList (FunctionBlock) AppendElem (Method) InsertElem (Method) PopBackElem (Method) PopElem (Method) PushElem (Method) RemoveElem (Method)
List (FB) ¶ FUNCTION_BLOCK List EXTENDS ListBase IMPLEMENTS IList Properties: HeadElem , inherited from ListBase ListIsEmpty , inherited from ListBase ListSize , inherited from ListBase TailElem , inherited from ListBase Methods: AppendElem InsertElem PopBackElem PopElem PushElem RemoveElem Structure: AppendElem (Method) InsertElem (Method) PopBackElem (Method) PopElem (Method) PushElem (Method) RemoveElem (Method)
CAA Mathematics ¶ This library provides some helpful mathematical program units. The standardized in- and outputs of function blocks are described in detail with the CAA guidelines, so that we will omit this aspect here. Functions Transformations LinearTrafo (FunctionBlock) fmod (Function) analog monitors Hysteresis_DINT (FunctionBlock) Hysteresis_LREAL (FunctionBlock) LimitAlarm_DINT (FunctionBlock) LimitAlarm_LREAL (FunctionBlock) sgn (Function) analytical functions CalcRootLin (FunctionBlock) CalcRootParable (FunctionBlock) Derivative (FunctionBlock) Integral (FunctionBlock) PolynomialValue (Function) function manipulators CharCurve_DINT (FunctionBlock) CharCurve_LREAL (FunctionBlock) geometrical functions Line Functions ProjectPointOnLine (Function) Plane Functions CalcHesseRepresentation (FunctionBlock) ProjectPointOnPlane (Function) Polar coordinates CartesianToPolar (FunctionBlock) PolarToCartesian (FunctionBlock) Vector Functions AddMultiplicatedVector (Function) CrossProduct (FunctionBlock) CrossProductNormed (FunctionBlock) MakeNormed3D (Function) Norm3D (Function) ScalProd3D (Function) ScalProd3DStand (Function) SubVector (Function) signals MeasureFrequence (FunctionBlock) statistical functions Statistics_DINT (FunctionBlock) Statistics_LREAL (FunctionBlock) Variance (FunctionBlock) trigonometrical functions atan2 (Function) Global Variables GlobalConstants (GVL) Structs LINE_3D (Struct) PLANE_H (Struct) POINT2_DINT (Struct) POINT2_LREAL (Struct) VECTOR3D (Struct)
Functions ¶ Transformations LinearTrafo (FunctionBlock) fmod (Function) analog monitors Hysteresis_DINT (FunctionBlock) Hysteresis_LREAL (FunctionBlock) LimitAlarm_DINT (FunctionBlock) LimitAlarm_LREAL (FunctionBlock) sgn (Function) analytical functions CalcRootLin (FunctionBlock) CalcRootParable (FunctionBlock) Derivative (FunctionBlock) Integral (FunctionBlock) PolynomialValue (Function) function manipulators CharCurve_DINT (FunctionBlock) CharCurve_LREAL (FunctionBlock) geometrical functions Line Functions ProjectPointOnLine (Function) Plane Functions CalcHesseRepresentation (FunctionBlock) ProjectPointOnPlane (Function) Polar coordinates CartesianToPolar (FunctionBlock) PolarToCartesian (FunctionBlock) Vector Functions AddMultiplicatedVector (Function) CrossProduct (FunctionBlock) CrossProductNormed (FunctionBlock) MakeNormed3D (Function) Norm3D (Function) ScalProd3D (Function) ScalProd3DStand (Function) SubVector (Function) signals MeasureFrequence (FunctionBlock) statistical functions Statistics_DINT (FunctionBlock) Statistics_LREAL (FunctionBlock) Variance (FunctionBlock) trigonometrical functions atan2 (Function)
Transformations ¶ LinearTrafo (FunctionBlock) fmod (Function)
LinearTrafo (FB) ¶ FUNCTION_BLOCK LinearTrafo This function will calculate the linear transformation \(y \in \mathbb{R}\) of \(x \in \mathbb{R}\) according to \[ \begin{align}\begin{aligned}\frac{y - y_{1}}{y_{2}-y_{1}} = \frac{x-x_{1}}{x_{2}-x_{1}}\\\mathrm{with}\ x_{1}, x_{2}, y_{1}, y_{2} \in \mathbb{R}\ \mathrm{and}\ x_{1} \neq x_{2} \land x_{1} \leq x \leq x_{2}\end{aligned}\end{align} \] InOut: Scope Name Type Comment Input lrInputValue LREAL Value \(x\) to be transformated lrInput1 LREAL Coefficient \(x_{1} \in \mathbb{R}\) lrInput2 LREAL Coefficient \(x_{2} \in \mathbb{R}\) lrOutput1 LREAL Coefficient \(y_{1} \in \mathbb{R}\) lrOutput2 LREAL Coefficient \(y_{2} \in \mathbb{R}\) Output lrOutputValue LREAL Linear transformation \(y \in \mathbb{R}\) of \(x \in \mathbb{R}\) xOutOfLimits BOOL Error flag TRUE : If \(x_{1} = x_{2} \lor x < x_{1} \lor x > x_2\)
fmod (FUN) ¶ FUNCTION fmod : LREAL This function will return the modulo of the integral division \(\frac{x}{m}\) : \[x\ \mathrm{mod}\ m = x - \left \lfloor \frac{x}{m} \right \rfloor \cdot m\] Note The invalid input \(m=0\) will result in the return 0. InOut: Scope Name Type Comment Return fmod LREAL Input lrX LREAL Dividend \(x\) lrM LREAL Divisor \(m\)
CAA Types Extern Library Documentation ¶ Company CAA Technical Workgroup Title CAA Types Extern Version 3.5.13.0 Categories Intern|CAA|Foundation Namespace CAA Author 3S - Smart Software Solutions GmbH Placeholder CAA Types Description 1 ¶ Basic system dependend data types Contents: ¶ CAA Types Convert Functions Enums Function Blocks GlobalConstants GlobalVariables Helper Fuctions Types GetSupplierVersion (Function) VersionConstants (GVL) Indices and tables ¶ 1 Based on CAA_Types_Extern.library, last modified 03.07.2018, 09:55:47. LibDoc 4.4.0.0-b.27 The content file CAA_Types_Extern.clean.json was generated with CODESYS V3.5 SP13 on 03.07.2018, 09:55:51.
Convert Functions ¶ COUNT COUNT_TO_UDINT (Function) COUNT_TO_UINT (Function) COUNT_TO_ULINT (Function) UDINT_TO_COUNT (Function) UINT_TO_COUNT (Function) ULINT_TO_COUNT (Function) DURATION DURATION_TO_LTIME (Function) DURATION_TO_TIME (Function) LTIME_TO_DURATION (Function) TIME_TO_DURATION (Function) FLOAT FLOAT_TO_LREAL (Function) FLOAT_TO_REAL (Function) LREAL_TO_FLOAT (Function) REAL_TO_FLOAT (Function) HANDLE DWORD_TO_HANDLE (Function) HANDLE_TO_DWORD (Function) HANDLE_TO_LWORD (Function) HANDLE_TO_WORD (Function) LWORD_TO_HANDLE (Function) WORD_TO_HANDLE (Function) IDENT DWORD_TO_IDENT (Function) IDENT_TO_DWORD (Function) IDENT_TO_WORD (Function) WORD_TO_IDENT (Function) PVOID DWORD_TO_PVOID (Function) LWORD_TO_PVOID (Function) PVOID_TO_DWORD (Function) PVOID_TO_LWORD (Function) PVOID_TO_WORD (Function) WORD_TO_PVOID (Function) SIGNED DINT_TO_SIGNED (Function) INT_TO_SIGNED (Function) LINT_TO_SIGNED (Function) SIGNED_TO_DINT (Function) SIGNED_TO_INT (Function) SIGNED_TO_LINT (Function) SIZE SIZE_TO_UDINT (Function) SIZE_TO_UINT (Function) SIZE_TO_ULINT (Function) UDINT_TO_SIZE (Function) UINT_TO_SIZE (Function) ULINT_TO_SIZE (Function) TICK TICK_TO_UDINT (Function) TICK_TO_UINT (Function) TICK_TO_ULINT (Function) UDINT_TO_TICK (Function) UINT_TO_TICK (Function) ULINT_TO_TICK (Function) UNSIGNED UDINT_TO_UNSIGNED (Function) UINT_TO_UNSIGNED (Function) ULINT_TO_UNSIGNED (Function) UNSIGNED_TO_UDINT (Function) UNSIGNED_TO_UINT (Function) UNSIGNED_TO_ULINT (Function)
CAA Types ¶ Convert Functions COUNT COUNT_TO_UDINT (Function) COUNT_TO_UINT (Function) COUNT_TO_ULINT (Function) UDINT_TO_COUNT (Function) UINT_TO_COUNT (Function) ULINT_TO_COUNT (Function) DURATION DURATION_TO_LTIME (Function) DURATION_TO_TIME (Function) LTIME_TO_DURATION (Function) TIME_TO_DURATION (Function) FLOAT FLOAT_TO_LREAL (Function) FLOAT_TO_REAL (Function) LREAL_TO_FLOAT (Function) REAL_TO_FLOAT (Function) HANDLE DWORD_TO_HANDLE (Function) HANDLE_TO_DWORD (Function) HANDLE_TO_LWORD (Function) HANDLE_TO_WORD (Function) LWORD_TO_HANDLE (Function) WORD_TO_HANDLE (Function) IDENT DWORD_TO_IDENT (Function) IDENT_TO_DWORD (Function) IDENT_TO_WORD (Function) WORD_TO_IDENT (Function) PVOID DWORD_TO_PVOID (Function) LWORD_TO_PVOID (Function) PVOID_TO_DWORD (Function) PVOID_TO_LWORD (Function) PVOID_TO_WORD (Function) WORD_TO_PVOID (Function) SIGNED DINT_TO_SIGNED (Function) INT_TO_SIGNED (Function) LINT_TO_SIGNED (Function) SIGNED_TO_DINT (Function) SIGNED_TO_INT (Function) SIGNED_TO_LINT (Function) SIZE SIZE_TO_UDINT (Function) SIZE_TO_UINT (Function) SIZE_TO_ULINT (Function) UDINT_TO_SIZE (Function) UINT_TO_SIZE (Function) ULINT_TO_SIZE (Function) TICK TICK_TO_UDINT (Function) TICK_TO_UINT (Function) TICK_TO_ULINT (Function) UDINT_TO_TICK (Function) UINT_TO_TICK (Function) ULINT_TO_TICK (Function) UNSIGNED UDINT_TO_UNSIGNED (Function) UINT_TO_UNSIGNED (Function) ULINT_TO_UNSIGNED (Function) UNSIGNED_TO_UDINT (Function) UNSIGNED_TO_UINT (Function) UNSIGNED_TO_ULINT (Function) Enums ENDIANESS (Enum) ERROR (Enum) SYSTYPE (Enum) Function Blocks BOLT (FunctionBlock) Enter (Method) Free (Method) Leave (Method) Reserve (Method) SEMA (FunctionBlock) Init (Method) Preset (Property) Release (Method) Request (Method) GlobalConstants Constants (GVL) System (GVL) GlobalVariables Architecture (GVL) Helper Fuctions TaskLock (Function) TaskUnlock (Function) Types COUNT (Alias) DURATION (Alias) FILENAME (Alias) FLOAT (Alias) HANDLE (Alias) IDENT (Alias) PVOID (Alias) SIGNED (Alias) SIZE (Alias) TICK (Alias) UNSIGNED (Alias)