Ejemplo n.º 1
0
 private void Plc_PowerOnCompleted(object sender, EventArgs e)
 {
     Console.WriteLine("Plc_PowerOnCompleted");
     if (FileSystem.FileExists(S7VPLC_PowerOnCompleted))
     {
         InitPY();
         Scope.SetVariable("PLC", this);
         Scope.SetVariable("CPU", S7PLC);
         RunPY(S7VPLC_PowerOnCompleted);
         S7PLC.Run();
     }
 }