Hello,
I am replacing an existing iFix4.0 system with a new Ignition 8.1 platform. The existing iFix system has a text (TX) tag with address DB103.DBB 4U and the value of that tag is “Vz”.
I am trying to create a string tag in Ignition to give me the same value. I initially tried the item path [L1_Master]DB103,STRING4.2 and I get the value of “Bu VzVzSmVz BuRmRfRfP1RfBuRfC|C|P1BuP1P6P1P6”.
With a length of 2 I would only expect 2 characters. However, when I change the length to 1 there is no change in the value. Anyone run into this issue? Thanks
Looking into the PLC data block it looks like the structure is actually a word with two ascii characters in hex. The value of the memory address is “567A” which translates to “Vz” in ascii. It looks like I may have to do some conversion on the value to get the text I need.
If there aren’t a bunch of these and the length won’t vary it might be easiest to just pull in the individual bytes/characters and smash them together in an expression tag.
Thanks. I have tried your suggestion. The problem I have now is the values of the individual byte tags are coming in as decimal (ie. 86 and 122). There is no way to convert these values from decimal to ascii text that I can find using an Ignition expression. I’m assuming I need to use a python script at this point. Any suggestions?