Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Victor motor contorls flashing orange (http://www.chiefdelphi.com/forums/showthread.php?t=112764)

thvs 04-02-2013 21:12

Victor motor contorls flashing orange
 
Hi,
Our victor lights are flashing orange. We have changed the victors and the PWM cables and ensured that everything is wired properly. We were thinking that maybe there was something wrong with the sidecar or the program (labview) that caused the victors to flash orange. The robot was running fine a couple of weeks ago, but we rewired everything, and now it won't run.

What colors should the lights be when running properly?
Can we test to see if there is something wrong with the sidecar?
Is there anything we should be watching for when programming in labview regarding the victors?
Is there any reason, other then no PWM signal, for the light to be flashing orange?

Thanks

Johnbot 04-02-2013 21:20

Re: Victor motor contorls flashing orange
 
According to the datasheets for both the Victor 888 and Victor 884, the Orange flashing LED represents no PWM, and only no PWM. You should check the direction of the PWM and the slot it is plugged into as well as which slot the code wants it plugged into. Also, you should make sure that the sidecar is fully functional with the power LEDs all green, and make sure that the ribbon cable is fully inserted on both ends.
Edit: From the datasheet:
LED Indicator Status
• Green = Full Forward
• Orange = Neutral/Brake
• Red = Full Reverse
• Flashing Orange = no PWM

thvs 04-02-2013 21:39

Re: Victor motor contorls flashing orange
 
Hi,
We have checked and everything seems to be in place. When we calibrate the controls they flash green for 2 seconds, then go back to flashing orange. I don't know if that means anything, but I was thinking that meant that there was nothing wrong with the wiring.

Also we got our robot to move by disabling the safety config in the program for the motor controls, However; I don't think that's the right answer.

BitTwiddler 04-02-2013 22:37

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by thvs (Post 1227626)
Hi,
We have checked and everything seems to be in place. When we calibrate the controls they flash green for 2 seconds, then go back to flashing orange. I don't know if that means anything, but I was thinking that meant that there was nothing wrong with the wiring.

Also we got our robot to move by disabling the safety config in the program for the motor controls, However; I don't think that's the right answer.

That tells me the problem is in the code somewhere. Are you using LabVIEW? Are you periodically setting the motor value (i.e. every 100 ms or so)?

AllenGregoryIV 05-02-2013 00:15

Re: Victor motor contorls flashing orange
 
It seems like your program isn't updating the motor values when it's at zero. If you are able to calibrate but than it goes back to flashing orange that probably means motorsafety is killing the outputs for some reason.

If you only update the motor values if the joystick value changes, that might result in this type of problem.

Are you establishing all of them as Victors and not as Jaguars in code?

thvs 05-02-2013 10:25

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by BitTwiddler (Post 1227707)
That tells me the problem is in the code somewhere. Are you using LabVIEW? Are you periodically setting the motor value (i.e. every 100 ms or so)?

We are using labview. I don't now if we are setting the motor values, how would you check that?

thvs 05-02-2013 10:34

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by AllenGregoryIV (Post 1227786)
It seems like your program isn't updating the motor values when it's at zero. If you are able to calibrate but than it goes back to flashing orange that probably means motorsafety is killing the outputs for some reason.

If you only update the motor values if the joystick value changes, that might result in this type of problem.

Are you establishing all of them as Victors and not as Jaguars in code?


If the problem is with updating motor values, what needs to be changed in the program?

They are established as victors.

Tem1514 Mentor 05-02-2013 10:41

Re: Victor motor contorls flashing orange
 
Hi Tina,

If I recall you are the rookie team that we helped get going at the 610 quick build?

If that's the case my email to you should help. At the present, I really think that either the PWM cable(s) have been unplugged and or you have not enabled the robot.

I hope the email helps.

BTW.
This is a wonderful place to get help, Chief Delphi that is.

thvs 05-02-2013 10:54

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Tem1514 Mentor (Post 1227933)
Hi Tina,

If I recall you are the rookie team that we helped get going at the 610 quick build?

If that's the case my email to you should help. At the present, I really think that either the PWM cable(s) have been unplugged and or you have not enabled the robot.

I hope the email helps.

BTW.
This is a wonderful place to get help, Chief Delphi that is.


Hi,

We did receive the email, and checked all of the components you stated but the light is still flashing so we are inclined to believe its a programming error. We even had a mechanic and an electrician look at our robot and neither of them could see an error in the wiring.

Do you know of anything we should look for in the program

Thanks

ehochstein 05-02-2013 11:00

Re: Victor motor contorls flashing orange
 
Can you post screen-shots of your Begin.vi Teleop.vi and Finish.vi?

Alan Anderson 05-02-2013 11:10

Re: Victor motor contorls flashing orange
 
Everything A lot of what you describe is consistent with an improper PWM cable connection. It takes practice to be able to insert a PWM connector into a Victor properly every time. Unplug one and inspect the pins. They should be perfectly straight. If any are bent, it's likely that it wasn't making proper contact.

rfolea 05-02-2013 11:25

Re: Victor motor contorls flashing orange
 
Is the dashboard installed, operating and enabled?

LEDs will flash orange until the robot is enabled ... right?

thvs 05-02-2013 11:37

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Wiifi (Post 1227948)
Can you post screen-shots of your Begin.vi Teleop.vi and Finish.vi?

We have been using the basic code, except in the begin VI we changed the safety config to disabled and the Jaguar to a Victor.

thvs 05-02-2013 11:41

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by rfolea (Post 1227960)
Is the dashboard installed, operating and enabled?

LEDs will flash orange until the robot is enabled ... right?


It is Flashing orange unless the robot is moving, then there is no color.

Mark McLeod 05-02-2013 11:44

Re: Victor motor contorls flashing orange
 
Now that sounds like a Victor calibration/joystick centering issue.

The orange flickering light might mean that neutral on the joystick is right at the edge of the Victor's neutral dead zone.
That's not a dangerous condition, just annoying.

With the robot up on blocks can you push the joystick to it's extreme's and see the Victor status light turn green in one direction and red in the opposite direction?

thvs 05-02-2013 11:46

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Mark McLeod (Post 1227976)
Now that sounds like a Victor calibration/joystick centering issue.

The orange flickering light might mean that neutral on the joystick is right at the edge of the Victor's neutral dead zone.
That's not a dangerous condition, just annoying.

With the robot up on blocks can you push the joystick to it's extreme's and see the Victor status light turn green in one direction and red in the opposite direction?

So how do we fix that?

Tem1514 Mentor 05-02-2013 11:47

Re: Victor motor contorls flashing orange
 
Does the code deploy without errors?

Can you Enable the robot from the Driver Station?

A screen shot of the Enabled Driver Station will help us solve your problem. Example, either take a digital picture or in Windows use the print screen function and then paste the clipboard into Word and attach the result here.

Mark McLeod 05-02-2013 11:50

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by thvs (Post 1227981)
So how do we fix that?

The Calibration instructions are on page 2 of the Victor 888 User Manual

But are the motors still not running even though the Victors are going from flickering orange to off when you try?
Or is the robot moving, but you just have a flickering orange status light when it's supposed to be at rest?

thvs 05-02-2013 11:50

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Mark McLeod (Post 1227976)
Now that sounds like a Victor calibration/joystick centering issue.

The orange flickering light might mean that neutral on the joystick is right at the edge of the Victor's neutral dead zone.
That's not a dangerous condition, just annoying.

With the robot up on blocks can you push the joystick to it's extreme's and see the Victor status light turn green in one direction and red in the opposite direction?


We didn't see any change in color when we pushed the joystick, there was no colors.

thvs 05-02-2013 11:55

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Mark McLeod (Post 1227985)
The Calibration instructions are on page 2 of the Victor 888 User Manual

But are the motors still not running even though the Victors are going from flickering orange to off when you try?
Or is the robot moving, but you just have a flickering orange status light when it's supposed to be at rest?

The motors do not move when the safety config in the program is enabled. When it is disabled the robot moves. The light flashes orange at all times unless the robot is moving, then no light is displayed.

Mark McLeod 05-02-2013 12:01

Re: Victor motor contorls flashing orange
 
The motor Safety is because something is slowing down the cRIO program or the communication packets.
You can run without the Safety if your controls remain responsive. If however you are experiencing any lag, then it becomes a higher priority to track down the cause for the slow down.

The flickering orange/no lights pretty much describe a calibration issue.

On the Dashboard there is a display with a green dot showing one of the joysticks movements. Does that green dot go all the way up or down when you push the joystick all the way forward/back?

And is the green dot centered when the joystick is at neutral?

thvs 05-02-2013 12:09

Re: Victor motor contorls flashing orange
 
1 Attachment(s)
Attachment 13809
Quote:

Originally Posted by Wiifi (Post 1227948)
Can you post screen-shots of your Begin.vi Teleop.vi and Finish.vi?

Here is a document with a picture of the vis.

Alan Anderson 05-02-2013 12:26

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by thvs (Post 1228002)
Here is a document with a picture of the vis.

Is there a reason you didn't just attach the pictures directly? Embedding them in a Word document requires extra steps on both your end and ours in order for us to see them, and it messes with the aspect ratio and size, making it hard to view them as they were originally captured.

With the exception of disabling the Drive motor safety, it looks like a standard Arcade default robot project. Did you make any changes that aren't shown, perhaps in Periodic Tasks?

Are there any messages on the Drive Station diagnostics display?

Tem1514 Mentor 05-02-2013 12:34

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Alan Anderson (Post 1228012)
Is there a reason you didn't just attach the pictures directly? Embedding them in a Word document requires extra steps on both your end and ours in order for us to see them, and it messes with the aspect ratio and size, making it hard to view them as they were originally captured.

Alan that was my fault as I asked them to paste it into a Word doc. What would be the better way? Thanks

Tem1514 Mentor 05-02-2013 13:15

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Mark McLeod (Post 1227985)
The Calibration instructions are on page 2 of the Victor 888 User Manual

But are the motors still not running even though the Victors are going from flickering orange to off when you try?
Or is the robot moving, but you just have a flickering orange status light when it's supposed to be at rest?

Just a side note since we don't know if the software is working correctly, performing a calibration to the joystick may, I'll say that again may make the problem worse.

I would really try resetting the Victors back to the factory default and then see what happens assuming the Victors will respond to the default function as indicated in User manual.

Gardner C 05-02-2013 13:20

Re: Victor motor contorls flashing orange
 
We had a similar problem with two Victors 884,s. They had been used on a practice bot this summer and worked OK. We tried multiple PWM cables driven by a cRIO, VEX and servo tester. In all cases we could substitute a servo for the Victor and it worked OK so we knew the signal was OK to the connector.

We removed the Victors and dissected each one. In both cases we found the problem was the PWM connector on the Victor. We also found a foreign substance on the contact blades. It looked like a glue or conformal coating.
To test we cleaned the three contact blades and attached the wires form a PWM cable. In both cases the controller came back to life.

Mark McLeod 05-02-2013 13:22

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Tem1514 Mentor (Post 1228071)
Just a side note since we don't know if the software is working correctly, performing a calibration to the joystick may, I'll say that again may make the problem worse.

I would really try resetting the Victors back to the factory default and then see what happens assuming the Victors will respond to the default function as indicated in User manual.

That concern is very easily handled.

Download the default code and calibrate with that.
The same goes for testing the factory default. It should be tested with default code.

P.S. - to the students-
As a general rule troubleshoot one thing at a time.
Start from a known good position and advance into the problem step by step.
The default code and example code are known good starting points. The factory code defaults if you will.
Verify that the wiring is correct and responds properly to the default or example code before suspecting a code problem.
You immediately cut the list of possible problems in half - software vs hardware.
If your code worked and several things then changed and the robot no longer works, then reverse your changes to get back to a working state and re-introduce the suspect changes one-at-a-time, testing at each step.

thvs 05-02-2013 15:12

Re: Victor motor contorls flashing orange
 
Quote:

Originally Posted by Alan Anderson (Post 1228012)
Is there a reason you didn't just attach the pictures directly? Embedding them in a Word document requires extra steps on both your end and ours in order for us to see them, and it messes with the aspect ratio and size, making it hard to view them as they were originally captured.

With the exception of disabling the Drive motor safety, it looks like a standard Arcade default robot project. Did you make any changes that aren't shown, perhaps in Periodic Tasks?

Are there any messages on the Drive Station diagnostics display?

I couldn't figure out how to embed the pictures. But no other changes have been made.

thvs 05-02-2013 15:38

Re: Victor motor contorls flashing orange
 
We tried using a new victor, that had never been uses before to see if that was the problem. But it's light started flashing as well.

Tem1514 Mentor 05-02-2013 21:57

Re: Victor motor contorls flashing orange
 
I really think you guys should go right bad to square one and start with the default labview code. Double check all the wiring paying special attention to the PWM cables and try it again. Please let us know what happens as all of here really want to see the new teams have something of a working bot.

Please tell us what the 'RSL' LED on the digital sidecar does and any errors or things that just don't seem correct.

Tem1514 Mentor 07-02-2013 10:37

Re: Victor motor contorls flashing orange
 
After a number of emails with the team I have now found that they have the basic drive back up and running again. The only problem is I don't know what was causing the problem in the first place so we haven't learned anything. At least the system is running again and they can move forward :)


Thanks to all for the good ideas for them to try.

151 Tough Techs 07-02-2013 16:04

Re: Victor motor contorls flashing orange
 
We've been having issues with out Victor 888s as well. After some research we found out that if you shave down the sides of the shroud of the PWM cables they will fit into the holes of the Victors. Our pins were not connecting to the inputs in the victor because the shroud is too big. Vex says that if you are having issues with the Victors than to shave down the sides of your PWM cables. Hope this helps, good luck!


All times are GMT -5. The time now is 06:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi