|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Pneumatics Programming
Hi,
Can someone tell me how to go about programming multiple pneumatics? And how to assign them buttons on the joystick? Newb question brought to you by Team 1191, if someone could help it would be greatly appreciated, thanks |
|
#2
|
||||
|
||||
|
Re: Pneumatics Programming
what do you want them to do? usually you program each solonoide to trigger on a different joysitck button, or switch on a custom control box.
|
|
#3
|
|||||
|
|||||
|
Re: Pneumatics Programming
We're doing a multi-pos. system, but yes, same thing.
|
|
#4
|
||||
|
||||
|
Re: Pneumatics Programming
have you seen the thread on multipositioning with pneumatics? I think most of the details were covered there.
|
|
#5
|
|||||
|
|||||
|
Re: Pneumatics Programming
Check the White Papers section also, in the Technical group.
There is a sketch of a layout circuit - |
|
#6
|
||||
|
||||
|
Re: Pneumatics Programming
We programmed our last year to extend when we held one button. Makes it both extend and turns the other solenoid on. And stop when we let go. Retract was the same, just on a different button. As for programming specifics I can't answer anything.
|
|
#7
|
|||||
|
|||||
|
Re: Pneumatics Programming
Yes, That is simlest.
Our idea was using a pot for 'Target' position and using a sensor with 2 solenoids to make it stop. Like: Code:
Const Arm_Upper_Stop as Unsigned Int = 150
const Arm Upper_Catch as unsigned int = 140
Const Arm_Upper_Range as Unsigned Int = 130
Const Arm_Target as Unsigned Int = 125
Const Arm_Lower_Range as Unsigned Int = 120
const Arm_Lower_Catch as Unsigned Int = 110
Const Arm_Lower_Stop as Unsigned Int = 100
void inter_ArmSensor(void)
{
Static iPrevValue as unsigned int
//Continue after catchup
if (iPrevValue >= Arm_Upper_Stop & ArmSensor < Arm_Upper_Catch)
{ArmMotor_Go;}
if (iPrevValue <= Arm_Lower_Stop & ArmSensor > Arm_Lower_Catch)
{ArmMotor_Go;}
//Emergancy Stops
if (ArmSensor >= Arm_Upper_Stop)
{ArmMotor_Stop;}
if (ArmSensor <= Arm_Lower_Stop)
{ArmMotor_Stop:}
//Start Cylinder
if (ArmSensor >= Arm_Upper_Range)
{ArmCylinder_Out;}
if (ArmSensor <= Arm_Lower_Range)
{ArmCylinder_In;}
//Stop Cylinder
if (ArmSensor < Arm_Upper_Range)
{ArmCylinder_Stop;}
if (ArmSensor > Arm_Lower_Range)
{ArmCylinder_Stop;}
}
![]() |
|
#8
|
||||
|
||||
|
Re: Pneumatics Programming
You could use one of the magnectic sensor actuators from bimba and control the cyclinder based on the position of the piston throw. That would be simple and super efficient. I don't know how much more these cyclinders weigh but I doubt it could be much.
|
|
#9
|
||||
|
||||
|
Re: Pneumatics Programming
Quote:
) |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A few questions on programming the Control System | Avarik | Control System | 21 | 08-02-2004 11:42 |
| Programming PBASIC for pneumatics | archiver | 2001 | 2 | 23-06-2002 23:58 |
| programming the compressor | archiver | 2001 | 4 | 23-06-2002 23:19 |
| Pneumatics electrical wiring and programming | archiver | 2001 | 1 | 23-06-2002 23:10 |
| Error found in programming for the pump and pressure switch | sjharobotics | Programming | 4 | 06-02-2002 17:46 |