Kyle Hayes
Kyle Hayes
I may try with Python to test my luck :-)
```c #include #include #include #include #include #include "../lib/libplctag.h" #include "utils.h" /* * This is a partial example of how we might do Omron tag listing. */ #define REQUIRED_VERSION 2,4,0 /*****************...
It looks like Aphyt does this listing to get the tag names and then done Get_Attributes_All on the tag name itself (encoded as an extended symbolic segment).
I am sure this would be nicer in C# or Python.
I probably will need to work on other things. I am trying to go on vacation in a week :-)
About line 316, change the debug level to PLCTAG_DEBUG_DETAIL. That should dump out the logs.
Here's the file: [list_tags_omron.c.zip](https://github.com/user-attachments/files/15915048/list_tags_omron.c.zip)
I checked it does compile.
Huh. Weird. It tied to connect to the Omron with a 4002 byte packet. The Omron refused and sent back 1996 bytes. So the library tried that as then we...
`name=Bit_1` is not a valid DF1/PCCC data file reference. `B42:0/1` is. That said, the debug file will help a lot.