I’ve googled and searched the forums for some way to directly populate OPC tags with string (ASCII) data from a Rockwell CompactLogix controller, and have come up empty.
We are connecting to the PLC using the Ignition OPC UA Allen-Bradley Logix Device driver.
PLC version is v32.
The PLC is controlling Cognex cameras doing OCR to read data off of parts.
Currently I am having to read the ASCII registers (
DATA[X]) as part of a tag value change in a UDT.
If it’s possible to read the string directly as an OPC item tag, I think this would shave a small amount of time from the scanning process, and could eliminate code on the Ignition side.
Anyone have any idea if this is doable?
Edit to add:
BTW, I have tried the “[PLC]StringTag.DATA**,SC10**” (trying to read a 10 character string), but I get a configuration error.