Go to Post However I do wish to reassure people that the judges did not just fall off the back of a turnip truck... - dtengineering [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2013, 16:40
JamesAnthony's Avatar
JamesAnthony JamesAnthony is offline
Registered User
FRC #4181 (Quack Attack)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Blackduck, MN
Posts: 4
JamesAnthony is an unknown quantity at this point
General motor difficulties

Today we've been trying to get a motor to work. We first tried a VEX Victor 884 and now a Jaguar and have encountered the same general problem. Post status lights show the same general error: for the Victor it flashed orange which apparently indicates a PWM error and the Jaguar is flashing yellow which indicates a Servo error. The programming is ok. We have replaced the 37 wire ribbon connecting NI 9403 to the sidecar with the one from last year as well as the sidecar entirely. We have also reimaged our cRIO II, and tried different PWMs, keeping the programming up-to-date all the way through.
The cRIO is connected to the Classmate through a standard Ethernet cable, programming with LabVIEW. We are thinking of replacing the cRIO II with the cRIO II from last year as I had it running decently before December.
  #2   Spotlight this post!  
Unread 21-01-2013, 16:56
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: General motor difficulties

Quote:
Originally Posted by JamesAnthony View Post
The programming is ok.
If you are absolutely sure of that, then go thru this checklist:

http://www.chiefdelphi.com/forums/sh...39&postcount=5


  #3   Spotlight this post!  
Unread 21-01-2013, 17:04
JamesAnthony's Avatar
JamesAnthony JamesAnthony is offline
Registered User
FRC #4181 (Quack Attack)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Blackduck, MN
Posts: 4
JamesAnthony is an unknown quantity at this point
Re: General motor difficulties

I went through that checklist and I have checked the diagnostics window as per its instructions. I find this error that hadn't showed up before I reimaged:
Code:
ERROR <Code> -44075 occurred at "Tester" in the VI path: Robot Main.vi
<time>00:17:00 01/01/1970
FRC: The loop that contains MotorControl SetOutput is not running fast enough. This error can occur if the loop contains too much code, or if one or more other loops are starving the MotorControl SetOutput loop.
"Tester" is currently the name of the Jaguar.
  #4   Spotlight this post!  
Unread 21-01-2013, 17:05
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,744
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: General motor difficulties

Questions. Yes some of them are stupid, but you'd be surprised how many stupid mistakes I've made over the years. Sometimes you're looking for a complex problem when it's something simple. So:
  1. Have you successfully imaged your cRIO?
  2. Do you have the modules plugged into the cRIO in the correct order? The cRIO Imaging Tool will tell you if it's correct. Should be something like 9201, 9403, then 9472.
  3. Is your robot enabled?
  4. What pattern is your Robot Signal Light blinking? (Or the RSL LED on the Sidecar) Is should be long on - short off if you're enabled in Teleop.
  5. Do you have 12V power wired to your Sidecar?
  6. Is the cable to your Sidecar wired backwards? There were lots of backwards ones last year. Pin 1 on the male side should connect to Pin 1 on the female side.
  7. Are you plugging in your PWM cables correctly? Black should go to the outside of the Sidecar, the inside of the Victor 884, and towards the brake/coast jumper on the Jaguar.
  8. Last and silliest, are you sure you're plugging it into the correct PWM port? I've seen motor PWMs plugged into Relay ports and Digital IO ports before, after all.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #5   Spotlight this post!  
Unread 21-01-2013, 17:12
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: General motor difficulties

Is the 12V supply for the DSC connected?
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #6   Spotlight this post!  
Unread 21-01-2013, 18:31
JamesAnthony's Avatar
JamesAnthony JamesAnthony is offline
Registered User
FRC #4181 (Quack Attack)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Blackduck, MN
Posts: 4
JamesAnthony is an unknown quantity at this point
Re: General motor difficulties

I guess it was just a stupid mistake. The PWM cord was switched around on the sidecar. I can't believe that through hours of work it was never turned in the right direction! Thank you.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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