Numeric Input Properties - Appearance tab
The following table shows options in the tab.
Options | Description |
---|---|
Format | Select a numeric format for the value. It can be Decimal , Hexadecimal , Octal , Binary , Floating Point , or Show exponent .If the format is Floating Point , the previous value logged in the Diagnostics List will be a floating point value. For example, assume that the tag initial value is 0 . If you write 1.234 , the previous value showed in the diagnostics message will be 0 . Then if you write 2 , the previous value showed in the diagnostics message will be 1.23399996757507 . |
Field length | The number displayed reflects the size of the rectangle you have drawn for the box. To change the length, type another number in this box. Be sure that it is long enough to accommodate the tag value. |
Overflow | This only applies for the Floating Point format.If the number to be input is longer than the box length, you can specify that it be displayed as an exponent or rounded up to fit the box. If you do not specify an overflow format, the input box will be filled with asterisks. For all formats other than floating point, overflow values are displayed as asterisks. |
Fixed decimal places | Select this option and type the number of places you want to show after the decimal point. The number must be at least one less than the field width. This option only applies for the Floating Point or Show exponent format. |
Dynamic decimal places | Select this option and specify a numeric tag variable as the number of places you want to dynamically show after the decimal point. The number must be at least one less than the field width. This option only applies for the Floating Point or Show exponent format. |
Justification | Select left, center, or right justification. |
Leading character | Select blanks or zeros as the leading character. |
Disabled State | Configure settings that are used to determine when the object is disabled. The option is typically used to restrict access to numeric and string input objects at runtime. For example, by assigning the expression CurrentUserHasGroup(" GroupName ") , you can restrict users to write tag values to numeric or string input objects depending on the assigned user groups. |
Expression | Enter a tag name or an expression that will evaluate to True (any non-zero value) or False (zero) at runtime.An expression is a mathematical or logical equation that returns a value. It can contain tag names, constants, mathematical, relational, logical and/or bitwise operators and functions. A tag name can also stand alone as an expression. |
Expression true state | Select one state of the object when the expression returns True . |
Provide Feedback