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
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));
}
}