The DGH A2400 series products use a simple command and response protocol. A
module must be interrogated by a host computer to obtain data. A module will never
initiate a command sequence in order to prevent communications collisions.
A command is initiated with a command prompt, may be a dollar sign ($) or pound sign
(#). Following the prompt a single address character must be transmitted. Each module on a
communications bus must be setup with a unique address. The address is followed by a two
character command. Every command is terminated with a carriage return.
The module response begins with a response prompt, which is an asterisk (*) followed by
the necesary data. Every response is terminated with a carriage return. Linefeeds after
the carriage return are user selectable. See the table below for typical commands and
their respective response messages.
| Command Definition |
Typical Command |
Typical Response |
| DO - Digital
Output |
$1DO01 |
* |
| RD - Read Data |
$1RD |
*+99999.99 |
| REA - Read Ex. Address |
$1REA |
*3031 |
| RID - Read IDentification |
$1RID |
*TANK FARM 1 |
| RS - Read Setup |
$1RS |
*31070000 |
| RSU - Read Setup |
$1RSU |
*31070000 |
| RT1 - Read Time Delay 1 |
$1RT1 |
*+00100.00 |
| RT2 - Read Time Delay 2 |
$1RT2 |
*+00352.00 |
| RT3 - Read Time Delay 3 |
$1RT3 |
*+00050.00 |
| WE - Write Enable |
$1WE |
* |
| |
|
|
| Write Protected Commands |
|
|
| EA - Extended
Address |
$1EA3031 |
* |
| ID - IDentification |
$1ID TANK FARM 1 |
* |
| RR - Remote Reset |
$1RR |
* |
| SU - Setup |
$1SU31070000 |
* |
| T1 - Set Delay Time 1 |
$1T1+00100.00 |
* |
| T2 - Set Delay Time 2 |
$1T2+00352.00 |
* |
| T3 - Set Delay Time 3 |
$1T3+00050.00 |
* |