Page 1 of 1

Scaling and simulator

Posted: Fri Jun 15, 2018 5:21 am
by Lukas0204
Hi,

1. I want to have on the HMI the tag that is both scaled and non-scaled. For example...in analog numeric I want to have some offset and gain and in another analog numeric I want to have basic value of the same tag (without offset and gain). Is this possible or do I need to program in 'Tags' two tags with the same controller tag name (address) but with different scaling parameters?

2. How can I simulate tags in offline mode? I have GX works 3 and want to offline simulate tags in iX Developer (in simulation mode) via MC protocol.

Regards

Luka

Re: Scaling and simulator

Posted: Tue Jun 26, 2018 11:15 am
by Russ C.
Not sure how to simulate tags in offline mode like you're asking, but an answer to your first question is: using 2 tags pointed to the same address and one with scaling and one without is probably the best way. Another way would be to keep a persistent variable in your code to reverse the scaling on the original tag.