diff --git a/Home.md b/Home.md index 1d1a364..eed8c03 100644 --- a/Home.md +++ b/Home.md @@ -281,9 +281,9 @@ public class TestClass public UInt32 varDWord { get; set;} } ``` -then add the code to read or write the complete struct +then add the code to read or write the complete class ```csharp -// reads a struct from DataBlock 1, startAddress 0 +// reads a class from DataBlock 1, startAddress 0 TestClass myTestClass = new TestClass(); plc.ReadClass(myTestClass, 1, 0); ```