SIMATIC Automation Tool API for .NET framework
6.10 Enumerations
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
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)
{
}
}
120
FeatureSupport
cpu.MemoryReset(new EncryptedString(string.Empty));
value defined for that feature. For example, the following
SIMATIC Automation Tool V2.1 user guide
Manual, V2.1.1 07/2016, A5E33042676-AC