Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Pneumatics-Code [and piston output length] (http://www.chiefdelphi.com/forums/showthread.php?t=34333)

reilly 10-02-2005 12:21

Pneumatics-Code [and piston output length]
 
What is the output [piston length] of the given piston, in other words, how much does it extend?

Also, does the FRC_default.hex or FRC.hex supply functions for pneumatics,pwm signals for pneum. solenoids?

Alan Anderson 10-02-2005 16:10

Re: Pneumatics-Code [and piston output length]
 
Quote:

Originally Posted by reilly
What is the output [piston length] of the given piston, in other words, how much does it extend?

At the risk of sounding unhelpful, that depends on the length of the piston.
Quote:

Also, does the FRC_default.hex or FRC.hex supply functions for pneumatics,pwm signals for pneum. solenoids?
You don't control solenoids with pwm signals. You control them with relay signals via a Spike. The default code copies a bunch of joystick buttons to relay outputs. Look at the user_routines.c file and search for the Buttons to Relays section.

Steve W 10-02-2005 16:57

Re: Pneumatics-Code [and piston output length]
 
A pistons length is about 2 " longer than the throw when in closed position. Therefore a 4" throw would give a 6" in length piston closed or 10" when open. This is a rule of thumb and not exact. Smaller throws still need minimum 4 "

Max Lobovsky 10-02-2005 19:05

Re: Pneumatics-Code [and piston output length]
 
I believe he is asking about how to control how long the piston extends in code. There is no easy way to do this without sensors, feedback, and multiple solenoids per cylinder. If it really is important, search multipositioning with cylinders for some help on the topic.

Astronouth7303 10-02-2005 19:57

Re: Pneumatics-Code [and piston output length]
 
Quote:

Originally Posted by Max Lobovsky
I believe he is asking about how to control how long the piston extends in code. There is no easy way to do this without sensors, feedback, and multiple solenoids per cylinder. If it really is important, search multipositioning with cylinders for some help on the topic.

We did this last year. The key for us was a solenoid that centers when there is no power (Meaning if relay1_fwd == 0 and relay1_rev == 0, no air would move). Otherwise, you can use 2 solenoids: one as a go/no go, the other for direction. See the shoulder_* functions in grabber.c in the 1227 code for an example.

reilly 13-02-2005 11:42

Re: Pneumatics-Code [and piston output length]
 
Actually, I was refering to the only given cylinder that came with the kit, the pneumatics manual doesn't give the specs for the given cylinder [not all those you can order].

Is there any difference between throw and stoke?




P.S. Yes I was asking about pwm control: thank you for the coding tip [link].


All times are GMT -5. The time now is 10:46.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi