- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- VDC2450 joystick control with motor using absolute potentiometer feedback
VDC2450 joystick control with motor using absolute potentiometer feedback
- jonshepley
- Topic Author
- Offline
Less
More
- Posts: 17
- Thank you received: 0
9 years 1 month ago #29529138
by jonshepley
Replied by jonshepley on topic VDC2450 joystick control with motor using absolute potentiometer feedback
My appologies, I didn't realise it was absolute like that, I thought that if you gave it a command of:
setcommand(_g,1,750) would give you a 3/4 of full speed rotation with out stopping or regarding feedback.
So to work out the command i thought maybe it would be 5v = 1000 but working back that would make 3.5v 700? where am i going wrong?
I am sorry for all these questions, if it makes any difference I think i'm getting there now!
Thanks,
Jon
setcommand(_g,1,750) would give you a 3/4 of full speed rotation with out stopping or regarding feedback.
So to work out the command i thought maybe it would be 5v = 1000 but working back that would make 3.5v 700? where am i going wrong?
I am sorry for all these questions, if it makes any difference I think i'm getting there now!
Thanks,
Jon
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 1 month ago #29529139
by Griffin Baker
Replied by Griffin Baker on topic VDC2450 joystick control with motor using absolute potentiometer feedback
The analog min and max tell the motor how far it can move in both directions. If the min is at 1000mV and the max is at 4500mV, then the motor can't go above that. So if you are telling it to go to 4500mV on the analog feedback, any go command value that is equivalent or greater will tell it to go to 4500 on the feedback.
The AIC is the analog input after the conversion. It takes the analog input voltage value and then converts it into a motor command. In the run tab you can see what the feedback value is. You set up a channel for motor command and match it up to the analog feedback value reported in the top right section of the run tab.
The AIC is the analog input after the conversion. It takes the analog input voltage value and then converts it into a motor command. In the run tab you can see what the feedback value is. You set up a channel for motor command and match it up to the analog feedback value reported in the top right section of the run tab.
Please Log in or Create an account to join the conversation.
- jonshepley
- Topic Author
- Offline
Less
More
- Posts: 17
- Thank you received: 0
9 years 1 month ago #29529140
by jonshepley
Replied by jonshepley on topic VDC2450 joystick control with motor using absolute potentiometer feedback
That all mkes perfect sense, I will have a play this evening and see how I get on with it. Thank you
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
- Forum
- Roboteq Motor Controllers
- Controller Configuration & Operation
- VDC2450 joystick control with motor using absolute potentiometer feedback
Time to create page: 0.080 seconds