Constants (GVL) ¶ InOut: Scope Name Type Initial Constant gc_CLASSID_PersistenceManager UDINT 16#1801 gs_IntegrityKey STRING ‘___Integrity’ gs_CompressKey STRING ‘___xCompressTags’ gs_WriteSuffix STRING ‘.w’ gc_uiMaxKeyLen UDINT 511 gc_uiMaxObjSize UDINT 512 gc_uiMaxLineSize UDINT ((gc_uiMaxKeyLen + gc_uiMaxObjSize) + 3)
DataStorage ¶ FileStorage ACP_LineBuffer (FunctionBlock) FB_EXIT (Method) GetCount (Method) Init (Method) Init2 (Method) ReadLine (Method) ACP_OPEN_MODE (Enum) ASCIIFileStorage (FunctionBlock) ErrorHandling GetErrorMessage (Method) FB_EXIT (Method) Next (Method) Open (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method) ASCIIFileStorage (FunctionBlock) ErrorHandling GetErrorMessage (Method) FB_EXIT (Method) Next (Method) Open (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method) BinaryFileStorage (FunctionBlock) ErrorHandling GetErrorMessage (Method) Next (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method) BinaryFileStorage (FunctionBlock) ErrorHandling GetErrorMessage (Method) Next (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method) BinaryMemoryStorage (FunctionBlock) Close (Method) ErrorHandling GetErrorMessage (Method) Next (Method) OnResetOrigin (Method) Open (Method) Put (Method) BinaryMemoryStorage (FunctionBlock) Close (Method) ErrorHandling GetErrorMessage (Method) Next (Method) OnResetOrigin (Method) Open (Method) Put (Method) BufferedFileStream (FunctionBlock) FB_EXIT (Method) Flush (Method) Init (Method) Read (Method) Reset (Method) Write (Method) DataStorageItems ACP_NextBufferedStream (Function) ACP_PutBufferedStream (Function) ACP_PutBufferedStreamGetErrorMessage (Function) ACP_StringFromStream (Function) ACP_StringToStream (Function) ACP_TypedValue (Struct) ACP_TypedValueFromStream (Function) ACP_TypedValueFromString (Function) ACP_TypedValueToStream (Function) ACP_TypedValueToString (Function) FileHeader (Struct) FileStorageBase (FunctionBlock) Close (Method) CloseCheckDependant (Method) ErrorHandling GetErrorMessage (Method) Init (Method) OnResetOrigin (Method) OnResetOrigin2 (Method) Open (Method) Put (Method) private ArchiveBaseName (Property) CloseFile (Method) OpenFile (Method) ReadHeader (Method) WriteHeader (Method) FileStorageBase (FunctionBlock) Close (Method) CloseCheckDependant (Method) ErrorHandling GetErrorMessage (Method) Init (Method) OnResetOrigin (Method) OnResetOrigin2 (Method) Open (Method) Put (Method) private ArchiveBaseName (Property) CloseFile (Method) OpenFile (Method) ReadHeader (Method) WriteHeader (Method) IP_FileStorage (ImagePool) IStream (Interface) Read (Method) Write (Method) MemoryStream (FunctionBlock) Init (Method) Read (Method) Reset (Method) Write (Method) TL_FileStorage (TextList) IDataStorage (Interface) Close (Method) Next (Method) Open (Method) Put (Method) IDataStorage2 (Interface) OnResetOrigin (Method) IDataStorage3 (Interface) CloseCheckDependant (Method) IDataStorage4 (Interface) OnResetOrigin2 (Method)
FileStorage ¶ ACP_LineBuffer (FunctionBlock) FB_EXIT (Method) GetCount (Method) Init (Method) Init2 (Method) ReadLine (Method) ACP_OPEN_MODE (Enum) ASCIIFileStorage (FunctionBlock) ErrorHandling GetErrorMessage (Method) FB_EXIT (Method) Next (Method) Open (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method) ASCIIFileStorage (FunctionBlock) ErrorHandling GetErrorMessage (Method) FB_EXIT (Method) Next (Method) Open (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method) BinaryFileStorage (FunctionBlock) ErrorHandling GetErrorMessage (Method) Next (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method) BinaryFileStorage (FunctionBlock) ErrorHandling GetErrorMessage (Method) Next (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method) BinaryMemoryStorage (FunctionBlock) Close (Method) ErrorHandling GetErrorMessage (Method) Next (Method) OnResetOrigin (Method) Open (Method) Put (Method) BinaryMemoryStorage (FunctionBlock) Close (Method) ErrorHandling GetErrorMessage (Method) Next (Method) OnResetOrigin (Method) Open (Method) Put (Method) BufferedFileStream (FunctionBlock) FB_EXIT (Method) Flush (Method) Init (Method) Read (Method) Reset (Method) Write (Method) DataStorageItems ACP_NextBufferedStream (Function) ACP_PutBufferedStream (Function) ACP_PutBufferedStreamGetErrorMessage (Function) ACP_StringFromStream (Function) ACP_StringToStream (Function) ACP_TypedValue (Struct) ACP_TypedValueFromStream (Function) ACP_TypedValueFromString (Function) ACP_TypedValueToStream (Function) ACP_TypedValueToString (Function) FileHeader (Struct) FileStorageBase (FunctionBlock) Close (Method) CloseCheckDependant (Method) ErrorHandling GetErrorMessage (Method) Init (Method) OnResetOrigin (Method) OnResetOrigin2 (Method) Open (Method) Put (Method) private ArchiveBaseName (Property) CloseFile (Method) OpenFile (Method) ReadHeader (Method) WriteHeader (Method) FileStorageBase (FunctionBlock) Close (Method) CloseCheckDependant (Method) ErrorHandling GetErrorMessage (Method) Init (Method) OnResetOrigin (Method) OnResetOrigin2 (Method) Open (Method) Put (Method) private ArchiveBaseName (Property) CloseFile (Method) OpenFile (Method) ReadHeader (Method) WriteHeader (Method) IP_FileStorage (ImagePool) IStream (Interface) Read (Method) Write (Method) MemoryStream (FunctionBlock) Init (Method) Read (Method) Reset (Method) Write (Method) TL_FileStorage (TextList)
ACP_LineBuffer (FB) ¶ FUNCTION_BLOCK FINAL ACP_LineBuffer A line buffer that is filled from a BufferedFileStream. implemented as a fixed size ring buffer. Methods: FB_EXIT GetCount Init Init2 ReadLine Structure: FB_EXIT (Method) GetCount (Method) Init (Method) Init2 (Method) ReadLine (Method)
RMPMessageBuffer.AddMessage (METH) ¶ METHOD FINAL AddMessage : UINT Queues message and returns the handle of this message or 16#FFFF, if the buffer was full InOut: Scope Name Type Comment Return AddMessage UINT Input udiSenderID UDINT The sender ID of the message udiReceiverID UDINT The receiver ID of the message tValidity TIME For send lists: tExpirationTime is the time distance, how long this message shall be kept in the receive queue for receive lists: tExpirationTime is the point in time, when it hat to be deleted if not acknowledged pmdData POINTER TO ARRAY [0..63] OF BYTE Data
RMPMessageBuffer.ClearExpiredMessages (METH) ¶ METHOD PUBLIC FINAL ClearExpiredMessages Clears the expired messages out of the buffer
RMPMessageBuffer.Delete (METH) ¶ METHOD FINAL Delete : BOOL This method frees a queue entry and may only be called on lockes messages InOut: Scope Name Type Comment Return Delete BOOL Input uiIndex UINT The index of the buffered message to be deleted
RMPMessageBuffer.EnlargeExpirationTime (METH) ¶ METHOD PUBLIC FINAL EnlargeExpirationTime Enlarges the expiration time of all messages InOut: Scope Name Type Comment Input tShift TIME The time by which the expiration times shall be increased
RMPMessageBuffer.ExistsMessageWithHandle (METH) ¶ METHOD FINAL ExistsMessageWithHandle : BOOL Checks if message with handle uiHandle exists InOut: Scope Name Type Comment Return ExistsMessageWithHandle BOOL Input uiHandle UINT Handle associated with the message
RMPMessageBuffer.GetMessage (METH) ¶ METHOD FINAL GetMessage : POINTER TO RMPBufferedMessage Returns pointer to message number uiIndex [0..] of buffer InOut: Scope Name Type Comment Return GetMessage POINTER TO RMPBufferedMessage Input uiIndex UINT The index of the message to get from the buffer