|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Help! My 2003 Bot compressor won't shut off
Quote:
Code:
rc_sw1 VAR rc_swA.bit0 'Pin 1 rc_sw2 VAR rc_swA.bit1 'Pin 2 rc_sw3 VAR rc_swA.bit2 'Pin 15 rc_sw4 VAR rc_swA.bit3 'Pin 16 rc_sw5 VAR rc_swA.bit4 'Pin 4 rc_sw6 VAR rc_swA.bit5 'Pin 5 rc_sw7 VAR rc_swA.bit6 'Pin 18 rc_sw8 VAR rc_swA.bit7 'Pin 19 rc_sw9 VAR rc_swB.bit0 'Pin 7 rc_sw10 VAR rc_swB.bit1 'Pin 8 rc_sw11 VAR rc_swB.bit2 'Pin 21 rc_sw12 VAR rc_swB.bit3 'Pin 22 rc_sw13 VAR rc_swB.bit4 'Pin 10 rc_sw14 VAR rc_swB.bit5 'Pin 11 rc_sw15 VAR rc_swB.bit6 'Pin 24 rc_sw16 VAR rc_swB.bit7 'Pin 25 If you can post the code that controls the compressor, I can tell you how to fix it if you know which pin you are plugged into now. (You also have to give me the alias deifinitions of any aliases used in the code) |
|
#2
|
|||
|
|||
|
Quote:
Well... this is like a foreign language to me.. I have no idea what code is in the controller. I know the cut off switch is wired to the top row of pins 2and on the digital input and the 3 wire cable is attached to the #3 set of pins from on the relay outputs. Is there a way to connect this thing to the computer and reset the default code? appreciate you help. |
|
#3
|
||||
|
||||
|
Re: Help! My 2003 Bot compressor won't shut off
Although it is not the most elegant solution, you can still run without the shutoff for presentations. If you can't get it fixed before a presentation, the overload valve should keep the pressure below 135psi. Note: you can not do this in the competion and should really try to fix it, but hey, if your team needs money...
|
|
#4
|
|||
|
|||
|
Re: Help! My 2003 Bot compressor won't shut off
since you're talking about last year's bot, I am assuming you are using last year's control system, and last years programming language (PBASIC). if this is the case, then add these lines to your code, just before the serout command:
select rc_sw2 case 1 relay3_fwd = 1 relay3_rev = 0 case 0 endselectrelay3_fwd = 0 this is assuming that the pressure switch is normally closed (when 120 psi has NOT been reached). If the compressor doesnt turn on at all, swap the lines "case 1" and "case 0". hope this helps! Last edited by RoboCoder : 11-01-2004 at 21:52. |
|
#5
|
|||||
|
|||||
|
Re: Help! My 2003 Bot compressor won't shut off
Quote:
|
|
#6
|
||||
|
||||
|
Re: Help! My 2003 Bot compressor won't shut off
Quote:
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The Science Channel to broadcast FIRST documentary | Andy Baker | General Forum | 49 | 01-03-2004 14:03 |
| The Autodesk Design Awards 2003 – Call for Entries | Brandon Martus | 3D Animation and Competition | 1 | 26-12-2003 18:40 |
| Image Discuss: Rookie Team 1108 w/ 2003 Bot HYO | CD47-Bot | Robot Showcase | 2 | 07-04-2003 23:37 |
| Rules on making spare parts fyi | DougHogg | General Forum | 0 | 02-04-2003 16:18 |
| pic: RAGE Bot 2003 in action | CD47-Bot | Extra Discussion | 8 | 30-03-2003 00:29 |