![]() |
need Solenoid help
If anyone knows how to write a solenoid program correctly or any where i can get info on it, I would be very Grateful
|
Re: need Solenoid help
Have you looked at the documentation? It should give you a good start.
|
Re: need Solenoid help
Yea i looked at it and wrote from it and it didn't work
|
Re: need Solenoid help
Are you doing pneumatics? If so, there are a number of ways to wire pneumatics. Assuming you hook the pneumatic valve to two Solenoid channels (DO channels). Here is the code to operate it.
Disclaimer: I am new to pneumatics, so this may not be the right way to do it, but it works for us. Another way to do it is to use a relay instead of two solenoid channels but it requires a relay. Code:
#define SOLENOID_EXTEND_CHANNEL 1 |
Re: need Solenoid help
Forgot to mention a few more things: make sure your DO module is in the default slot 8 (or you have to specify the slot in the code). Also make sure the soloenoid bumper is powered with appropriate voltage. FIRST provided 24V valves this year, so you need to feed 24V to the bumper (not 12V).
|
Re: need Solenoid help
BTW, forgot to mention one more thing: you need to create a compressor object too. The compressor power should be hooked to a Spike relay and the pressure switch should be hooked to a digital input channel.
Code:
#define PRESSURE_SWITCH_CHANNEL 1 |
Re: need Solenoid help
thanks that should be egood enough
|
| All times are GMT -5. The time now is 13:46. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi