Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This section gives an illustrative example of using the tag scaling feature. Your settings may be different depending on your project’s configuration.

Exercise: Using the Scale Mode feature with real tags

In this example, a Celsius temperature acquired from a remote tag will be converted to Fahrenheit using the Scale Mode feature.

  1. Create two INT (INT16) tags named “Celsius” and “Fahrenheit”. Enter the I/O Device and address as shown below.

    Image RemovedImage Removed

    (Note: In this example, the user has already defined an I/O device named “PLC.STATION”. If your I/O device has a different name, then enter that name into the I/O Device field. Likewise, if the I/O address format is different, use the correct format for your PLC).

...

Click and expand the Advanced tab for the “FAHRENHEIT” tag > click the Scale Mode drop-down menu > Linear Slope > double-click on do“1.8” for Slope and “32” for [Intercept].

...