SBL1360 - Max turns

5 years 1 week ago - 5 years 1 week ago #29531236 by ChrysDaze
Hi roboteq,

I bought a SBL1360 and wanting to know how can I limit the turns of the motor ?

The configuration I've put :
- Closed loop Position mode
- MXTRN - Turns between Limits at 16
- Encoder used as feedback

Can you help me ? Thanks.

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

5 years 1 week ago #29531238 by TechSupport
Replied by TechSupport on topic SBL1360 - Max turns
You're not going to get max turns as a limit. Instead you use the encoder counts as the limits for the counts.

This is for the min and max counts you set for it. You set up the action at min and max in your encoders parameters to forward and reverse limit switches(Function).
The following user(s) said Thank You: ChrysDaze

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

5 years 1 week ago #29531240 by ChrysDaze
Replied by ChrysDaze on topic SBL1360 - Max turns
What I should do then ?

I see that there is a "pulse by revolution".
And it's set to 100.
So to 16 turns I need 1600 count ??
Or how can I limit the number of turns with MXTRN ? What I need as configuration and as setup ?
Thank you.

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

5 years 1 week ago #29531241 by TechSupport
Replied by TechSupport on topic SBL1360 - Max turns
1 pulse = 4 counts.

The max turns is just telling the controller how many turns the motor has from beginning to end. If you had an actuator, then it would be the amount of turns from fully recessed to fully extended, but it does not tell the controller to stop moving if either of the 2 are met; generally there are built in limit switches that do that.

You need to figure out how many counts there are in each direction. Of course having the motor homed and the encoder set will help with that.
The following user(s) said Thank You: ChrysDaze

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

5 years 1 week ago - 5 years 1 week ago #29531242 by ChrysDaze
Replied by ChrysDaze on topic SBL1360 - Max turns
So I have to make a script to stop the motor if the value is 16 ?
And how can I limit the RPM of the motor ? Because sometimes is going very fast and I just put 10 RPM of maximum + 2RPM/S of acceleration...

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

5 years 1 week ago #29531243 by TechSupport
Replied by TechSupport on topic SBL1360 - Max turns
First make sure your settings are correct.

Motor configuration closed loop feedback is set to "Other".

Disable pulse input 1 completely.

Make sure your encoder is connected to the correct pins, 4 and 8.

Verify which mode you are in; open loop or closed loop.

If those are correct, then changes occur in the acceleration and deceleration parameters.

If you are saying the value is 16, then that tells me that the motor has only made 4 revolutions.

In the encoder settings, you set up the min and max counts, and then set the action as forward and reverse limit switches for "Action on min and action on max".

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

5 years 1 week ago #29531244 by ChrysDaze
Replied by ChrysDaze on topic SBL1360 - Max turns
If I have understand
16 turns = 4 revolutions
4 revolution = 400 pulses ( if 100 pulses = 1 revolution )
1 pulse = 4 counts

So I need 1600 counts.

I disable pulse input 1
I connect an encoder to pins 4 and 8
Put in closed loop.

And I have my motor goind for only 16 turns ?

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

5 years 1 week ago #29531246 by ChrysDaze
Replied by ChrysDaze on topic SBL1360 - Max turns
I give you the current settings.

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

5 years 1 week ago #29531247 by TechSupport
Replied by TechSupport on topic SBL1360 - Max turns
You still have to set up the counts min and max in your encoder settings and set the action on min and max to limit switches for the direction it is for.

It only takes into account based on what the encoder reads. The encoder count is ram based (volatile) , so if you reset power to controller, the value will go back to 0 upon power up.

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

5 years 1 week ago #29531248 by ChrysDaze
Replied by ChrysDaze on topic SBL1360 - Max turns
Yeah sorry, I have put the counts limits and action in min and max but nothing happen.
My motor is going accelerating and accelerating....

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

Moderators: tonysantoni
Time to create page: 0.156 seconds