ASCIIFileStorage (FB) ¶ FUNCTION_BLOCK ASCIIFileStorage EXTENDS FileStorageBase IMPLEMENTS IDataStorage4 , IDynamicMemoryProvider InOut: Scope Name Type Initial Comment Inherited from Input sArchive STRING ‘%CHANNEL_NAME%’ parameters FileStorageBase xDoubleStorage BOOL FALSE FileStorageBase udiMaximumFileSize UDINT 0 FileStorageBase bySeparator BYTE 9 TAB Properties: ArchiveBaseName , inherited from FileStorageBase Methods: FB_EXIT Next Open Put Close , inherited from FileStorageBase CloseCheckDependant , inherited from FileStorageBase CloseFile , inherited from FileStorageBase GetErrorMessage Init , inherited from FileStorageBase OnResetOrigin , inherited from FileStorageBase OnResetOrigin2 , inherited from FileStorageBase OpenFile , inherited from FileStorageBase ReadHeader WriteHeader Structure: ErrorHandling GetErrorMessage (Method) FB_EXIT (Method) Next (Method) Open (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method)
BinaryFileStorage (FB) ¶ FUNCTION_BLOCK BinaryFileStorage EXTENDS FileStorageBase IMPLEMENTS IDataStorage4 InOut: Scope Name Type Initial Comment Inherited from Input sArchive STRING ‘%CHANNEL_NAME%’ parameters FileStorageBase xDoubleStorage BOOL FALSE FileStorageBase udiMaximumFileSize UDINT 0 FileStorageBase Properties: ArchiveBaseName , inherited from FileStorageBase Methods: Next Put Close , inherited from FileStorageBase CloseCheckDependant , inherited from FileStorageBase CloseFile , inherited from FileStorageBase GetErrorMessage Init , inherited from FileStorageBase OnResetOrigin , inherited from FileStorageBase OnResetOrigin2 , inherited from FileStorageBase Open , inherited from FileStorageBase OpenFile , inherited from FileStorageBase ReadHeader WriteHeader Structure: ErrorHandling GetErrorMessage (Method) Next (Method) Put (Method) private ReadHeader (Method) WriteHeader (Method)
BinaryMemoryStorage (FB) ¶ FUNCTION_BLOCK BinaryMemoryStorage EXTENDS AC.Module IMPLEMENTS IDataStorage2 InOut: Scope Name Type Initial Input pbyMemData POINTER TO BYTE udiMemDataSize UDINT 1024 Methods: Close Next OnResetOrigin Open Put GetErrorMessage Structure: Close (Method) ErrorHandling GetErrorMessage (Method) Next (Method) OnResetOrigin (Method) Open (Method) Put (Method)
BufferedFileStream (FB) ¶ FUNCTION_BLOCK FINAL BufferedFileStream IMPLEMENTS IStream A buffer that can be either used for reading or writing (but not both) Methods: FB_EXIT Flush Init Read Reset Write Structure: 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) ¶ TYPE FileHeader : STRUCT InOut: Name Type dtCreated DT
FileStorageBase (FB) ¶ FUNCTION_BLOCK FileStorageBase EXTENDS AC.Module InOut: Scope Name Type Initial Comment Input sArchive STRING ‘%CHANNEL_NAME%’ parameters xDoubleStorage BOOL FALSE udiMaximumFileSize UDINT 0 Properties: ArchiveBaseName Methods: Close CloseCheckDependant Init OnResetOrigin OnResetOrigin2 Open Put CloseFile GetErrorMessage OpenFile ReadHeader WriteHeader Structure: 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 (Image Pool) ¶ ID File name Image Link type ASCIIFileStorage16 ASCIIFileStorage16.bmp Embedded ASCIIFileStorage32 ASCIIFileStorage32.bmp Embedded BinaryFileStorage16 BinaryFileStorage16.bmp Embedded BinaryFileStorage32 BinaryFileStorage32.bmp Embedded
IStream (ITF) ¶ INTERFACE IStream Methods: Read Write Structure: Read (Method) Write (Method)
IPersistenceChannel3.Enabled (PROP) ¶ PROPERTY Enabled : BOOL Use this property to check and set if this PersistenceChannel is enabled.