Kyle Hayes

Results 356 comments of Kyle Hayes

Thanks for the background @davitz, this makes sense. How do you handle tags that are not DINT etc. I.e. UDT tags? In those cases, AB does _not_ send back data...

If I remember correctly, strings get a fixed "UDT" ID. A lot of system types are like that. I will try across my PLCs and see what I get. I...

Yeah, Omrom PLCs always return the entire tag. You must pass a count (elem_count) of 1, always. And that gets the entire tag. I do not have one, so I...

The library now supports full tag listing and UDT listing. Is getting the tag element type still of interest? In the case of strings, the CIP type is 4 bytes...

Bumped this up to 65536 bits. However, there is still work to be done before this will work right. At this time, the bit parsing function for CIP tags requires...

This turns out to be difficult. Rockwell does not support a fragmented version of the RMW command. And the masks are limited to 12 bytes for the OR and AND...

Thanks for the information. Is there more documentation about data types on Omron PLCs? Control and CompactLogix both use strings that are 88 bytes with 82 bytes of string data...

Do you know if it is possible to list the tags in an Omron PLC? The programming tools must be able to do it somehow.

Huh. So there is a 2-byte count word and then a nul-terminated set of data bytes? That's a strange mix. I think I can represent that with my current string...

I just released a prerelease of support for Omron strings. They use a 2-byte count word and nul-byte termination from your description above. If you go to the GitHub site,...