Kyle (and pals)!! Absolutely digging you hard work here, great stuff! Very much appreciated.
I find myself stuck while attempting to read bit values from a MicroLogix 1400 PLC. Here's the tags:
B3:1/3
B45:0/11
B3:0/14
I am able to perform a plctag.plc_tag_get_bit(id, 0) to return 0/1 but if I add change the offset I get a 'Data offset out of bounds!' error. Using the .NET wrapper, it's always false (unit8 conversion issues?).
Background: using the libplctag.NET C# library, works exceptionally well for ControlLogix but no luck thus far with MicroLogix 1400/SCL500.
Debug logs attached for B45:0/11:
WithOffset.txt - offset == 11
WithoutOffset.txt - offset == 0
Thoughts/guidance?
Thanks,
-Cory