From fa2470b11e67f8d0b24a1d30c0d549db72e16514 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 28 Nov 2017 18:20:33 +0100 Subject: [PATCH] update lettura in blocco di byte... committo! --- Test-S7/TestMainForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Test-S7/TestMainForm.cs b/Test-S7/TestMainForm.cs index 5c4a2f28..42f29579 100644 --- a/Test-S7/TestMainForm.cs +++ b/Test-S7/TestMainForm.cs @@ -52,6 +52,8 @@ namespace Test_S7 txtOut.Text += string.Format("-------------------------------------------{0}", Environment.NewLine); txtOut.Text += string.Format("{0}{0}{0}",Environment.NewLine); + // legge 10 byte della DB1.DBX0.0... DBX10.0 + plc.ReadBytes(DataType.DataBlock, 1, 0, 10); } } }