Go to Post Realizing your DON'T want to be an engineer is every bit as important as realizing you do - Lil' Lavery [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 09-02-2013, 19:37
BPtigers BPtigers is offline
Registered User
FRC #4663 (i8sumpi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Minnesota
Posts: 25
BPtigers is an unknown quantity at this point
Re: How to program a limit switch?

Right now my motor doesn't even move up or down. The jaguar light is a solid green when the code is enabled, but when I click and hold the up button or down button and push forward the throttle the green light doesn't change at all it appears like the motor is at 0 constantly, so I don't know if the pwn is bad or not or how can I tell just by looking at it? My big question is assuming the code is right, it has to be the wiring, and assuming that the jaguar is wired right it has to be the limit switch wiring. My coach says that if we leave the limit switches unhooked altogether the limit should be false by default, because there is no limit switch plugged in. Is that true when a limit switch isn't plugged in it's naturally false in the code, or since the limit switch isn't plugged in the labview reads it as true, because my motor isn't moving and the only reason I see is since the limit switch isn't plugged in it's screwing it up? Also how is a limit switch suppose to be hooked in if we want it normally open. Thanks for all the help or if you do see an error in my coding let me know thanks. picture with the limit switches doesn't work, but the picture without the limit switches in it works just fine so I don't know where the problem is if it's in the coding.
Attached Thumbnails
Click image for larger version

Name:	limit com.JPG
Views:	19
Size:	57.6 KB
ID:	13901  Click image for larger version

Name:	good example.JPG
Views:	12
Size:	44.0 KB
ID:	13902  
__________________
Ben
Reply With Quote
 


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 22:49.

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