Commands – DNF Controls ST100-CP User Manual
Page 5

S
S
T
T
1
1
0
0
0
0
-
-
C
C
P
P
U
U
s
s
e
e
r
r
M
M
a
a
n
n
u
u
a
a
l
l
P
P
a
a
g
g
e
e
5
5
o
o
f
f
6
6
5. COMMANDS
These commands are transmitted by the CS to the ST100. The ST100 will respond with ACK (40H), NAK
(80H) or the appropriate Status information.
LED ON/OFF:
ASCII "L" + MSB LED Data Byte + LSB LED Byte
(See LED Data Byte Chart)
The ST100 will respond with ACK (40H) or NAK (80H). The LED Data Bytes
will determine the ON/OFF state of each LED.
KEYBOARD QUERY: ASCII
"K"
The ST100 will respond with NAK (80H) or ASCII "K" + Switch Data Byte.
The Switch Data Byte represents the current status of the keypad. See Switch
Data Byte Chart below.
MESSAGE DISPLAY: ASCII "D" + ROW + 16 Character Message
ROW: "1" = top row of the display
"2"
=
bottom
row
of
the
display
16-Character Message will consist of 16 printable ASCII characters. The
message MUST contain 16 characters.
The
ST100
will
respond
with ACK (40H) or NAK (80H).
SWITCH DATA BYTE: Pressed = 1 Not Pressed (Released)=0
Bit7= Switch #7 (Shift Key)
Bit6= Always 0
Bit5=
Switch
#6
Bit4= Switch #5
Bit3= Switch #4
Bit2= Switch #3
Bit1= Switch #2
Bit0= Switch #1
LED DATA BYTE:
LED ON= 1 LED OFF= 0
MSB:
Bit7=
Don't
Care
Bit6=
Don't
Care
Bit5= LED #6
Bit4= LED #5
Bit3= LED #4
Bit2= LED #3
Bit1= LED #2
Bit0= LED #1