You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value printed were just the negative size of the int, like -65536
and that definetly isn't the value in the tag. We think it might be aproblem in the path, but we are not really sure.
Could you explain more about paths or how to read/write the tag values?
The text was updated successfully, but these errors were encountered:
Me and my team are using your code to try to connect to our RSLogix5000 PLC using the path '1,0', but once we do the:
var tag = new Tag("10.206.1.39", "1, 0", CpuType.LGX, "TestDINTArray[0]", DataType.Int32, 4);
client.AddTag(tag);
var TestDintArray0 = client.GetInt32Value(tag, 0 * tag.ElementSize);
Console.WriteLine("TestDintArray0: " + TestDintArray0);
The value printed were just the negative size of the int, like -65536
and that definetly isn't the value in the tag. We think it might be aproblem in the path, but we are not really sure.
Could you explain more about paths or how to read/write the tag values?
The text was updated successfully, but these errors were encountered: