Field Size Comment
3. RESPONSE CODE 2 hex characters Range 00 through FF
For an error condition with an incoming command, this eld returns an error number to
the controlling computer. For non-error conditions, this eld returns a status byte/word
to the controlling computer, which is dened in the SPCE and can vary with the needs of
individual commands within a unit, as well as varying from unit to unit. Data must be in
ASCII printable format.
<SPACE>
4. DATA eld(s) (optional) As needed ACSII printable characters only
Data eld(s) are used to respond to commands requesting data. For example, a
command requesting the current voltage setting in a unit would have the reading placed
in a data eld. Data must be in ASCII printable format. There is no limit on the number
or size of data elds. Data is not required for all responses.
<SPACE>
5. CHECKSUM 2 hex characters Computed checksum of packet
Checksum contains a simple computed checksum of the command packet. The value
must be in ASCII hexadecimal notation. The checksum is calculated by adding the
decimal value of all characters in this packet (including the space before the checksum
eld) and then dividing the result by 256 (base 10). The integer remainder converted to
two ASCII hex digits is the packet checksum. When the controlling computer receives a
response packet, the passed checksum is converted from the hex value to a binary
integer and compared with a computed checksum. If they are not the same, considers it
an error, and repeats the last command. When qualied technicians are testing the
remote unit using a dumb terminal this returned checksum value can be ignored.
6. Terminator character 2 hex characters ASCII carriage return
This eld is an ASCII carriage return placed at the end of a packet. This character is not
the newline character "\n" which is actually an ASCII linefeed, but can be assigned using
the "\r" designation in a string. There is not a space between the checksum and
terminator eld.
9.8. RS 232/422/485 general commands
Table 3. General commands
Hex
command
Description Data eld Response Data/Response description
01 MODEL NUMBER
A description of the
controller.
DIGITEL SPCe
02 VERSION
Firmware revision
level.
DIGITEL
FIRMWARE:
X.XX
X.XX is the numerical
revision level for major
changes
07 MASTER RESET
Executes a
complete software
reset.
No response due to
initialization of controller
04/2021 - ©Gamma
Page 43900026_F
900026_F - Serial (J3) and ethernet (J2) operation