|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Victor stops blinking !!!
I have to ask - what is that CIM driving? Why do you need to spin a piece of 80/20 at 5000 RPM? It appears to have physical stops every 180 degrees... it's not spinning for long that way.
|
|
#2
|
|||
|
|||
|
Re: Victor stops blinking !!!
Quote:
It moves a piece of aluminum profile 90 degrees!!And we carry minibot on it!! |
|
#3
|
||||
|
||||
|
Re: Victor stops blinking !!!
Quote:
When direct driving a CIM, even a torque load of 1 foot-pound is enough to make it draw more than 40 amps of current, tripping circuit breakers and feeding more current through the Victors than is otherwise designed for. If the CIM shaft were to spin somehow, the mechanism would spin 180 degrees in under 1/100 of a second. However, there's no way that will happen. Install a transmission of some sort on your CIM to slow it down while increasing its torque and you will have far less problems. |
|
#4
|
|||
|
|||
|
Re: Victor stops blinking !!!
Chris can I fix this in my code or should we definitely use transmission?
Actually today when I run some different code than the above the arm moved a few times! |
|
#5
|
||||
|
||||
|
Re: Victor stops blinking !!!
Quote:
I believe that if you have a never-ending while loop in teleop then your joystick values will never change (there is nothing reading them) And if the CIM is drawing too much current it will never work either. Do any motors actually work?Like the drive ones? |
|
#6
|
||||
|
||||
|
Re: Victor stops blinking !!!
Have you actually tested this yet? You do realize the CIM only puts out 1.79 Lb/Ft of torque at stall don't you?.
|
|
#7
|
|||
|
|||
|
Re: Victor stops blinking !!!
also, on the detail of your victors, your wiring for the fan is illegal. i know it is not related to your current problem, but it could cause you to fail inspection. they need to be wired, seperately, to a 20A or smaller breaker.
good luck fixing the victors! (based on the 3:54 post) |
|
#8
|
||||
|
||||
|
Re: Victor stops blinking !!!
Quote:
The control system is designed to allow wireless control of the ROBOTS. The Driver Station software, FirstTouch I/O module, cRIO-FRC, speed controllers, relay modules, radio, and batteries shall not be tampered with, modified, or adjusted in any way (tampering includes drilling, cutting, machining, gluing, rewiring, disassembling, etc.), with the following exceptions: D.The supplied fans attached to speed controllers may be powered from the power input terminals. They have allowed it in the past years, once again it is allowed this year. |
|
#9
|
|||
|
|||
|
Re: Victor stops blinking !!!
aah, sorry. forgot about that.
and cilginbilgin, the main.vi itself is inside of a while loop, when it is called by global.vi. anything you put in main does not need a while loop, and the inclusion of such loops can cause your robot to stall. (ours did last year, thankfully we fixed the code in qualifying matches) |
|
#10
|
|||||
|
|||||
|
Re: Victor stops blinking !!!
Quote:
Cilgin, If you have another victor that is working, swap the working PWM with the Victor that you do not believe is working. If that change works, then you may have your Victor PWM connected to the wrong PWM output on the DSC. Make sure that the output matches your software. Use a flashlight it is hard to see the pins in the dark. As a hint on the fan wiring. If you turn the fan crimp terminals upside down, then insert the screw through the two terminals, you can make the wiring look much cleaner. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|