Go to Post We want people to exercise Gracious Professionalism® and play at their best, but also not really because we find this archaic rule to satisfy something related to inspiring students to pursue careers in science and technology.™ - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 06-02-2016, 09:55
dmelcer9 dmelcer9 is offline
Registered User
AKA: Daniel
FRC #0810 (Mechanical Bulls)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Smithtown
Posts: 34
dmelcer9 is an unknown quantity at this point
Exclamation Talon SRX controllers are acting funny

Recently, our team wired up a board with a few talon SRX's (using CAN) to test a few encoders, though they aren't working exactly right. I tried a few different configurations of motor controllers and recorded the results:

RoboRIO - PDP: PDP light is red, doesn't connect

RoboRIO- Motor Controller A - PDP: MCA light alternates red, PDP light is orange, and the PDP shows up in the web based config

RoboRIO- MCB - PDP: MCB works, PDP light is red and doesn't show up in config

RoboRIO- MCB(CAN wiring reversed) - PDP: MCB alternates orange and PDP flashes orange, but neither show up in the web config

RIO-MCA-MCB(original CAN wiring)-PDP: MCB works and shows up, MCA alternates red and PDP flashes red (neither show up).

RIO-MCA-MCB(reversed CAN)-PDP: MCB and the PDP both work, though MCA still alternates red.

RIO-MCB(original CAN) - MCA - PDP: both MCB and PDP are orange, but neither show up in config; MCA is red.

RIO-MCB(reversed) - MCA - PDP: both MCB and PDP work, MCA is red.

Even though it shouldn't matter what direction the CAN wiring is in, it somehow does. Also, MCB and the PDP shouldn't be affected by MCA (but of course they are). Additionally, order shouldn't matter, but it affects the motor controllers.
  #2   Spotlight this post!  
Unread 06-02-2016, 10:32
epylko epylko is offline
Mentor!
AKA: Eric Pylko
FRC #3181 (Pittsford Panthers)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 1970
Location: Pittsford, NY
Posts: 45
epylko is an unknown quantity at this point
Re: Talon SRX controllers are acting funny

If RoboRio-PDP is bad I would check three things:
- terminators on the RoboRIO and the PDP. Make sure they are on for both devices.
- try different wire/verify continuity/reseat connections
- verify RoboRIO has latest firmware and image.
  #3   Spotlight this post!  
Unread 06-02-2016, 10:42
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,598
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: Talon SRX controllers are acting funny

Quote:
Originally Posted by dmelcer9 View Post
Recently, our team wired up a board with a few talon SRX's (using CAN) to test a few encoders, though they aren't working exactly right. I tried a few different configurations of motor controllers and recorded the results:

RoboRIO - PDP: PDP light is red, doesn't connect

RoboRIO- Motor Controller A - PDP: MCA light alternates red, PDP light is orange, and the PDP shows up in the web based config

RoboRIO- MCB - PDP: MCB works, PDP light is red and doesn't show up in config

RoboRIO- MCB(CAN wiring reversed) - PDP: MCB alternates orange and PDP flashes orange, but neither show up in the web config

RIO-MCA-MCB(original CAN wiring)-PDP: MCB works and shows up, MCA alternates red and PDP flashes red (neither show up).

RIO-MCA-MCB(reversed CAN)-PDP: MCB and the PDP both work, though MCA still alternates red.

RIO-MCB(original CAN) - MCA - PDP: both MCB and PDP are orange, but neither show up in config; MCA is red.

RIO-MCB(reversed) - MCA - PDP: both MCB and PDP work, MCA is red.

Even though it shouldn't matter what direction the CAN wiring is in, it somehow does. Also, MCB and the PDP shouldn't be affected by MCA (but of course they are). Additionally, order shouldn't matter, but it affects the motor controllers.
What exactly do you mean it shouldn't matter what direction the can wiring is in? If you mean it doesn't matter if you connect green-green and yellow-yellow, I'm pretty sure you're wrong.

Anyways, direct connection from the RoboRIO to the PDP really should work. Maybe you have a bad termination resistor. Power everything off and disconnect everything, and do a resistance check between green-yellow on the RoboRIO and the PDP. You should get 120 ohms in both locations.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter

Last edited by Kevin Sevcik : 06-02-2016 at 10:44.
  #4   Spotlight this post!  
Unread 06-02-2016, 10:49
dmelcer9 dmelcer9 is offline
Registered User
AKA: Daniel
FRC #0810 (Mechanical Bulls)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Smithtown
Posts: 34
dmelcer9 is an unknown quantity at this point
Re: Talon SRX controllers are acting funny

Quote:
Originally Posted by Kevin Sevcik View Post
What exactly do you mean it shouldn't matter what direction the can wiring is in? If you mean it doesn't matter if you connect green-green and yellow-yellow, I'm pretty sure you're wrong.
No, I'm not switching green and yellow. By reversed, I mean that the SRX has 2 pairs of CAN wires. The first time, one pair was connected to the RIO and other pair was connected to the PDP. Reversed means the wire originally connected to the PDP is now connected to the RIO and vice-versa.
  #5   Spotlight this post!  
Unread 06-02-2016, 11:14
dmelcer9 dmelcer9 is offline
Registered User
AKA: Daniel
FRC #0810 (Mechanical Bulls)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Smithtown
Posts: 34
dmelcer9 is an unknown quantity at this point
Re: Talon SRX controllers are acting funny

Quote:
Originally Posted by epylko View Post
If RoboRio-PDP is bad I would check three things:
- terminators on the RoboRIO and the PDP. Make sure they are on for both devices.
- try different wire/verify continuity/reseat connections
- verify RoboRIO has latest firmware and image.
Both terminators are 120 ohms
The Roborio has the latest image

I swapped out fresh CAN wire and RIO-PDP works. I'll test the other components.
  #6   Spotlight this post!  
Unread 06-02-2016, 11:32
dmelcer9 dmelcer9 is offline
Registered User
AKA: Daniel
FRC #0810 (Mechanical Bulls)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Smithtown
Posts: 34
dmelcer9 is an unknown quantity at this point
Re: Talon SRX controllers are acting funny

Alright, I'm pretty sure that MC1 is genuinely dead (any way I can verify for sure?), and MC2 just has some bad powerpole connectors. Thanks for your help.
  #7   Spotlight this post!  
Unread 06-02-2016, 12:33
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Talon SRX controllers are acting funny

What are the Talon SRX LEDs doing? The Talon SRX User's Guide Section 2.3 Blink codes can be used to interpret the LEDs.
  #8   Spotlight this post!  
Unread 06-02-2016, 12:41
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,025
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: Talon SRX controllers are acting funny

Quote:
Originally Posted by ozrien View Post
What are the Talon SRX LEDs doing? The Talon SRX User's Guide Section 2.3 Blink codes can be used to interpret the LEDs.
Omar,

What does it mean when one LED is blinking green, while the other is alternating green/red ?


  #9   Spotlight this post!  
Unread 06-02-2016, 12:59
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Talon SRX controllers are acting funny

That sounds like the Talon is in forward (green), but is occasionally seeing a bad can frame, in which case I expect it to be intermittent. Maybe send a video to support@crosstheroadelectronics.com?

CAN error frames will blurp red on the LED pattern to let you know something is wrong.
  #10   Spotlight this post!  
Unread 06-02-2016, 13:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,025
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: Talon SRX controllers are acting funny

Quote:
Originally Posted by ozrien View Post
Maybe send a video
Done.

Quote:
CAN error frames will blurp red on the LED pattern to let you know something is wrong.
When they blurp red, do they blurp on one LED only, or always on both LEDs?


  #11   Spotlight this post!  
Unread 06-02-2016, 19:38
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Talon SRX controllers are acting funny

Quote:
Originally Posted by dmelcer9 View Post
Both terminators are 120 ohms
The Roborio has the latest image

I swapped out fresh CAN wire and RIO-PDP works. I'll test the other components.
Just curious....you mean you put the terminator in the ON position on the PDP and measured that to be 120Ohms. You also measured the RoboRIO to be 120Ohms.

Right?

You did not put 2 extra resistors on the CAN wires with the RoboRIO and the PDP?

I ask because I have seen people make a mistake like this.
  #12   Spotlight this post!  
Unread 06-02-2016, 23:11
dmelcer9 dmelcer9 is offline
Registered User
AKA: Daniel
FRC #0810 (Mechanical Bulls)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2012
Location: Smithtown
Posts: 34
dmelcer9 is an unknown quantity at this point
Re: Talon SRX controllers are acting funny

Quote:
Originally Posted by techhelpbb View Post
Just curious....you mean you put the terminator in the ON position on the PDP and measured that to be 120Ohms. You also measured the RoboRIO to be 120Ohms.

Right?

You did not put 2 extra resistors on the CAN wires with the RoboRIO and the PDP?

I ask because I have seen people make a mistake like this.
Correct

Quote:
What are the Talon SRX LEDs doing?
MC2 alternates yellow when it's disabled, like it's supposed to. When it's run, the light changes color/blinking with speed (and it drives a motor just fine).
MC1 slternates red, so it's either not connecting or their is a fault. Not connected doesn't make sense because the CAN signal can pass through it. So I'm assuming there's something wrong with MC1 itself.
  #13   Spotlight this post!  
Unread 08-02-2016, 10:42
Allthatslack Allthatslack is offline
Registered User
None #1389
 
Join Date: Jan 2016
Location: Bethesda
Posts: 12
Allthatslack is an unknown quantity at this point
Re: Talon SRX controllers are acting funny

Hello,
I am from team 1389 and we kind of ran into the same sort of problem. We had trouble getting all of the Talon's configured when they were wired up in CAN. What we found that worked was that when we would restart the roboRio everything, including the PDP, would blink correctly. I don't know if this is any help but I think it might be worth a try.
  #14   Spotlight this post!  
Unread 08-02-2016, 12:13
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Talon SRX controllers are acting funny

Quote:
Originally Posted by dmelcer9 View Post
Correct
MC2 alternates yellow when it's disabled, like it's supposed to. When it's run, the light changes color/blinking with speed (and it drives a motor just fine).
MC1 slternates red, so it's either not connecting or their is a fault. Not connected doesn't make sense because the CAN signal can pass through it. So I'm assuming there's something wrong with MC1 itself.
One other thought is to try reversing the yellow/green pair on the suspect Talon. Maybe the Talon has the wires internally placed in reverse, meaning the yellow-is-actually-green-and-vice-versa. That could explain why everything works except that one Talon.

Otherwise just contact support@crosstheroadelectronics.com
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 02:30.

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