|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#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).
|
|
#2
|
||||
|
||||
|
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
#define RELAY_COMPRESSOR_POWER 1
private:
Compression *m_compressor;
...
// In some constructor
m_compressor = new Compressor(PRESSURE_SWITCH_CHANNEL, RELAY_COMPRESSOR_POWER);
m_compressor->Start();
Last edited by mikets : 24-02-2010 at 13:42. |
|
#3
|
||||
|
||||
|
Re: need Solenoid help
thanks that should be egood enough
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help with Festo Solenoid and Labview | Team2883 | General Forum | 3 | 17-02-2010 12:56 |
| Need help with SMC solenoid valves | Ed Law | Pneumatics | 6 | 04-02-2010 06:43 |
| Solenoid Help | aznbadboixx | Pneumatics | 0 | 15-02-2008 15:53 |
| Solenoid Help | Brigander | Programming | 2 | 14-02-2007 17:13 |
| Need instructions for SMC Single/Double solenoid | WHou | Pneumatics | 5 | 29-01-2005 08:17 |