11
ASCII Protocol
The ASCII Protocol is a serial communication protocol which allows your home automation module to communicate with the Digiplex control
panel through the APR-PRT3 Printer Module. The home automation module must be programmed with the ASCII Protocol in order for
successful communication to occur.
The ASCII Protocol is a means of communication involving the use of uppercase ASCII characters. All communications between the Printer
Module and the home automation module must end with a carriage return (ASCII #13).
When a command is sent from the home automation module to the Printer Module, it is acknowledged with a feedback echo. The Printer
Module will send the first five characters of the command back to the home automation module followed by “&OK” for valid commands,
“&fail” for invalid commands or with requested information when a valid command involves an information request. If the feedback consists
of an exclamation point (“!”) followed by a carriage return, this signifies that the command could not be accepted due to the fact that the
Printer Module’s reception buffer is full.
Printer Module to Digiplex Panel Communication Status
If the Printer Module fails to communicate with the Digiplex panel, the following command is used.
The following command is used to signify communication has been restored. This command is also used upon startup to indicate that the
Printer Module is successfully communicating with the Digiplex control panel.
Commands sent to the Printer Module from the Home Automation Module
The following lists the ASCII Protocol string codes and their respective commands from the home automation module to the Printer Module.
Virtual Input Open
The following commands set the virtual inputs’ status to “open”.
Virtual Input Closed
The following commands set the virtual inputs’ status to “closed”.
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Byte 10
C
O
M
M
&
f
a
i
l
<cr>
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
C
O
M
M
&
o
k
<cr>
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Virtual Input Open 01
V
O
0
0
1
<cr>
Virtual Input Open 02
V
O
0
0
2
<cr>
...
LL
Virtual Input Open 16
V
O
0
1
6
<cr>
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Virtual Input Closed 01
V
C
0
0
1
<cr>
Virtual Input Closed 02
V
C
0
0
2
<cr>
...
LL
Virtual Input Closed 16
V
C
0
1
6
<cr>