Go to Post You valuable advice has prevented me from killing myself and others numerous times =) - Stephen Kowski [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
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 19-02-2016, 12:33
alambert14's Avatar
alambert14 alambert14 is offline
Student Programmer
AKA: Abby Lambert
FRC #2035 ("Rockin" Bots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Carmel
Posts: 14
alambert14 is an unknown quantity at this point
Wiring Multiple PCMs

Our team is using lots of pneumatics this year, enough that we need 2 PCMs on the robot. There was not enough room on the power distribution board to wire 2 PCMs and a VRM, so we split the wires for one to power both of the PCMs, which may be problematic considering most people say that each PCM has to be on its own circuit.

However, even if we can power them both, we do not know how we would wire the CAN wires to the power distribution board, considering there are only two spots to connect CAN wires (one for the roboRIO and another free one). We can't split those wires because we need to talk to each PCM individually with the code.

If any of you guys have been able to pull this off, could you let us know how you wired it? Worst case scenario we can always get rid of two of our solenoids and split the air instead (bringing us back down to 1 PCM), but we would really like to have 2. Thanks!
  #2   Spotlight this post!  
Unread 19-02-2016, 12:37
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,963
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Wiring Multiple PCMs

CAN is wired in series, you just put the additional PCM in the chain...it has two places to put pairs of wires.
  #3   Spotlight this post!  
Unread 19-02-2016, 12:51
G_rupp's Avatar
G_rupp G_rupp is offline
Registered User
FRC #1108
 
Join Date: Jan 2011
Location: Paola, KS
Posts: 42
G_rupp is an unknown quantity at this point
Re: Wiring Multiple PCMs

Make sure that each PCM has its own CAN ID.
https://wpilib.screenstepslive.com/s...ribution-panel

The solenoids on the second PCM need to use the second CAN ID.
  #4   Spotlight this post!  
Unread 19-02-2016, 12:57
thatnameistaken thatnameistaken is offline
Registered User
AKA: Joshua Johnston
FRC #2191 (Flux Core)
Team Role: College Student
 
Join Date: Oct 2012
Rookie Year: 2013
Location: Hamilton, NJ
Posts: 52
thatnameistaken is on a distinguished road
Re: Wiring Multiple PCMs

Quote:
Originally Posted by alambert14 View Post
Our team is using lots of pneumatics this year, enough that we need 2 PCMs on the robot. There was not enough room on the power distribution board to wire 2 PCMs and a VRM, so we split the wires for one to power both of the PCMs, which may be problematic considering most people say that each PCM has to be on its own circuit.

However, even if we can power them both, we do not know how we would wire the CAN wires to the power distribution board, considering there are only two spots to connect CAN wires (one for the roboRIO and another free one). We can't split those wires because we need to talk to each PCM individually with the code.

If any of you guys have been able to pull this off, could you let us know how you wired it? Worst case scenario we can always get rid of two of our solenoids and split the air instead (bringing us back down to 1 PCM), but we would really like to have 2. Thanks!
As a team that's using two PCMs, I can tell you that powering them on seperate circuits is required by the rules (on mobile so I can't quote the specific one but trust me.) We're wiring the second PCM to one of the smaller wago ports on the PDP with a 20 amp breaker, which I believe is the only legal way to do it.

As for CAN, it's a bus. Wire from the roboRIO to the first pair of ports on 1 PCM, use the second pair of ports to wire to the second PCM, which then goes to the PDP.
  #5   Spotlight this post!  
Unread 19-02-2016, 12:59
alambert14's Avatar
alambert14 alambert14 is offline
Student Programmer
AKA: Abby Lambert
FRC #2035 ("Rockin" Bots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Carmel
Posts: 14
alambert14 is an unknown quantity at this point
Re: Wiring Multiple PCMs

Quote:
Originally Posted by thatnameistaken View Post
We're wiring the second PCM to one of the smaller wago ports on the PDP with a 20 amp breaker, which I believe is the only legal way to do it.
But don't you need a spot to wire the roboRIO as well? Or is there somewhere else it can go?
  #6   Spotlight this post!  
Unread 19-02-2016, 13:06
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,171
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Wiring Multiple PCMs

Quote:
Originally Posted by alambert14 View Post
But don't you need a spot to wire the roboRIO as well? Or is there somewhere else it can go?
Roborio has its own spot. Pcm2 attaches to a regular wago port like your motors

If your question is about canbus:
Roborio -> pcm1 -> pcm2 -> pdp

Last edited by rich2202 : 19-02-2016 at 13:09.
  #7   Spotlight this post!  
Unread 19-02-2016, 13:08
alambert14's Avatar
alambert14 alambert14 is offline
Student Programmer
AKA: Abby Lambert
FRC #2035 ("Rockin" Bots)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Carmel
Posts: 14
alambert14 is an unknown quantity at this point
Re: Wiring Multiple PCMs

Quote:
Originally Posted by rich2202 View Post
Roborio has its own spot. Pcm2 attaches to a regular wago port like your motors
Got it thank you so much!
  #8   Spotlight this post!  
Unread 19-02-2016, 21:53
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Wiring Multiple PCMs

Quote:
Originally Posted by rich2202 View Post
If your question is about canbus:
Roborio -> pcm1 -> pcm2 -> pdp
The order does not matter for CAN. You can also put the PCMs after the PDP on a bus as short as an FRC robot.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #9   Spotlight this post!  
Unread 19-02-2016, 23:00
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,171
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Wiring Multiple PCMs

Quote:
Originally Posted by apalrd View Post
The order does not matter for CAN. You can also put the PCMs after the PDP on a bus as short as an FRC robot.
True, but then you would have to remove the terminating resistor on the PDP (jumper), and then put on a terminating resistor on the last item in the link. I don't know what the specs are for the terminating resistor, hence put the PDP at the other end from the roborio.

On a can bus as short as the FRC robot, you could get away from best practices. But, they make it easy for a team to be compliant, so why not?
  #10   Spotlight this post!  
Unread 20-02-2016, 00:20
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Wiring Multiple PCMs

Quote:
Originally Posted by rich2202 View Post
True, but then you would have to remove the terminating resistor on the PDP (jumper), and then put on a terminating resistor on the last item in the link. I don't know what the specs are for the terminating resistor, hence put the PDP at the other end from the roborio.

On a can bus as short as the FRC robot, you could get away from best practices. But, they make it easy for a team to be compliant, so why not?
At high speed (1mbps), the recommended max bus length for CAN is 40 m. At this length, the actual electrical design is important and two 120 ohm resistors (one at each end) are a must.

CAN also allows for unterminated stubs from the bus, at 1mbps the recommended length without any electrical design thought is 0.3m. With careful design this can be increased, on a full-length bus.

A FRC CAN bus with only a roboRIO, two PCM's and a PDP could be below the recommended length for an unterminated stub. You definitely need at least one resistor to pull the bus to a recessive state, but the entire bus should be below the length where reflections are significant (~2m). It's also likely that the length after the PDP could be less than 0.3m and be within the spec for an unterminated stub.

tl;dr CAN is very tolerant of non-ideal bus layout if the wires are relatively short.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
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 00:56.

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