Issue
The display indicator object does not display real values.
Product Line
BMENOC0311
Environment
Windows 10
Resolution
If you configure a display indicator object for decimal value type and assign a variable that uses a real format, the displayed value is shown as an integer.
Web Designer does not allow the display of a real value in the graphic viewer 'Display Indicator' object because there is no selection available for the real format (See Figure. 1)
Figure. 1.
The following workaround can be used to display a real value in the graphic viewer using the variable editor object (See Figure 2).
.
The labels for the variable editor can be masked with a rectangle object (See Figure 8) using the same foreground and background colors as the variable editor object.
Figure 8.
To add the rectangle:
The display indicator object does not display real values.
Product Line
BMENOC0311
Environment
Windows 10
Resolution
If you configure a display indicator object for decimal value type and assign a variable that uses a real format, the displayed value is shown as an integer.
Web Designer does not allow the display of a real value in the graphic viewer 'Display Indicator' object because there is no selection available for the real format (See Figure. 1)
Figure. 1.
The following workaround can be used to display a real value in the graphic viewer using the variable editor object (See Figure 2).
- Open the device variable table.
- Change the access permission for the variable to read-only (See Figure 2.)
- Save the changes.
- Add a variable editor object (See Figure 3.)
- Assign a PLC variable to the object.
- Double-click on the variable editor object (See Figure 4.).
- click on the variable list button.
- Click on 'Add another item' (See Figure 5.)
- Click the on 'PLC Variables' button (see Figure 6)
.
- Select the variable from the list by clicking on the variable name (See Figure 7).
- Click on OK.
- Click on OK to close the 'VarList Collection Editor' window.
The labels for the variable editor can be masked with a rectangle object (See Figure 8) using the same foreground and background colors as the variable editor object.
Figure 8.
To add the rectangle:
- Click on the rectangle icon in the graphic menu bar (See Figure 9),
- Drag the rectangle object over the variable list object and resize it to cover the table heading