Go to Post My guess is you all are planning on being overweight......interesting strategy.....i like it - Stephen Kowski [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 22-02-2016, 16:58
Priopelle Priopelle is offline
Registered User
FRC #5658
 
Join Date: Feb 2016
Location: Stepehn
Posts: 3
Priopelle is an unknown quantity at this point
Limit Switch Help

I have coded our arm to extend, but I do not know how to program limit switches. Here is our arm extend code http://imgur.com/R1yyDFW
Reply With Quote
  #2   Spotlight this post!  
Unread 22-02-2016, 17:02
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Limit Switch Help

Quote:
Originally Posted by Priopelle View Post
I have coded our arm to extend, but I do not know how to program limit switches. Here is our arm extend code http://imgur.com/R1yyDFW
What motor controllers are you using?

Can you post a picture showing how your limit switches are mounted?


Reply With Quote
  #3   Spotlight this post!  
Unread 22-02-2016, 17:48
Priopelle Priopelle is offline
Registered User
FRC #5658
 
Join Date: Feb 2016
Location: Stepehn
Posts: 3
Priopelle is an unknown quantity at this point
Re: Limit Switch Help

We are using a spark motor controller and here are the two limit switches
http://imgur.com/a/Pj01W

we would like them so you cant go too far either way
Reply With Quote
  #4   Spotlight this post!  
Unread 22-02-2016, 17:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Limit Switch Help

Quote:
Originally Posted by Priopelle View Post
We are using a spark motor controller
I believe you can wire the limit switch directly to the Spark, and the Spark will handle it for you. No coding necessary.

Quote:
Originally Posted by Priopelle View Post
here are the two limit switches
http://imgur.com/a/Pj01W
I can't be sure, but it looks like the limit switch is in harm's way. You don't want to do that.

Read this thread:

http://www.chiefdelphi.com/forums/sh...40#post1539040


Reply With Quote
  #5   Spotlight this post!  
Unread 22-02-2016, 18:05
Priopelle Priopelle is offline
Registered User
FRC #5658
 
Join Date: Feb 2016
Location: Stepehn
Posts: 3
Priopelle is an unknown quantity at this point
Re: Limit Switch Help

ok thank you
Reply With Quote
  #6   Spotlight this post!  
Unread 22-02-2016, 20:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Limit Switch Help

Quote:
Originally Posted by Ether View Post
I believe you can wire the limit switch directly to the Spark, and the Spark will handle it for you. No coding necessary
Do yourself a big favor and read these before proceeding:

http://www.revrobotics.com/wp-conten...1200-NC-00.pdf

http://www.revrobotics.com/wp-conten...1200-UM-00.pdf


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 20:25.

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