Hex
command
Description
Data field Response
Data/Response description
54
GET/SET FOLDBACK
VOLTS
Gets/Sets the
foldback voltage. If
no parameters are
specified, the
current values are
returned.
"XXXX"
(set mode)
"XXXX"
(get mode)
XXXX = Target voltage
55
GET/SET FOLDBACK
PRES
Gets/Sets the
foldback pressure.
If no parameters
are specified, the
current values are
returned.
"XXXX"
(set mode)
"XXXX"
(get mode)
X.XE-XX = Target pressure
(set mode)
9.9.
CRC checksum example
The command to be sent to the unit is
0x01 – CMD_SYS_MODEL.
Full command is:
‘~ 01 01 XX’ + carriage return,
where XX is an unknown checksum at this time.
Note:
This command assumes the unit address is set to 1.
1.
To calculate command checksum, add decimal values of all characters in
the packet, excluding start, checksum, and terminator. Divide result by
256 and the integer remainder converted to two ASCII hex digits is the
checksum for the command.
2.
Example in decimal, take 290 mod 256 and result is 34, which converted
to hex is 0x22. This is the command checksum. Example in hex, take
0x122 mod 0x100 and result is 0x22. This is the command checksum.
3.
The command to be sent to the unit is, ‘~ 01 01 22’ + carriage return.
4.
The unit will respond with, ’01 OK 00 DIGITEL SPCe 48’
5.
To verify checksum for the response, perform similar calculations,
6.
Example in decimal, take 1352 mod 256 and result is 72, which converted
to hex is 0x48. This is the response checksum. Example in hex, take 0x548
mod 0x100 and result is 0x 48. This is the response checksum.
Table 4. Command CRC checksum
Characters
Value (Decimal)
Value (Hex)
space
32
0 X 20
04/2021 - ©Gamma
Page 49
900026_F
900026_F - Serial (J3) and ethernet (J2) operation