Page 1 of 1

Phidgets Stepper 1063

Posted: Tue May 31, 2011 2:57 pm
by Ulflang
Hi,
I am new to FlowStone and to Phidgets products !

According to the manual the following command int64 CurrentPosition(int MotorIndex) [get,set] can be also used to overwrite the position that the PhidgetStepper is at right now. This can be useful for zeroing the position when a limit is reached.

Can this also be done with the PhStepper module, I can only see the [get] part (Pos - output), but not the [set] to mark a position. The Pos - Input port actually sets the target position, and hence cannot be used to set the current position to a certain value eg. 0. Please advise.

Thank you.

Ulf

Re: Phidgets Stepper 1063

Posted: Mon Jun 06, 2011 9:20 am
by DSP
On the FlowStone Phidgets Module you can't set the current position value. Just the target position as you say, however you do get the current position of the motor, so to do what you want I would just use a bit of math to subtract the current location to give you zero and create your own system.