BH8-Series – User’s Manual
www.barrett.com
© 2007 Barrett Technology®, Inc.
Document: D3000, Version: AF.00
Page 38 of 82
6.2.1
Control Blocks
Control data from the host to the hand is grouped into control blocks. Each control block has a
single byte header, optionally followed by a set of control data. The header specifies whether or
not control data is to follow, and whether or not a feedback block is to be returned. The header can
also terminate RealTime mode.
The possible header byte values are:
"C": Control data follows; respond with a feedback block
"c": Control data follows; respond with an acknowledgment character
"A": No control data follows; respond with a feedback block
"a": No control data follows; respond with an acknowledgment character
<^C>: Terminate RealTime mode
If the "C" or "c" header is used, then the header should be followed by control data. For each
motor, two different data values should be included in order if their corresponding flags are true:
LCV ("Loop Control Velocity"): 1 signed byte
LCPG ("Loop Control Proportional Gain"): 1 unsigned byte
The control data should be sent in a specific order: first all data for motor 1, then all for motor 2,
then motor 3, and finally motor 4. Note that if a given motor was not specified in the initiating
LOOP command, or if a specific value isn't enabled by the corresponding finger parameter, then
the corresponding datum should not be transmitted.
If the LCV datum is included, then the hand will multiply it by the parameter LCVC before
passing it on to the motor. Note: the hand treats an unscaled LCV datum as 4 bits of integer and 4
bits of fraction; this is different from an unscaled LFV datum, which is all integer.
6.2.2
Feedback Blocks
Data from the hand to the host is grouped into feedback blocks. Each feedback block has a single
byte header ("*"), followed (if requested) by a set of feedback data. If the hand has encountered an
error, then the header is replaced by "<CRLF>ERR ", followed by the error number; the hand then
returns to supervisory command mode.
For each selected motor, four different data values are included in order if their corresponding
finger parameters are non-zero:
LFV ("Loop Feedback Velocity"): 1 signed byte
LFS ("Loop Feedback Strain"): 1 unsigned byte
LFAP ("Loop Feedback Absolute Position"): Unsigned 2-byte word
LFDP ("Loop Feedback Delta Potion"): 1 signed byte
Содержание BH8 Series
Страница 1: ...BarrettHand BH8 Series User Manual Firmware Version 4 3x Document D3000 Version AF 00 ...
Страница 2: ......