Kyle Hayes
Kyle Hayes
EDIT: PEBKAC problem using `@bitCast` in cases where I meant `@intCast`. Sigh. @zzyxyzz thanks for the pointer to the other issue. It seems vaguely related in so far as it...
> I must admit I still don't get what the advantage of a raw memory type would be. > > > Quick example: Suppose I am building a VM and...
Interesting, @daurnimator! The undefined bits would come from things like padding or unused bits in an int that was not a machine word size? I wonder if the behavior of...
It sounds like the definition of the string in your PLC does not match the defaults. You can set various optional attributes in the tag attribute string: [string attributes](https://github.com/libplctag/libplctag/wiki/Tag-String-Attributes#optional-generic-string-attributes). Do...
If you try to just read the string and then print it out as bytes you can probably guess the format. For instance if you always get the same amount...
You can use the tag_rw2 tool to do this without writing any code.
Ah, I think the string is variable length. If that is true, then you are only getting the "valid" characters. So, you need to add a couple of things to...
Can you please attach that last log as a file? Some is going wrong with the formatting on GitHub and I cannot cut and paste it. It looks like there...
I am labeling this a bug for now until I understand better what is happening and either prove it is a bug or prove it is not.
Thanks. That helped a lot! The default OMRON string definition says that it is zero terminated but your data show that it is not! Try adding these tag attributes: `str_max_capacity=255&str_is_counted=1&str_count_word_bytes=2&str_is_zero_terminated=0&allow_field_resize=1`...