Rockwell Automation 2711-ND3 PanelBuilder v2.60 Software User Manual User Manual

Page 285

Advertising
background image

17–15

Formatting Objects and Text

Publication 2711-6.0

6. Set the properties of the variable.

Use

To

Field Width

Specify the maximum number of digits (1 to 12)
allowed in the variable.
If the Fixed Point Decimal Position is not 0, then the
field width must be 2 > Position value for positive
numbers. One position is for the decimal point and
one position is for the digit to the left of the decimal.

For negative numbers, the field width must be
3 > Position. For example, to display –0.1234, the
field width must be 7 and decimal position 4.

Fill with Zeroes

Fill empty data positions with zeroes. Otherwise
empty positions are left blank.
Zero Filled

No Zero Fill

000321

_ _ _ 321

Fixed Point Decimal

Specify the position of the decimal point 0 to 10
places to the left of the rightmost character. Use 0
to display the value without a decimal point.

Floating Point Decimal

Have the controller position the decimal point.

Read Tag

Specify the tag name address from which to read
the variable data.

7. Click OK when done.

A placeholder /*V:12 NOFILL FIX:0*/ is inserted in the text with
embedded formatting details.

A string of characters ####### (the length of the field width) is
inserted in the object as a placeholder for the variable.

8. Resize the object, if necessary, to fit the variable.

9. Click the Inner Text tool to exit inner text mode.

For multistate objects, you can add a numeric variable to the text of a
specific state from the State tab of the Object’s dialog.

To edit a numeric variable:

1. Select the object.

2. For a multistate object, select the state containing the variable.

3. Click the Inner Text tool on the tool bar.

4. Select the /*V:12 NOFILL FIX:0*/ placeholder.

5. Click the Embedded Variable tool and choose Edit Variable to

open the Variable dialog.

6. Edit the formatting options, then click OK to exit the dialog.

The /*V:6 NOFILL FIX:0*/ placeholder is updated with the new
formatting details.

For multistate objects, you can edit the numeric variable directly
from the State tab (Text field) of the Object’s dialog.

"

"

Advertising