Table 7- 118 Archivestorage() - Native C - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

User interfaces (API)
7.6 API IInstances
ArchiveStorage()
The user program, the hardware configuration and the retentive data are stored in a file, the
Virtual SIMATIC Memory Card.
of the virtual controller must be in OFF operating state for this.

Table 7- 118 ArchiveStorage() - Native C++

Syntax
Parameters
Return values
Table 7- 119 ArchiveStorage() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
142
ArchiveStorage()
ERuntimeErrorCode ArchiveStorage(
WCHAR* in_FullFileName
);
i
WCHAR
n_FullFileName:
The full path to the ZIP file. The path relates to directories of the computer
where the API is being called.
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_TIMEOUT
SREC_INVALID_OPERATING_STATE
SREC_INVALID_ARCHIVE_PATH
SREC_CREATE_DIRECTORIES_FAILED
SREC_ARCHIVE_STORAGE_FAILED
SREC_STORAGE_TRANSFER_ERROR
void ArchiveStorage(
string in_FullFileName
);
string in_FullFileName:
The full path to the ZIP file. The path relates to directories of the computer
where the API is being called.
None
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
ERuntimeError-
Code.InvalidOperatingState
ERuntimeError-
Code.InvalidArchivePath
ERuntimeError-
Code.CreateDirectoriesFailed
ERuntimeError-
Code.ArchiveStorageNotCreated
ERuntimeError-
Code.StorageTransferError
stores this file as a ZIP file. The instance
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
The function does not return on time.
The instance is not in OFF operating
state.
The archive path is invalid.
The directory for the ZIP file could not be
created.
The ZIP file could not be created.
Error during network data transfer.
Memory data between client and server
computers do not match.
Condition
The instance is not registered in Runtime
Manager.
The function does not return on time.
The instance is not in OFF operating
state.
The archive path is invalid.
The directory for the ZIP file could not be
created.
The ZIP file could not be created.
Error during network data transfer.
Memory data between client and server
computers do not match.
Function Manual, 12/2017, A5E37039512-AB
S7-PLCSIM Advanced

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents