EasyManua.ls Logo

Siemens SIMATIC S7 - Featuresupport

Siemens SIMATIC S7
134 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SIMATIC Automation Tool API for .NET framework
6.10 Enumerations
SIMATIC Automation Tool V2.1 user guide
120 Manual, V2.1.1 07/2016, A5E33042676-AC
6.10.8
FeatureSupport
The SIMATIC Automation Tool provides this enumeration to indicate what features each
device supports.
Uninitialized
BackupAllowed
ChangeModeAllowed
FailsafeSupported
FirmwareUpdateAllowed
MemoryResetAllowed
PasswordAllowed
ProgramUpdateAllowed
ResetToFactoryAllowed
NotFailsafe
RestoreAllowed
To test whether a device supports a given feature, compare the value of the appropriate
property with the
FeatureSupport value defined for that feature. For example, the following
code checks to see if a device supports the Memory Reset feature before attempting the
operation:
List<ICPU> cpus = devices.FilterOnlyCpus();
foreach (ICPU cpu in cpus)
{
if (cpu.MemoryResetAllowed == FeatureSupport.MemoryResetAllowed)
{
cpu.MemoryReset(new EncryptedString(string.Empty));
}
}

Table of Contents

Other manuals for Siemens SIMATIC S7

Related product manuals