Go to Post We are different, on purpose, for a reason. No one in FIRST should EVER forget that. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2015, 17:06
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
CAN Device ID for 2 motors same gearbox

We are using a two motor gearboxes for our drive. So the two motors in each gearbox will be doing the exact same thing. Using PWM we used Y-cables to send the same signals through the speed controllers. This year we are trying CAN.

With CAN...Can we give each speed control the same ID number and essentially do the same thing?
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2015, 17:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: CAN Device ID for 2 motors same gearbox

You can't use the same CAN ID for two different Talon's. It doesn't work that way.
The Talon SRX has a slave mode used for this purpose.
You tell one Talon to follow another Talon (at a different CAN ID address). Usually this is for when an encoder is being used by one of the Talon's and you'd like the paired Talon to follow the lead of the Talon with the encoder.

It's just as easy to send both Talons the same motor commands if you are just sending them a %voltage.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 19-01-2015 at 18:42.
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2015, 17:41
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: 522
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CAN Device ID for 2 motors same gearbox

Right on both counts.

Checkout Section 9 of Talon SRX Reference Manual to see how to slave Talons works.

Also Section 3.1....
Quote:
For the robot to function properly, there CANNOT BE “COMMON ID” Talon SRXs.
Software reference manual is at
http://www.crosstheroadelectronics.c...ol_system.html
or vex.com or google "talon SRX software reference manual".
Reply With Quote
Reply


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 08:49.

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