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