Queue.IsEmpty (METH) ¶ METHOD FINAL IsEmpty : BOOL Returns whether the queue is empty. InOut: Scope Name Type Return IsEmpty BOOL
Random ¶ RndI (FunctionBlock) Advance (Method) GetCur (Method) Init (Method) RndI_Range (FunctionBlock) Advance (Method) GetCur (Method) Init (Method)
RndI (FB) ¶ FUNCTION_BLOCK FINAL RndI Returns pseudo-random integer numbers in the range [0, MAX_VALUE]. Methods: Advance GetCur Init Structure: Advance (Method) GetCur (Method) Init (Method)
CacheElems_Serialize (FUN) ¶ FUNCTION CacheElems_Serialize : BOOL InOut: Scope Name Type Return CacheElems_Serialize BOOL Input stream SM0.IOutStream i0 UDINT Inout Const cache Trj_EvalCache Output nCacheElems UDINT
Logging ¶ DoLog (Function) DoLogError (Function) DoLogInfo (Function)
DoLog (FUN) ¶ FUNCTION DoLog : BOOL Writes to the standard logger with the SoftMotion class ID. The message is only written if (lc AND Logging.FilterMask) is not 0. InOut: Scope Name Type Comment Return DoLog BOOL Input lc UDINT The logging class (see CmpLog.LogClass). sLog STRING(255) The text to be logged.
DoLogError (FUN) ¶ FUNCTION DoLogError : BOOL Writes log messages with regard to an error to the standard logger with the SoftMotion class ID. The message is only written if (CmpLog.LogClass.LOG_ERROR AND Logging.FilterMask) is not 0. InOut: Scope Name Type Comment Return DoLogError BOOL Input sLog STRING(255) The text to be logged. errorId SM3_Error.SMC_ERROR The error id that this log message belongs to.
DoLogInfo (FUN) ¶ FUNCTION DoLogInfo : BOOL Writes log messages with regard to an info to the standard logger with the SoftMotion class ID. The message is only written if (CmpLog.LogClass.LOG_INFO AND Logging.FilterMask) is not 0. InOut: Scope Name Type Comment Return DoLogInfo BOOL Input sLog STRING(255) The text to be logged. infoId SM3_Error.SMC_INFO The info id that this log message belongs to.
CacheSlot_Serialize (FUN) ¶ FUNCTION CacheSlot_Serialize : BOOL InOut: Scope Name Type Return CacheSlot_Serialize BOOL Input stream SM0.IOutStream Inout Const slot Trj_CacheSlot
Logging (GVL) ¶ Attributes: qualified_only InOut: Name Type Initial Comment FilterMask UDINT CmpLog.LogClass.LOG_ALL This global variable can be used to filter the log messages which are logged for the SoftMotion component. The filter is based on the log class (info, warning, error, …). The default is LOG_ALL , which means that all messages are logged.` See CmpLog.LogClass for the possible values. Examples: In order to filter out informational messages, the value LOG_ALL AND (NOT LOG_INFO) can be used. In order to log only errors, the value LOG_ERROR can be used. In order to disable logging, the value LOG_NONE can be used. logFilterSet BOOL itfLogFilter ILogFilter