Pm designer operation manual – B&B Electronics WOP-2121V-N4AE - Manual User Manual
Page 259

4
7
PM Designer Operation Manual
7-15
CHAPTER 7 DISPLAYING AND INPUTTING DATA
Property
Description
Write Address
Specifies the destination variable where the entered value will be written to when the Operator
Input is selected. Click
to enter an address for this field. Click
to select a tag for this field.
Direct
Select this option so the advanced numeric display will write the entered value to the destination
variable specified in the Write Address field directly.
Expre-
ssion
Select this option so the advanced numeric display will write the result of the arithmetic expression
specified in the Expression field. When this option is selected, you need to specify the arithmetic
expression that calculates the value to be output. To use the entered value as an operand in the
expression, specify the internal variable $K for the entered value. Click
to enter an address for
this field. Click
to select a tag for this field.
Output
Macro
Select this option so the advanced numeric display will run the macro defined in the Output Macro
page before writing the value of the internal variable $W to the destination variable. The macro can
decide the value to be output by saving the desired value in the internal variable $W. To use the
entered value in macro commands as a parameter, specify the internal variable $K for the entered
value.
Font
The font of the displayed value.
Text Color
The color of the displayed value.
Total Digits
The number of digits to be displayed.
Note: This property applies to the display of the initial value, the allowable minimum, and the
allowable maximum on the numeric keypad.
Fractional Digits
When the Display Type is 32-bit Floating Point, this property specifies the number of fractional
digits to be displayed.
When the Display Type is not 32-bit Floating Point, this property specifies not only the number of
fractional digits to be displayed but also the number of least significant digits to be displayed as the
fractional part. With this feature, an integer can be shown and entered as a fixed point number.
When the Fractional Digits is nonzero, say N, the entered value will be converted to an integer
according to the following formula before being output.
Output Value = Entered Value * (Nth power of 10)
Example 1:
Display Type
Total
Digits
Fractional
Digits
Justification
Monitored
Value
Displayed
Value
32-bit Floating Point
4
2
Zero Suppress
12.34
12.34
32-bit Floating Point
4
2
Zero Suppress
123.4
23.40
16-bit Signed Decimal
5
2
Zero Suppress
12345
123.45
16-bit Signed Decimal
5
2
Zero Suppress
-5
-0.05
Example 2:
Display Type
Total
Digits
Fractional
Digits
Entered
Value
Output
Value
32-bit Floating Point
4
2
12.34
12.34
32-bit Floating Point
4
2
123.4
Error!
16-bit Signed Decimal
5
2
123.45
12345
16-bit Signed Decimal
5
2
-0.05
-5
16-bit Signed Decimal
5
2
3
300
Note: This property applies to the display of the initial value, the allowable minimum, and the
allowable maximum on the numeric keypad.
Continued