|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: servo
What is this jumper everyone refers to? Is it a special piece that fits around the two prongs? Is it like the PWM cable only two wired, and if so where does the other end go to? I have looked all over the web and have only seen it refered to as jumper.
|
|
#2
|
|||||
|
|||||
|
Re: servo
Four of them were in the Kit of Parts, in the small parts bag in the black tote. Look at the KoP checklist for a picture.
|
|
#3
|
|||
|
|||
|
Re: servo
This is what i have, what next? don't forget i want the arm to go up however fast however far when i push the y axis, i just want it to move. i also need to do the same thing with another part of the arm. i have also been told they will be used with denso motors, do i change the vi's at all for that? and i am confused on how to input what port/pwm the motor or servo is wired into for each specific servo or motor vi. if anyone can send me a copy of my attachment an example on how to do all of what i just stated, i should be good from there.
Last edited by Ian McShane : 15-02-2011 at 19:14. |
|
#4
|
|||
|
|||
|
Re: servo
I am also having trouble connecting the unbundled buttons going through the case structure and into the motor set output vi.
![]() |
|
#5
|
|||||
|
|||||
|
Re: servo
Quote:
I don't have Labview in front of me here at work, but I would guess that it is in the Boolean palette and if I recall correctly has "0:1" on the icon. |
|
#6
|
|||
|
|||
|
Re: servo
When you get the chance, can you modify the attachment i added before and show me that.
![]() |
|
#7
|
|||||
|
|||||
|
Re: servo
I head straight from work over to the school to work with 3573 where I don't have Internet access. I will take a look at the attached code when I get home this evening (6 or 7 ET).
|
|
#8
|
|||
|
|||
|
Re: servo
that is great, thanks.
|
|
#9
|
|||
|
|||
|
Re: servo
When i attach the green button wire to the sync group input on the set output motor vi, it just says that it's error wire. that the wire does not match the vi input.
Last edited by Ian McShane : 16-02-2011 at 18:14. |
|
#10
|
|||
|
|||
|
Re: servo
any other homemade diagrams would be welcome too
![]() |
|
#11
|
|||||
|
|||||
|
Re: servo
A While Loop in Teleop set to run once with nothing passed in or out has no real purpose. I would remove it for ease of reading.
Your servo code creates a race condition. You are setting the value two separate times with two separate pieces of code. Where the servo will end up is not determinate and may not be consistent. I have shown one way of wiring the up and down commands using a single Servo Set VI. You should be able to follow that example to fix the left-right servo code. I have included an example of controlling a motor with a joystick y-axis, a button that runs it one direction and two buttons that run it in opposite directions. The PWM channels are specified when you open the device in Begin.VI. I have included an example of how to open a motor and set the refnum in the attached teleop file but this is NOT where that code should go in your project. It must be done in Begin. Sync groups are an advanced function used with CAN that you don't need to worry about right now. You want to be wiring into the terminal labeled "output" on the Motor Set Output VI. If you have any other questions or are having difficulty understanding any of the examples please feel free to ask. Last edited by Vikesrock : 16-02-2011 at 19:48. |
|
#12
|
|||
|
|||
|
Re: servo
omg thank you so much!!!!you are awsome!!!!!!hopefully we will see you at the nationals.
![]() |
|
#13
|
|||
|
|||
|
Re: servo
And how do i program an arm in autonomous, example pleeeeeeeeeeeeease. say i want to wait 6 seconds for the arm to move up for 3 seconds.
|
|
#14
|
|||
|
|||
|
Re: servo
and how do i make a motor move for some odd amount of seconds and then stop.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|