StateMachine.StartShutdown (METH) ¶ METHOD StartShutdown : SysTypes.RTS_IEC_RESULT This method is called to start the shutdown sequence. Implementations can use it to start logging out from the connected device for example. This method is not called while a request is pending. InOut: Scope Name Type Comment Return StartShutdown SysTypes.RTS_IEC_RESULT An error code representing the result of this operation. In case an error happens, an according eror code should be returned. Please remark that this operation is not expected to return CmpErrors.Errors.ERR_PENDING. A successfull return (CmpErrors.Errors.ERR_OK) of this method will then cause followup calls to |IDriverStateMachine.ShuttingDown| .
StateMachine.WaitingForCommSetting (METH) ¶ METHOD WaitingForCommSetting : SysTypes.RTS_IEC_RESULT Waiting for communication settings InOut: Scope Name Type Return WaitingForCommSetting SysTypes.RTS_IEC_RESULT Input xPreview BOOL
StateMachine.FillAddress (METH) ¶ METHOD FillAddress : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return FillAddress SysTypes.RTS_IEC_RESULT Inout Const ni CmpNameServiceClientIec.NSC_CompleteNodeInfo Inout addr STRING
Assert (FUN) ¶ FUNCTION Assert : BOOL InOut: Scope Name Type Return Assert BOOL Input xCondition BOOL Inout Const msg STRING
ErrorToString (FUN) ¶ FUNCTION ErrorToString : STRING InOut: Scope Name Type Return ErrorToString STRING Input udi UDINT
Monitoring Logging ¶ GVL_MonLog (GVL) MonLog_Binary (Function) MonLog_CurrentTime (Function) MonLog_DumpDataItem (Function) MonLog_DumpDataItemBase (Function) MonLog_DumpDataItemWriting (Function) MonLog_Error (Function) MonLog_ErrorAndClose (Function) MonLog_LogLine (Function) MonLog_OkAndClose (Function)
GVL_MonLog (GVL) ¶ Attributes: qualified_only InOut: Name Type Initial stRequestFile STRING ‘ MonReq_ ’ stResponseFile STRING ‘ MonResp_ ’ iMaxParallelFiles INT 10 iCurrentFile INT 0 iCurrentReadRequest UDINT 0
MonLog_Binary (FUN) ¶ FUNCTION MonLog_Binary : BOOL InOut: Scope Name Type Return MonLog_Binary BOOL Input hFile SysFile.RTS_IEC_HANDLE pData POINTER TO BYTE uiSize UDINT
MonLog_CurrentTime (FUN) ¶ FUNCTION MonLog_CurrentTime : BOOL InOut: Scope Name Type Return MonLog_CurrentTime BOOL Input hFile SysFile.RTS_IEC_HANDLE
MonLog_DumpDataItem (FUN) ¶ FUNCTION MonLog_DumpDataItem : BOOL InOut: Scope Name Type Return MonLog_DumpDataItem BOOL Input hFile SysFile.RTS_IEC_HANDLE item IDatasources.IDataItem pOptAddressInfo POINTER TO AddressGeneratedInfo