|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Using Digital I/O lines...
A thought that just occurred to me.
In the past 1075 has come very close to using all 8 of our relay outputs on the RC. From my understanding of how they work, is they're basically a GND line with two signal lines, 1 for forward, and 1 for reverse. This leads me to a 2part question: 1) Could you not then, in theory, configure some of your Digital I/Os as Output, and emulate the Relay ports by switching two signal lines appropriately? 2) Would this be FRC legal? |
|
#2
|
|||||
|
|||||
|
Re: Using Digital I/O lines...
I don't know about your question, but you could save some relay outs if you're using pneumatics by hooking up two solenoids to one spike.
|
|
#3
|
|||
|
|||
|
Re: Using Digital I/O lines...
Potentially, yes, you could share a spike. Depending on the utilization and types of solenoids being used.
|
|
#4
|
|||
|
|||
|
Re: Using Digital I/O lines...
I'm not sure about whether or not you could do it, but, I don't think it would be FRC legal. On some level, it oculd be considered a custom circuit, and as per R03, that might be illegal. Actually, I think it's outright illegal by R62:
Quote:
|
|
#5
|
|||
|
|||
|
Re: Using Digital I/O lines...
Looks to me like <R62> DOES indeed prohibit it. I can't see why it wouldn't be electrically possible to do though.
EDIT: I suspect <R62> prohibits it because the USER processor directly controls the Dig I/O lines I think, whereas the Relay/PWM ports are controlled by the Master processor, which locks them out when disabled. |
|
#6
|
|||||
|
|||||
|
Re: Using Digital I/O lines...
1) It will work
2) It is illegal per <R62> I inspected a team that was using digital outs instead of relay outputs. It was a misunderstanding on how to use EasyC. The system worked, even stopped the compressor at the right time (they wrote code for that). They changed the wiring and the code to use the OItoRelay function. Last edited by The Lucas : 19-03-2008 at 04:46. |
|
#7
|
|||||
|
|||||
|
Re: Using Digital I/O lines...
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Analog Inputs as Digital (on the OI) | Guy Davidson | Control System | 16 | 10-03-2008 17:17 |
| Using Digital Output to control Brake/Coast on Victor | Neurovirus | Programming | 11 | 31-01-2008 23:33 |
| No value in digital ins using NASON pressure switch. | Ari Allyn-Feuer | Programming | 1 | 18-02-2006 01:18 |
| Digital Caliper as a Digital Readout on Small Mill | sanddrag | Technical Discussion | 9 | 13-10-2005 22:51 |
| cruise lines | robot180 | Chit-Chat | 9 | 29-06-2004 22:03 |