Go to Post By the way, a piece of advice to all those who haven't gone to Manchester for Kickoff before: Go. It's something you have to do at least once in your time in FIRST. - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 03-02-2015, 20:43
mpirringer mpirringer is offline
Registered User
FRC #1989
 
Join Date: Feb 2015
Location: United States
Posts: 1
mpirringer is an unknown quantity at this point
Pneumatics Control module programming

Hi,

I am looking for an example to program this years PCM Do you treat them as doubesolenoids like in prior years and how do you determine the channel this year. The roborio says the pcm id is 0. need to address solenoid 1 and 2 as double stroke

TIA
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2015, 20:47
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Pneumatics Control module programming

The code for interacting with solenoids should be exactly the same as prior years except the channel numbers start from 0. Another thing to note is that you do not need to create a compressor object (unless you want manual control), as the PCM automatically starts (and stops based on the pressure switch) the compressor when a solenoid is created.

The only time you need to worry about the PCM id is if you have multiple PCMs.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2015, 21:18
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: Pneumatics Control module programming

I think you'll find your answer in the software documentation here...
http://wpilib.screenstepslive.com/s/...control-module
..and...
http://wpilib.screenstepslive.com/s/...e-2014-to-2015
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:38.

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