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.
IPersistenceChannel4 (ITF) ¶ INTERFACE IPersistenceChannel4 EXTENDS IPersistenceChannel3 Extension of ‘IPersistenceChannel3’ Properties: LogWriteTimeEnabled Enabled , inherited from IPersistenceChannel3 Methods: ExternalLoadFrom ExternalLoad , inherited from IPersistenceChannel ExternalSave , inherited from IPersistenceChannel ExternalSaveAs , inherited from IPersistenceChannel GetIsActionOngoing , inherited from IPersistenceChannel2 SetIsActionOngoing , inherited from IPersistenceChannel2 Structure: ExternalLoadFrom (Method) LogWriteTimeEnabled (Property)
IPersistenceChannel4.ExternalLoadFrom (METH) ¶ METHOD ExternalLoadFrom : BOOL Use this method to load from another DataStorage than the one configured in ApplicationComposer tree. InOut: Scope Name Type Comment Return ExternalLoadFrom BOOL The return value indicates whether the call has been successfull. Input itfDataStorage IDataStorage The DataStorage to use for loading. When using an extension of ASCIIFileStorage or BinaryFileStorage check comment at FileStorageBase.ArchiveBaseName