PersistentInstanceList (STRUCT) ¶ TYPE PersistentInstanceList : STRUCT InOut: Name Type Comment uiNumberOfVars UDINT pvar POINTER TO PersistentVarDesc pbyName POINTER TO BYTE pbyConsistentCopy POINTER TO BYTE internal pbyCompareCopy POINTER TO BYTE udiDataMemSize UDINT
PersistentVarDesc (STRUCT) ¶ TYPE PersistentVarDesc : STRUCT InOut: Name Type Comment pbyData POINTER TO BYTE pointer to data pbyInstancePath POINTER TO BYTE name of variable tc TypeClass type of the variabele uiMaxSize UINT only for (W)STRINGs: size of (W)STRING
TL_PersistenceManager (Text List) ¶ ID Default DE EN PersistenceManager_Description Module that takes care of saving and loading values of persistent variable Modul, das das Laden und Speichern persistenter Variablen zur Aufgabe hat. Module that takes care of saving and loading values of persistent variable PersistenceManagerLow_Task low priority: niedrige Priorität: low priority: Role_DataStorage Data Storage Datenspeicher Data Storage NAME_xCompressTags xCompressTags xCompressTags xCompressTags DESC_xCompressTags TRUE: compress variable tags TRUE: Variablenbezeichnungen komprimieren TRUE: compress variable tags NAME_tPeriodicSaving tPeriodicSaving tPeriodicSaving tPeriodicSaving DESC_tPeriodicSaving time after which the variables are stored (0: periodic saving off) Zeitintervall, in welchem die Werte gespeichert werden (0: periodische Speicherung aus) time after which the variables are stored (0: periodic saving off) NAME_xReadVarsDuringInit xReadVarsDuringInit xReadVarsDuringInit xReadVarsDuringInit DESC_xReadVarsDuringInit TRUE: read the persistent variables during initialization of application; FALSE: read variable values during first cycle TRUE: Variablen während Initialisierungsphase lesen FALSE: im ersten Zyklus NAME_xConsistentCopyInHighPrioTask xConsistentCopyInHighPrioTask xConsistentCopyInHighPrioTask xConsistentCopyInHighPrioTask DESC_xConsistentCopyInHighPrioTask TRUE: persistent variables are copied in high priority task TRUE: Persitenzvariablen werden in höchstpriorer Task kopiert TRUE: persistent variables are copied in high priority task PersistenceManagerHigh_Task highest priority: höchste Priorität: highest priority: NAME_xSaveOnChange xSaveOnChange xSaveOnChange xSaveOnChange DESC_xSaveOnChange TRUE: permanently compare old and actual values and save when different TRUE: ständiger Vergleich zwischen vorigen und aktuellen Werten Speichern, wenn unterschiedlich NAME_xConvertVarsWithDifferentType xConvertVarsWithDifferentType xConvertVarsWithDifferentType xConvertVarsWithDifferentType DESC_xConvertVarsWithDifferentType TRUE: if types of stored and actual variable are different, try to convert stored value TRUE: wenn gespeicherter und tatsächlicher Variablentyp unterscheidlich, versuche Konvertierung TRUE: if types of stored and actual variable are different, try to convert stored value NAME_xIntegrityCheckBeforeReading xIntegrityCheckBeforeReading xIntegrityCheckBeforeReading xIntegrityCheckBeforeReading DESC_xIntegrityCheckBeforeReading TRUE: do an integrity check of data base TRUE: Integrität der Datenbank überprüfen TRUE: do an integrity check of data base PersistenceChannel_Description Module that deals with the persistence variables that are held in the same data base Modul, das die persistenten Variablen behandelt, die in derselben Datenbank gehalten werden. Module that deals with the persistence variables that are held in the same data base Role_Channels Channels Kanäle Channels NAME_xSeparateArchivePerToplevelInstance `` xSeparateArchivePerToplevelInstance `` xSeparateArchivePerToplevelInstance xSeparateArchivePerToplevelInstance DESC_xSeparateArchivePerToplevelInstance TRUE: generate a separate archive for each toplevel instance TRUE: erzeuge für jede Toplevel-Instanz ein eigenes Archiv TRUE: generate a separate archive for each toplevel instance NAME_xMakeDataCRCConsistencyCheck xMakeDataCRCConsistencyCheck xMakeDataCRCConsistencyCheck xMakeDataCRCConsistencyCheck DESC_xMakeDataCRCConsistencyCheck TRUE: a CRC is calculated before and after the saving process, whereas both CRC have to match for a successful saving TRUE: ein CRC-Wert wird vor und nach dem Speichervorgangs berechnet, wobei beide werte übereinstimmen müssen um den Speichervorgang erfolgreich abzuschließen TRUE: a CRC is calculated before and after the saving process, whereas both CRC have to match for a successful saving NAME_uiSavingRetriesIfCRCCisistencyCheckFails uiSavingRetriesIfCRCConsistencyCheckFails uiSavingRetriesIfCRCConsistencyCheckFails uiSavingRetriesIfCRCConsistencyCheckFails DESC_uiSavingRetriesIfCRCCisistencyCheckFails If xMakeDataCRCConsistencyCheck is TRUE, this value indicates how often saving is retried if a CRC missmatch was detected Falls xMakeDataCRCConsistencyCheck auf TRUE steht, gibt dieser Wert an, wie oft der Speichervorgang wiederholt werden soll, falls die berechneten CRC-Werte nicht übereinstimmen If xMakeDataCRCConsistencyCheck is TRUE, this value indicates how often saving is retried if a CRC missmatch was detected DisableChannel_Name Disable channel Kanal deaktivieren Disable channel DisableChannel_Desc While the channel is deactivated no reading or writing is performed. Während der Kanal deaktiviert ist, wird kein Speichern oder Laden ausgeführt While the channel is deactivated no reading or writing is performed. xLogSaveTimeEnabled_Desc Whether the time for writing shall be logged Entscheidet, ob die Zeit, die zum Schreiben benötigt wird, geloggt wird. Whether the time for writing shall be logged xLogSaveTimeEnabled_Name xLogSaveTimeEnabled xLogSaveTimeEnabled xLogSaveTimeEnabled eAutomaticActionOnlineChange_Name eAutomaticActionOnlineChange eAutomaticActionOnlineChange eAutomaticActionOnlineChange eAutomaticActionOnlineChange_Desc The action that shall be performed in case of an OnlineChange Beschreibt die Aktion, die im Falle eines OnlineChanges ausgeführt werden soll. The action that shall be performed in case of an OnlineChange eAutomaticActionPlcStop_Name eAutomaticActionPlcStop eAutomaticActionPlcStop eAutomaticActionPlcStop eAutomaticActionPlcStop_Desc The action that shall be performed in case of an Reset Beschreibt die Aktion, die im Falle eines Reset ausgeführt werden soll. The action that shall be performed in case of an Reset
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 08.08.2023, 09:14:51 companyName string 3S-Smart Software Solutions GmbH libraryFile AC_Persistence.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile AC_Persistence.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 08.08.2023, 09:14:51 LibraryCategories library-category-list Application|Composer Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace AC_PERSIST Description See: Description Placeholder AC_Persistence Project AC_Persistence Title AC_Persistence Version version 4.3.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. AC_ModuleBase ¶ Library Identification ¶ Placeholder: AC_ModuleBase Default Resolution: AC_ModuleBase, * (3S - Smart Software Solutions GmbH) Namespace: AC Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: AC_ModuleBase Base Interfaces ¶ Library Identification ¶ Name: Base Interfaces Version: newest Company: System Namespace: IBaseLibrary Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Base Interfaces, * (System) CAA Memory ¶ Library Identification ¶ Placeholder: CAA Memory Default Resolution: CAA Memory, * (CAA Technical Workgroup) Namespace: MEM Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Memory CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types CmpApp ¶ Library Identification ¶ Placeholder: CmpApp Default Resolution: CmpApp, * (System) Namespace: CmpApp Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpApp CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) CmpEventMgr ¶ Library Identification ¶ Placeholder: CmpEventMgr Default Resolution: CmpEventMgr, * (System) Namespace: CmpEventMgr Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpEventMgr CmpIecVarAccess ¶ Library Identification ¶ Placeholder: CmpIecVarAccess Default Resolution: CmpIecVarAccess, * (System) Namespace: CmpIecVarAccess Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpIecVarAccess CmpLog ¶ Library Identification ¶ Placeholder: CmpLog Default Resolution: CmpLog, * (System) Namespace: CmpLog Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpLog CmpSchedule ¶ Library Identification ¶ Placeholder: CmpSchedule Default Resolution: CmpSchedule, * (System) Namespace: CmpSchedule Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpSchedule Component Manager ¶ Library Identification ¶ Placeholder: Component Manager Default Resolution: Component Manager, * (System) Namespace: Component_Manager Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Component Manager FloatingPointUtils ¶ Library Identification ¶ Placeholder: FloatingPointUtils Default Resolution: FloatingPointUtils, * (System) Namespace: FPU Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: FloatingPointUtils MemoryUtils ¶ Library Identification ¶ Placeholder: MemoryUtils Default Resolution: MemoryUtils, * (3S - Smart Software Solutions GmbH) Namespace: MEMUtils Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: MemoryUtils Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard StringUtils ¶ Library Identification ¶ Placeholder: StringUtils Default Resolution: StringUtils, * (System) Namespace: Stu Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: StringUtils SysCpuHandling ¶ Library Identification ¶ Placeholder: SysCpuHandling Default Resolution: SysCpuHandling, * (System) Namespace: SysCpuHandling Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysCpuHandling SysFile ¶ Library Identification ¶ Placeholder: SysFile Default Resolution: SysFile, * (System) Namespace: SysFile Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysFile SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysTime ¶ Library Identification ¶ Placeholder: SysTime Default Resolution: SysTime, * (System) Namespace: SysTime Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTime SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System) VisuElem3DPath ¶ Library Identification ¶ Placeholder: System_VisuElem3DPath Default Resolution: VisuElem3DPath, 3.5.14.0 (System) Namespace: VisuElem3DPath Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElem3DPath Library Parameter ¶ Parameter: GC_POINTS_PER_POLYGON = 100 VisuElemCamDisplayer ¶ Library Identification ¶ Placeholder: System_VisuElemCamDisplayer Default Resolution: VisuElemCamDisplayer, 3.5.14.0 (System) Namespace: VisuElemCamDisplayer Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemCamDisplayer Library Parameter ¶ Parameter: GC_POINTS_PER_CAM = 100 VisuElemMeter ¶ Library Identification ¶ Placeholder: System_VisuElemMeter Default Resolution: VisuElemMeter, 3.5.14.0 (System) Namespace: VisuElemMeter Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemMeter VisuElemTextEditor ¶ Library Identification ¶ Placeholder: System_VisuElemTextEditor Default Resolution: VisuElemTextEditor, 3.5.14.0 (System) Namespace: VisuElemTextEditor Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemTextEditor VisuElemTrace ¶ Library Identification ¶ Placeholder: System_VisuElemTrace Default Resolution: VisuElemTrace, 3.5.14.0 (System) Namespace: VisuElemTrace Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemTrace VisuElemXYChart ¶ Library Identification ¶ Placeholder: System_VisuElemXYChart Default Resolution: VisuElemXYChart, 3.5.14.0 (System) Namespace: VisuElemXYChart Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemXYChart VisuElems ¶ Library Identification ¶ Placeholder: System_VisuElems Default Resolution: VisuElems, 3.5.14.0 (System) Namespace: VisuElems Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElems VisuElemsAlarm ¶ Library Identification ¶ Placeholder: System_VisuElemsAlarm Default Resolution: VisuElemsAlarm, 3.5.14.0 (System) Namespace: VisuElemsAlarm Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemsAlarm VisuElemsDateTime ¶ Library Identification ¶ Placeholder: System_VisuElemsDateTime Default Resolution: VisuElemsDateTime, 3.5.14.0 (System) Namespace: VisuElemsDateTime Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemsDateTime VisuElemsSpecialControls ¶ Library Identification ¶ Placeholder: System_VisuElemsSpecialControls Default Resolution: VisuElemsSpecialControls, 3.5.14.0 (System) Namespace: VisuElemsSpecialControls Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemsSpecialControls VisuElemsWinControls ¶ Library Identification ¶ Placeholder: System_VisuElemsWinControls Default Resolution: VisuElemsWinControls, 3.5.14.0 (System) Namespace: VisuElemsWinControls Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemsWinControls VisuInputs ¶ Library Identification ¶ Placeholder: system_visuinputs Default Resolution: VisuInputs, 3.5.16.30 (System) Namespace: visuinputs Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: True Key: system_visuinputs VisuNativeControl ¶ Library Identification ¶ Placeholder: System_VisuNativeControl Default Resolution: VisuNativeControl, 3.5.14.0 (System) Namespace: VisuNativeControl Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuNativeControl
ACP_LineBuffer.FB_EXIT (METH) ¶ METHOD FB_EXIT : BOOL InOut: Scope Name Type Return FB_EXIT BOOL Input bInCopyCode BOOL
ACP_LineBuffer.GetCount (METH) ¶ METHOD FINAL GetCount : UDINT InOut: Scope Name Type Return GetCount UDINT
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)