Change tag Units using instances and scripts
Posted: Wed Sep 25, 2013 2:13 pm
Hi I was just wondering what solutions anyone else is using for changing units from metric to imperial on an HMI when using aliases already. i.e.4 different motors displayed on the HMI depending if instance 1 to 4 is selected. Is there a good for units to change when using aliases? I was thinking of a script that could be written that would change from instance 1 ( metric ) to instance 5 ( which would be the imperial version of motor 1 ) when the units button is selected. And if you hit the units button again it goes back to instance 1( metric ). So maybe a comparison of what instance is active and change instances based on the state of the units button. Make sense? Any way to script this or better solutions to this problem?