Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Control two linear actuator with Phmotor

For general discussion related FlowStone

Control two linear actuator with Phmotor

Postby yohan » Sun Apr 20, 2014 7:05 pm

Hello, I am a student and I use flowbotics software for a project.
I want to drive two electric actuators with card "Phidget Motor Controller 1064" but I did not succeed. I can drive a single linear actuator at a time but not both together with the Phmotor unit. I used and tried flowstone example Phidget motor controller 1064 to control the two linear actuator but i didn't successful. I'm novice and i need help, thank you.
yohan
 
Posts: 4
Joined: Sun Apr 20, 2014 6:51 pm

Re: Control two linear actuator with Phmotor

Postby yohan » Fri Apr 25, 2014 9:28 am

Please I need help, I added a picture to show the situation. I want to control the two actuators at the same time but with this module I can only control one by one.
Attachments
Phidget 1064 Motor Controller.fsm
(15.77 KiB) Downloaded 762 times
shéma verin flowstone.png
shéma verin flowstone.png (130.11 KiB) Viewed 11284 times
yohan
 
Posts: 4
Joined: Sun Apr 20, 2014 6:51 pm

Re: Control two linear actuator with Phmotor

Postby Nubeat7 » Fri Apr 25, 2014 12:52 pm

hmm, maybe this would work for you?

i dont know how this phidgets module works, after you have just one vel and acc input and you need to tell the module which motor you want to control via the index you only can control one motor at the time, you can switch between the faders for each motor depending on which is moved last (look example)

just take care to select the index first and then send the values, right triggerorder is important here.

hope it helps
Attachments
Phidget 1064 Motor ControllerNB.fsm
(16.53 KiB) Downloaded 731 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Control two linear actuator with Phmotor

Postby yohan » Sat Apr 26, 2014 3:07 pm

Thanks a lot for this answer. I tried to understand the mechanism and i don't know how to change motor selected.. I may have found the index to change motor but i didn't know how to use it. When i change values, only v0 changes not v1. I didn't need slider, just floats or int to select values. Sorry i'm not conffortable with this software flowbotics, i have used it for a week. Thanks
Attachments
Cap2ture.png
Cap2ture.png (123.79 KiB) Viewed 11258 times
yohan
 
Posts: 4
Joined: Sun Apr 20, 2014 6:51 pm

Re: Control two linear actuator with Phmotor

Postby tester » Sat Apr 26, 2014 3:45 pm

Flowbotics/Flowstone are easy to use. Just follow the dataflow (wires), and know there might be specific order if multiple wires meet in one place. It's very visual and modular.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Control two linear actuator with Phmotor

Postby Nubeat7 » Sat Apr 26, 2014 6:02 pm

like you modified the schematic it only can control v0 because you send trigger signals to 'empty last primitive so both inputs of the last primitive which should set the motorindex are 0 so the index is always 0 you need to give values to the inputs of the last primitive

i included a little example how to use a last primitive and triggers to set an index

after the phidget module is not active i also connected the vel to the output, this is just for test reason you can connect this with the pgidgets module output again when it is active
for better understanding i also used a equal to index comparsion to get the actual value change on the output

instead the sliders you can also connect an editbox or knob... or just a float primitive if you dont make any gui for it
Attachments
Phidget 1064 Motor ControllerNB2.fsm
(132.89 KiB) Downloaded 784 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Control two linear actuator with Phmotor

Postby yohan » Sat Apr 26, 2014 7:10 pm

Thank you very much, it is exactly what I needed. :D Thank for your work and your help ! ;)
yohan
 
Posts: 4
Joined: Sun Apr 20, 2014 6:51 pm


Return to General

Who is online

Users browsing this forum: Google [Bot] and 88 guests