Siemens SIMATIC S7/HMI Guia Del Usuario página 235

Ocultar thumbs Ver también para SIMATIC S7/HMI:
Tabla de contenido

Publicidad

cpu.DetermineConfirmationMessage(FailsafeOperation.ResetToFactoryOperation);
cpu.NewRestoreNameIsSafety == true)
ProtectionLevel.Failsafe;
Guía del usuario de SIMATIC Automation Tool V3.1 SP2
Manual de producto, V3.1 SP2, 11/2018, A5E45044281-AA
ICPU cpu = scannedDevices.FindDeviceByMAC(targetMACAddress) as ICPU;
if (cpu != null && cpu.FormatMCAllowed == true)
{
// Seleccionar CPU a actualizar
cpu.Selected = true;
// ¿Dirección IP unívoca?
if (cpu.DuplicateIP == true)
return;
// ¿Se soporta el dispositivo??
if (cpu.Supported == false)
return;
// ¿Está inicializado el dispositivo?
if (cpu.Initialized == false)
return;
// ¿El dispositivo es de seguridad?
if (cpu.Failsafe == true)
{
ConfirmationType type =
// Verificar tipo y confirmar
cpu.SelectedConfirmed = true;
// Asegurarse de que la actualización es posible
if (cpu.HasSafetyProgram == true || cpu.Protected == true ||
{
// Is the device password protected?if (cpu.Protected == true)
{
// ¿Se ha proporcionado una contraseña válida?
if (cpu.PasswordValid == false)
return;
// ¿Se dispone de legitimación para el nivel de seguridad?
bool bSufficientAccess = cpu.PasswordProtectionLevel ==
if (bSufficientAccess == false)
return;
}
}
}
else
{
// ¿Hay un programa de seguridad que cargar?
if (cpu.NewRestoreNameIsSafety == true)
return;
}
API de la SIMATIC Automation Tool para .NET framework
7.13 Interfaz ICPU
235

Publicidad

Tabla de contenido
loading

Tabla de contenido