SIXpack 2 – Manual (V1.10 / January 29
th
, 2010)
44
7.4
Other Settings
Adjust RS 232 / RS 485 Baud rate
CMD
$40
P0,P1 #
baud rate divisor (16 bit): baud rate divisor=20MHz/ (16*baud rate)
P2,P3 #
transmitter switch on/off delay time in increments of 2ms (1..1000)
(default: 6ms)
Setting of Timeout for Abort of Packet (RS 232 / RS 485)
CMD
$41
P0,P1 #
timeout in increments of 2ms (2..65535)
Change Address of Unit (RS 232 / RS 485)
CMD
$42
P0
new RS 232 / RS 485 address
Read out Information about Unit
Allows to read out of firmware revision, reset-flag, temperature and serial number.
CMD
$43
P0
response address
response
CMD
$43
P0
firmware
-
revision
(e.g. 148=V1.4.8)
P1
reset
flag
: during first read out 1, afterwards 0
P2
temperature of PACK in °C (8 bit signed)
P3,P4 #
serial number
Configure /query RS 232-operating Mode via CAN
CMD
$44
P0
response address
P1
response address for RS 232-receiving via CAN (upper 8 bit)
P2
number of bytes which should be forwarded with RS 232-receiving (1..8, 0=disabled)
Response
CMD
$44
P0
number of bytes in the RS 232-send buffer (0=empty)
P1
bit 0: State of the CTS line (inverted)
Complete Hardware Reset
CMD
$CC
P0
HW-Reset
Attention: All configured parameters will be replaced by the default parameters
This command needs about 1 second.
Note: The RS232 usually receives a 0-byte during execution.