Allen-Bradley A-B QUALITY DL20 Series User Manual page 42

Dataliner message display
Table of Contents

Advertisement

Chapter 4
Creating and Editing Messages
Changing Variable
Format (Ctrl C)
4–16
You are then prompted for the decimal place:
The valid settings range from 0 thru 6. If the decimal position is selected to
be zero, no decimal place will be shown in the field. The value entered for
the decimal position is always the location that the decimal place occupies.
That is, entering 1 for decimal position places the decimal in the rightmost
character position, i. e. the last character of the field. Entering a 2 for
decimal puts it one to the left of the rightmost character. The value entered
for the decimal position can never exceed the number entered for field width.
That is, entering a field width of four means that you can only specify 0 thru
4 for a decimal position.
The last prompt appears like this:
This controls whether the unused spaces in the field are padded with zeros or
spaces. For example, if you have a field width of 4, 0 as your decimal place,
and the value being displayed is 2, it can be displayed one of two ways,
either as 2 or as 0002.
Use the change variable command (control C) to change the format of a
formatted variable. Position the cursor at the variable. A formatted variable
is shown as being a down arrow (#), as opposed to a simple variable, which
is shown as an up arrow. When the cursor is positioned for the formatted
variable down arrow, type [Ctrl] [C]. You are again prompted for the
formatting parameters. The defaults for these formatting parameters are the
current settings.
Note: Do not use the chain message or auto repeat attribute when imbedding
variables.
DECIMAL PLACE: 0
PAD WITH 0? N

Advertisement

Table of Contents
loading

Table of Contents