INSTALLATION MANUAL User Manual

Chapter 6
Slave Mode Operation / Examples
6–2
Example 1 (Simplex Protocol)
Command Function: Display message shown below on all DL50 message
displays with an address of 42.
PRESSURE LOW
The command specifies a Roll up display mode
The host would need to send the following data (Simplex Protocol):
Ctrl-D
(Decimal 4)
P
(Decimal 77)
Field 2
ASCII Text
R
(Decimal 82)
Field 2
ASCII Text
E
(Decimal 69)
S
(Decimal 83)
S
(Decimal 83)
U
(Decimal 85)
R
(Decimal 82)
E
(Decimal 69)
8 of 12 bytes 9 of 12 bytes
SPACE
(Decimal 32)
L
(Decimal 76)
O
(Decimal 79)
W
(Decimal 87)
Field 2
ASCII Text
7 of 12 bytes
42
Decimal
2 of 3 bytes 3 of 3 bytes
1
Decimal
CR
(Decimal 13)
1 of 3 bytes
Field 3
Display Mode
Field 6
Carriage Return
Field 4
Slave Address
Field 5
Line Number
1 of 12 bytes
1 byte
2 of 12 bytes 3 of 12 bytes 4 of 12 bytes 5 of 12 bytes 6 of 12 bytes
10 of 12 bytes 11 of 12 bytes 12 of 12 bytes
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
Roll Up Message Slave Address 42 Line #1
Message Text
Message Text
End Message
A simple BASIC program for a host PC to send the message would be:
100: Print #1, “PRESSURE LOW” + CHR$(4) + CHR$(42) + CHR$(1) + CHR$(13)