Embedding a decimal point, Sending variable data through the serial port – Rockwell Automation 2706-DXX Dataliner Message Display DL5 Series User Manual
Page 75
2706-UM001A-US-P
Using the Variable Data Feature
9-3
Embedding a Decimal Point
You can display numbers which have decimal points. The decimal point is
inserted just like any other character and it takes up one full character space.
Insert a decimal point before or after the [CTRL] [V] by typing [
.
]. For
example, the following steps would be required to create the message
“SPEED IS . FPS”.
1. Enter the following message:
2. Enter the first variable digit by pressing the [Ctrl] and [V] keys:
3. Press the [.] key to enter the decimal point. Notice that the decimal point
requires a character position. The decimal point becomes a part of the
variable.
4. Then enter the second variable digit by pressing [Ctrl] and [V] keys.
5. Finish entering the message by typing [F] [P] [S].
Note: Use [CTRL][X] to imbed variable digits with leading zeros.
[CTRL][V] imbeds variable digits without leading zeros.
Sending Variable Data Through
the Serial Port
Use the CTRL-V command to send data for display in Binary, BCD,
Numeric, Priority, and Round Robin modes. All values are decimal values.
The command has the following format:
where:
– Variable Data is 1 to 5 ASCII digits (0-65535)
– Variable Position is single ASCII digit (value is ignored)
– DL5 Address is 1 to 3 ASCII digits (0-127)
For example, to send a value of 500 to a DL5 with an address of 99, the
following string would be sent:
Note: In Binary mode, variable data can be in the range 0 to 16,383. In
BCD mode, variable data must be in the range 0 to 3999. In Round Robin.
Priority and Numeric modes, variable data can be in the range of 0 to
65535.
Note: The CTRL-V command in Priority, Round Robin and Numeric
modes triggers messages not variables.
63((' ,6
ASCII
^V
5
0
0
\
1
\
9
9
^M
HEX
10
35
30
30
5C
31
5C
39
39
0D
CTRL-V
Variable
Data
\
Backslash
DL5
Address
Carriage
Return
Variable
Position
\
Backslash