Looking for a script

9 years 1 month ago #29525813 by giantpt
Looking for a script was created by giantpt
Hi,

I have a Roboteq 1230 and I am really satisfied with it to controll my 2 motors.

I am looking for a script the can act in both motors to filter them, I wonder to have 3 functions

- Smoothnes:
This would control the acceleration/deceleration speed using a pot.
This variation would be between 500rpm/s (min) to 7000rpm/s (max)

- Speed:
Using another pot to pitch the the joystick orders in a range of 100% (max) to 30% (min).

- Inverter:
Using a on/off switch I must be able to invert the polarity of both motors. CW <-> CCW


How can I do a script like this?
I don\'t understand about scripting, I have been searching all over the net but I found nothing.

Thank you

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

9 years 1 month ago #29525817 by roboteq
Replied by roboteq on topic Re:Looking for a script
You can easily write a script that read an analog input and changes the acceleration configuration parameter based on that value.

The simple script shown here dev.roboteq.com/dev1/tech-support/microbasic-overview does something similar, by changing the amps limit configuration based on the read temperature.

Regarding command invertion, this can be done without a script. Just pick a digital input and go in the configuratio menu for that input. There, you can configure that input to act as a direction change for any motor channel.

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

9 years 1 month ago #29525819 by giantpt
Replied by giantpt on topic Re:Looking for a script
roboteq wrote:

You can easily write a script that read an analog input and changes the acceleration configuration parameter based on that value.


Easy? I beleive, but I don\'t understand about code and scripting.

The simple script shown here dev.roboteq.com/dev1/tech-support/microbasic-overview does something similar, by changing the amps limit configuration based on the read temperature.


I have taken a look but this is Chinese for me...

Regarding command inversion, this can be done without a script. Just pick a digital input and go in the configuration menu for that input. There, you can configure that input to act as a direction change for any motor channel.


This is easy... finally..

I thank you a lot your help but it is not useful for me, I just can\'t interpret it either adapt it for my needs.

Well, if after 114 reads I only had 1 comment, and it wasn\'t even from the manufacturer, I think I will find an enterprise to design the code according my needs. I know that I will have to pay but at least I will have it.

I just find a bit strange that hadn\'t any answer or opinion from RoboteQ... is very nice to know that they only like to sell and not to help... very nice roboteq..

my SCD2130 is already my 4th motor controller but you (Roboteq) can bu sure it was the last...

Thank you

Best regards

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

9 years 1 month ago #29525821 by roboteq
Replied by roboteq on topic Re:Looking for a script
The reply was from roboteq.

Writing script does require some basic programming skills. If you dont have this ability, we can be contracted to do this work. Please contact us directly dev.roboteq.com/dev1/contact-us

Your requirements are very specific. It is quite doubtful that you will find an off-the-shelf product that can do this without some form of custom programming.

The SDC2130\'s scripting language is a unique feature for a product of that size and price. You did make the right choice.

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

Moderators: tonysantoni
Time to create page: 0.128 seconds