INSTALLATION MANUAL User Manual

Chapter 6
Slave Mode Operation / Examples
6–5
Example 5 (Send 2-Line Message)
Command Function: Display message as shown below on lines 1 and 2 of all
DL50s using the line number field value of 30.
.
Sequenc Err or
ROBOT
e
NOT POSI T
:
IONED
The command is written for a Catalog No. 2706-F11J or -F11JC display.
Address 127 specifies that the message is displayed on all DL50s. The word
“NOT” in the message will flash. The host would need to send the following
data (Simplex Protocol):
S
(Decimal 83)
e
(Decimal 101)
1 of 42 bytes
Field 2
ASCII Text
2 of 42 bytes 3 of 42 bytes 4 of 42 bytes 5 of 42 bytes
q
(Decimal 113)
u
(Decimal 117)
e
(Decimal 101)
n
(Decimal 110)
c
(Decimal 99)
e
(Decimal 101)
Field 2
ASCII Text
7 of 42 bytes 8 of 42 bytes
SPACE
(Decimal 32)
E
(Decimal 69)
r
(Decimal 114)
r
(Decimal 114)
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
6 of 42 bytes
Field 2
ASCII Text
Field 2
ASCII Text
o
(Decimal 111)
r
(Decimal 114)
:
(Decimal 58)
Message Text
Field 2
ASCII Text
SPACE
(Decimal 32)
SPACE
(Decimal 32)
SPACE
(Decimal 32)
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
SPACE
(Decimal 32)
SPACE
(Decimal 32)
Field 2
ASCII Text
Field 2
ASCII Text
R
(Decimal 82)
O
(Decimal 79)
B
(Decimal 66)
O
(Decimal 79)
T
(Decimal 84)
SPACE
(Decimal 32)
Flash On
(Decimal 6)
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
N
(Decimal 78)
O
(Decimal 79)
Field 2
ASCII Text
Field 2
ASCII Text
T
(Decimal 84)
Flash Off
(Decimal 6)
P
(Decimal 80)
O
(Decimal 79)
S
(Decimal 83)
I
(Decimal 73)
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
I
(Decimal 73)
O
(Decimal 79)
Field 2
ASCII Text
Field 2
ASCII Text
N
(Decimal 78)
E
(Decimal 69)
D
(Decimal 68)
1 byte
127
Decimal
30
Decimal
CR
(Decimal 13)
Field 6
Carriage Return
Field 2
ASCII Text
Field 4
Slave Address
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Field 2
ASCII Text
Simplex
All Slaves
Message Text
Message Text
Message Text
Message Text
9 of 42 bytes
10 of 42 bytes 11 of 42 bytes 12 of 42 bytes 13 of 42 bytes 14 of 42 bytes 15 of 42 bytes 16 of 42 bytes 17 of 42 bytes 18 of 42 bytes
19 of 42 bytes 20 of 42 bytes 21 of 42 bytes 22 of 42 bytes 23 of 42 bytes 24 of 42 bytes 25 of 42 bytes 26 of 42 bytes 27 of 42 bytes
28 of 42 bytes 29 of 42 bytes 30 of 42 bytes 31 of 42 bytes 32 of 42 bytes 33 of 42 bytes 34 of 42 bytes 35 of 42 bytes
T
(Decimal 84)
Field 2
ASCII Text
SPACE
(Decimal 32)
Field 2
ASCII Text
Field 2
ASCII Text
36 of 42 bytes
37 of 42 bytes 38 of 42 bytes 39 of 42 bytes 40 of 42 bytes 41 of 42 bytes 42 of 42 bytes 1 byte 1 byte
Line Number 30
Field 5
Line Number
A simple BASIC program for a host PC to send the message would be:
100: L1$ = “Sequence Error: (5 Spaces)
110: L2$ = “ROBOT ” + CHR$(6) + “NOT” + CHR$(6) + “POSITIONED”
120: Print #1, L1$ + L2$ + CHR$(127) + CHR$(30) + CHR$(13)