Go to Post Our role models are practical visionaries. That's the glue. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 25-02-2004, 16:16
Jared Stofflett Jared Stofflett is offline
Registered User
#0123
 
Join Date: Nov 2003
Location: Hamtramck
Posts: 10
Jared Stofflett is an unknown quantity at this point
Send a message via AIM to Jared Stofflett
Default mapping relay questions

I'm still not extremely comfortable looking through the code. From what I've found relay1 and relay2 are mapped for joystick drive to limit movement. Is this true in both single and double joystick mode? If it is it explains why my code isn't working and we need to rewire the spikes for the pneumatics. Appreciate any info, the section of code I found that made me think this is below.
* This default code maps the joystick buttons to specific relay outputs.
* Relays 1 and 2 use limit switches to stop the movement in one direction.
* The & used below is the C symbol for AND
*/
relay1_fwd = p1_sw_trig & rc_dig_in01; /* FWD only if switch1 is not closed. */
relay1_rev = p1_sw_top & rc_dig_in02; /* REV only if switch2 is not closed. */
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
3 Questions!!! Final Standings! Andy Grady General Forum 1 22-02-2004 22:32
3 Questions!!! (2/20/04) Andy Grady General Forum 20 20-02-2004 17:31
3 Questions!!! (2/5/04) Andy Grady General Forum 11 05-02-2004 21:14
pre-inspection preparation questions Adams High Man OCCRA 7 22-10-2002 22:22
Relay Outputs OddOne Technical Discussion 3 01-02-2002 19:52


All times are GMT -5. The time now is 10:19.

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