27906 Parallax Inc, 27906 Datasheet - Page 6

no-image

27906

Manufacturer Part Number
27906
Description
BASIC STAMP ACT BOARD NO PWR
Manufacturer
Parallax Inc
Datasheet

Specifications of 27906

Module/board Type
Activity Board
For Use With/related Products
BASIC Stamp®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Command Set Summary Table
* Every command can be used to address a single Position Controller device; additionally, configuration commands and action
commands can be used to address all devices on the bus at once by using the special case ID value 0.
Note that the binary value for each command is simply the command number shifted left by 3 places. It
is usually most expedient to store the pre-shifted binary/hex command values in a table of constants.
Generating the correct command code byte can be accomplished by summing or logically OR-ing the pre-
shifted command constant with the ID value of the desired device.
Command Set Details
QPOS – Query Position
Description: Returns the current position as a 16-bit signed value. The value is returned high byte first
Copyright © Parallax Inc.
Command #
Query Position
Query Speed
Check for Arrival
Travel Number of Positions
Clear Position
Set Orientation as Reversed
Set Tx Delay
Set Speed Maximum
Set Speed Ramp Rate
1
Transmit Data Format
(ValueH) then low byte (ValueL).
The position value increments by 1 for each position traveled in the positive direction, and
decrements by 1 for each position traveled in the negative direction. By default, positive
direction is defined as counter-clockwise rotation when observing the wheel from the
outside (screw side of the Position Controller board).
reversed (see the SREV command), the definition of positive direction is reversed.
The position value is cleared to 0 when the device is powered on.
position value can be cleared using the Clear Position (CLRP) command. Note that positive
advancement beyond +32,767 results in a rollover to -32,768.
Description
[Command:Address]
Hex Value
0x08
Position Controller Kit (#27906)
Command
QPOS
QSPD
CHFA
SREV
SMAX
SSRR
CLRP
STXD
TRVL
Binary Value
00001 000
1
2
3
4
5
6
7
8
9
0x08
0x10
0x18
0x20
0x28
0x30
0x38
0x40
0x48
Hex
Receive Data Format
Command Category/Type
[ValueH],[ValueL]
Query
00001 000
00010 000
00011 000
00100 000
00101 000
00110 000
00111 000
01000 000
01001 000
When the sensor orientation is
Binary
v1.1 3/22/2010 Page 6 of 13
Single
Additionally, the
Single
All *

Related parts for 27906