u/Gorillagordo

▲ 2 r/PLC

What is the best way to clear the .DATA bits in a STRING20 data type in Studio 5000?

I am trying to develop code to where when a “delete” button is pressed on an HMI (that is developed on Factory Talk View Site edition) it clears the product string bit information (.LEN and .Data) and the visibility of the product on the HMI disappears. In order to make it disappear I just need to clear this string20 tag which value populates automatically while the machine is in production. Any pointers?

reddit.com
u/Gorillagordo — 2 days ago