We are trying to read a STRING into Ignition. We are using a Unity PLC connected to OFS.
Currently it is reading an array of ASCII characters instead of the proper string.
If we add ;C to the tagpath in the OPC client, than we can correctly read the string value. But doing the same in the Ignition tag definition just results in a config error.
Does anyone know what Ignition might need in the tag definition to force reading a String instead of an array of chars?
Tried a combination of things. But STRING is what we are using, and trying to get working. Because thats what we are after.
The tag in the PLC is a STRING type too.
Hi Jordan,
Thanks, yea we tried ;S as well, still get a config error. This is trying to use Tag Name addressing though, not Memory addressing. So its something like “testString” in the PLC, and we’ve tried various configurations in Ignition like “testString;C” “testString;S” etc…
We’ve used a modbus driver to read a String using that method, where 40001 is represented as HRS2:32 in the Ignition OPC Tag Address for a 32 character string. And that works fine.
But we’d like to get Strings working properly with the OFS method, not Modbus if possible.
Can't even remember what project this was for to be honest, so not sure what ended up happening. But thanks for the update, hopefully it helps someone else on their journey!