IDataChangeDetector.DataChangedInOnlineChange (PROP) ¶ PROPERTY DataChangedInOnlineChange : BOOL Returns whether the data has changed during a OnlineChange This information is only valid during OnlineChange
PersistenceChannel (FB) ¶ FUNCTION_BLOCK PersistenceChannel EXTENDS AC.Module IMPLEMENTS ICmpEventCallback, IPersistenceChannel5 , IMaxObjSizeProvider InOut: Scope Name Type Initial Comment Input itfDataStorage IDataStorage submodules tPeriodicSaving TIME TIME#60m0s0ms parameters xSaveOnChange BOOL FALSE Do not change this value while the application is running xReadVarsDuringInit BOOL FALSE xCompressTags BOOL TRUE xConsistentCopyInHighPrioTask BOOL FALSE xConvertVarsWithDifferentType BOOL TRUE xIntegrityCheckBeforeReading BOOL TRUE xSeparateArchivePerToplevelInstance BOOL FALSE xMakeDataCRCConsistencyCheck BOOL FALSE uiSavingRetriesIfCRCCisistencyCheckFails UINT 0 xLogSaveTimeEnabled BOOL TRUE eAutomaticActionOnlineChange AutomaticActionOnlineChange AutomaticActionOnlineChange.Save eAutomaticActionPlcStop AutomaticActionPlcStop AutomaticActionPlcStop.Save uiNumberOfLists UINT pinstlist POINTER TO PersistentInstanceList xChannelDisabled BOOL FALSE IOs Output xActionOngoing BOOL the FB is currently active udiNumberOfVars UDINT udiDataMemSize UDINT xReadingDone BOOL dtLastReading DT udiNumberVarsNotOk UDINT udiNumberVarsOk UDINT tTimeForReading TIME dtLastSaving DT tTimeForWriting TIME udiWritingCycles UDINT Properties: Enabled CurrentAction LogWriteTimeEnabled ReadCycles SuccessfulWriteCycles WriteCycles Methods: ExternalLoad ExternalSave ExternalSaveAs GetIsActionOngoing SetIsActionOngoing CallPrioHighStart CallPrioLowStart EventCallback ExternalLoadFrom GetErrorMessage Init OnAfterOnlineChange fb_exit Structure: Enabled (Property) ErrorHandling GetErrorMessage (Method) ExternalLoad (Method) ExternalSave (Method) ExternalSaveAs (Method) GetIsActionOngoing (Method) IModule CallPrioHighStart (Method) CallPrioLowStart (Method) Init (Method) OnAfterOnlineChange (Method) IPersistenceChannel4 ExternalLoadFrom (Method) LogWriteTimeEnabled (Property) IPersistenceChannel5 CurrentAction (Property) ReadCycles (Property) SuccessfulWriteCycles (Property) WriteCycles (Property) SetIsActionOngoing (Method) private Callback EventCallback (Method) fb_exit (Method)
PersistenceChannel.Enabled (PROP) ¶ PROPERTY Enabled : BOOL
ErrorHandling ¶ GetErrorMessage (Method)
PersistenceChannel.GetErrorMessage (METH) ¶ METHOD GetErrorMessage : STRING(255) InOut: Scope Name Type Return GetErrorMessage STRING(255) Input uiErrorNumber UINT sLanguage STRING
PersistenceChannel.ExternalLoad (METH) ¶ METHOD ExternalLoad : BOOL InOut: Scope Name Type Return ExternalLoad BOOL
PersistenceChannel.ExternalSave (METH) ¶ METHOD ExternalSave : BOOL InOut: Scope Name Type Return ExternalSave BOOL
PersistenceChannel.ExternalSaveAs (METH) ¶ METHOD ExternalSaveAs : BOOL InOut: Scope Name Type Return ExternalSaveAs BOOL Input itfDataStorage IDataStorage
PersistenceChannel.GetIsActionOngoing (METH) ¶ METHOD GetIsActionOngoing : BOOL This method tries to get if this channel is currently active writing or reading. ..return: If it was possible to get the current state of activity. If this is FALSE xIsActionOngoing is not valid! InOut: Scope Name Type Return GetIsActionOngoing BOOL Output xIsActionOngoing BOOL
PersistenceChannelAction (ENUM) ¶ TYPE PersistenceChannelAction : Attributes: qualified_only InOut: Name Initial None 0 Reading Writing