Fix typecodes

This commit is contained in:
Felix Weiß
2023-07-21 18:23:20 +02:00
parent 9bcffad77b
commit a399e0fa16
38 changed files with 1058 additions and 619 deletions

View File

@@ -6,7 +6,8 @@ namespace Examples.BasicRegisterReadWrite;
internal class Program {
const string PLC_IP = "192.168.178.55";
//const string PLC_IP = "192.168.178.55";
const string PLC_IP = "192.168.115.210";
static void Main(string[] args) => Task.Run(AsyncMain).Wait();
@@ -54,6 +55,8 @@ internal class Program {
//a simple 2 dimensional ARRAY [0..2, 0..2] OF INT at DT2003
b.Struct<short>("DT2003").AsArray(3, 3).Build(out simpleNumberRegister2Dim);
b.Struct<bool>("R19A").Build();
})
.Build();