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

Dataliner message display
Table of Contents

Advertisement

The control code indicates whether the data is a message number or a
variable. The ASCII string represents the message number or variable. For
example, the number 4,286 would be sent out like this:
ASCII
4
Decimal Equivalent:
52
Hex Equivalent:
34
Octal Equivalent:
64
If the data is a message number, it must contain one or more digits. If it
contains more than four digits, only the last four are accepted. If the number
input is greater than 1022 (the highest message number) it is ignored. Zero is
also ignored.
If the data is a variable, it also must contain one or more digits. If the
number contains more than five digits, only the last five sent are accepted. In
addition, the first character of the field may be a plus or minus sign. The
number is assumed to be positive if no sign is sent. The highest number
accepted is +32,767 and the lowest is -32,768. All other characters in this
field are ignored, including spaces. For example, these two strings are
equivalent:
ASCII
-
Decimal Equivalent:
45
Hex Equivalent:
2D
Octal Equivalent:
55
ASCII
(sp)
Decimal Equivalent:
32
Hex Equivalent:
20
Octal Equivalent:
40
Important: Sending three consecutive [Esc] characters (decimal 27, hex 1B,
octal 33) takes the DL20 out of run mode.
All data entered must be followed by the carriage return character (decimal
13, hex D, octal 15). The DL20 queues the data following receipt of the
carriage return.
Chapter 6
The Serial Port
2
8
6
50
56
54
32
38
36
62
70
66
2
2
50
50
32
32
62
62
-
2
q
45
50
113
2d
32
71
55
62
161
2
50
32
62
6–3

Advertisement

Table of Contents
loading

Table of Contents