Understanding Closed Loop Position Count Mode

4 years 4 months ago #29534245 by aedthree
Hello,

I am mostly new to using RoboteQ devices and I'm trying to set up a system where I send the device a count value from Roborun+ and have my motor rotate to that angle. My motor and its encoder have been connected to the RoboteQ with the motor set to Closed Loop Position Count mode, but yet when I send it the
SetCommand(_P, 1, 1000)
, nothing happens. I am able to get the motor to spin when it's set to Open Loop mode while sending it
SetCommand(_G, 1, 500)
and the encoder delivers the expected feedback in the run tab.

I know there are many different setting that the encoder and motor can be set to in the configuration tab, but I don't know which can help.

I am using the XDC2230 model.

Thank you

Please Log in or Create an account to join the conversation.

4 years 4 months ago #29534246 by Gabriel_Isko
Replied by Gabriel_Isko on topic Understanding Closed Loop Position Count Mode
It should move in position count mode with that command.

I'll have to check your configuration settings. Please post your configuration profile.

Please Log in or Create an account to join the conversation.

4 years 4 months ago #29534247 by aedthree
Replied by aedthree on topic Understanding Closed Loop Position Count Mode
Here are my configuration settings
Attachments:

Please Log in or Create an account to join the conversation.

4 years 4 months ago #29534249 by Gabriel_Isko
Replied by Gabriel_Isko on topic Understanding Closed Loop Position Count Mode
You don't have any position feedback set up. You need an encoder to provide position feedback in closed loop mode, but right now your encoder is set up to provide motor commands.

You will have to use encoder settings like this:


Make sure that all your encoder settings are also correct.
Attachments:

Please Log in or Create an account to join the conversation.

4 years 4 months ago #29534252 by aedthree
Replied by aedthree on topic Understanding Closed Loop Position Count Mode
Thank you, your suggestion works

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.077 seconds