IDataStorage.Next (METH) ¶ METHOD Next : BOOL Reads the next object and advances the cursor by one. FALSE is returned if reading failed or if the cursor is already at the end. InOut: Scope Name Type Return Next BOOL Input pKey POINTER TO BYTE udiMaxKeyBytes UDINT pData POINTER TO ACP_TypedValue udiMaxDataSize UDINT
IDataStorage.Open (METH) ¶ METHOD Open : BOOL Open database for reading or writing InOut: Scope Name Type Return Open BOOL Input openMode ACP_OPEN_MODE sFilePostfix STRING
IDataStorage.Put (METH) ¶ METHOD Put : BOOL add one entry InOut: Scope Name Type Return Put BOOL Input pKey POINTER TO BYTE data ACP_TypedValue
IDataStorage2 (ITF) ¶ INTERFACE IDataStorage2 EXTENDS IDataStorage Methods: OnResetOrigin Close , inherited from IDataStorage Next , inherited from IDataStorage Open , inherited from IDataStorage Put , inherited from IDataStorage Structure: OnResetOrigin (Method)
IDataStorage2.OnResetOrigin (METH) ¶ METHOD OnResetOrigin
IDataStorage3 (ITF) ¶ INTERFACE IDataStorage3 EXTENDS IDataStorage2 Methods: CloseCheckDependant Close , inherited from IDataStorage Next , inherited from IDataStorage OnResetOrigin , inherited from IDataStorage2 Open , inherited from IDataStorage Put , inherited from IDataStorage Structure: CloseCheckDependant (Method)
ACP_OPEN_MODE (ENUM) ¶ TYPE ACP_OPEN_MODE : InOut: Name ACP_OM_READ ACP_OM_WRITE
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)