Edit: within the part "Read class" changed the words structs to class

FalcoGoodbody
2020-12-03 11:59:59 +01:00
parent e0fe52f56f
commit 23d1f4ec8c

@@ -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);
```