CacheSlots_Serialize (FUN) ¶ FUNCTION CacheSlots_Serialize : BOOL InOut: Scope Name Type Return CacheSlots_Serialize BOOL Input stream SM0.IOutStream k0 UDINT x0_rel LREAL Inout Const cache Trj_EvalCache Output nCacheSlots UDINT
GetMappingParams (FUN) ¶ FUNCTION GetMappingParams : BOOL Reads the parameters for cyclic outputs (starting at parameter 8000) and cyclic inputs (starting at parameter 8500) and fills ameOutputs and ameInputs. InOut: Scope Name Type Return GetMappingParams BOOL Input pConnector POINTER TO IoConfigConnector Inout ameOutputs ARRAY [0..(gc_uiNumberOfMappings - 1)] OF MappingEntry ameInputs ARRAY [0..(gc_uiNumberOfMappings - 1)] OF MappingEntry Output uiDriveInterfaceError UINT strDriveInterfaceError STRING
IsParameterMapped (FUN) ¶ FUNCTION IsParameterMapped : BOOL Returns whether a given SML parameter is mapped in ameMappings InOut: Scope Name Type Comment Input iParameterNumber INT The SML parameter Inout ameMappings ARRAY [0..(gc_uiNumberOfMappings - 1)] OF MappingEntry The mapping table Return IsParameterMapped BOOL
MappingEntry (STRUCT) ¶ TYPE MappingEntry : STRUCT Describes a parameter that is mapped cyclically InOut: Name Type Comment dwAddress POINTER TO BYTE The address in the process I/O memory where the parameter is stored dwBitmask DWORD A bit mask to the portion of a DWORD where the value resided iSMParamID INT The SML parameter number that is mapped usiBitOffset USINT The bit offset in the DWORD usiBitLength USINT The length of the value in bits
Math ¶ Add64_64 (Function) Div64_32 (Function) LEQ64_64 (Function) Mul64_32 (Function) SHL64 (Function) SHR64 (Function) Sub64_64 (Function) UI64 (Struct)
Add64_64 (FUN) ¶ FUNCTION Add64_64 : UI64 Adds two unsigned 64-bit numbers, given as pairs of 32 bit numbers. The result is an unsigned 64-bit number, given as a pair of 32 bit numbers. The addition is performed modulo 2^64, i.e. it “wraps” around. Note: this function can always be used, no matter whether the target system supports 64 bit types. InOut: Scope Name Type Input s1 UI64 s2 UI64 Return Add64_64 UI64
PT1_Extrapolate.InSteadyState (METH) ¶ METHOD FINAL InSteadyState : BOOL InOut: Scope Name Type Return InSteadyState BOOL
PT1_Extrapolate.Init (METH) ¶ METHOD FINAL Init
PT1_Extrapolate.Next (METH) ¶ METHOD FINAL Next : LREAL InOut: Scope Name Type Input x LREAL x_t LREAL Return Next LREAL Output y_t LREAL
CacheElem_Serialize (FUN) ¶ FUNCTION CacheElem_Serialize : BOOL InOut: Scope Name Type Return CacheElem_Serialize BOOL Input stream SM0.IOutStream Inout Const ce Trj_CacheElem