private void Plc_EndOfScan(object sender, EventArgs e) { Console.WriteLine($"Plc_EndOfScan"); Console.WriteLine(DateTime.Now); byte[] piobs = S7PLC.ReadOutput(0, (ulong)S7VPLC_PIO_Size); }