![(blue star)](/wiki/s/1739151626/6452/072708b7f17051aecb02014ec2f82635a8b39ca1/_/images/icons/emoticons/star_blue.png)
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.
a) Create two [INT] tags named ‘Celsius’ “Celsius” and ‘Fahrenheit’“Fahrenheit”. Enter the I/O Device and address as shown below
(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, then use the correct format for your PLC).
...
b) Go to Click and expand the [Advanced ] tab in the editing menu for the ‘FAHRENHEIT’ “FAHRENHEIT” tag . In > click the [ Scale Mode ] drop-down menu select the [Linear Slope] option, then enter “1> Linear Slope > double-click on do“1.8” for [ Slope ] and “32” for [Intercept].
...