which if any of the DSP output can be used to turn airassist

waltfl
Posts: 674
Joined: Thu Sep 08, 2011 5:29 am
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by waltfl »

hi nick
actually the airassist main function is to remove the debris inside the cut what gives much more cutting power, the fumes should be removed from the exhaust system I am using a 550CFM inline fan and it pulls out everything and holds the lens clean. I use a different airassit system to avoid the cone similar to the epilog ( see picture).other picture is my temporary solution
airassist-1work.jpg
greetings
walt


NickWL wrote:Hi waltfl
I have always thought the primary purpose of the puffer (as it is labelled on my K40!) was to keep fumes out of the beam thus giving it a clear(er) path. I can see that pushing debris out of the way (sometimes even helping it to burn) is also a good thing.
Bit of both I guess! Maybe a bit of all three even...
Nick
Attachments
epilog.jpg
epilog.jpg (19.9 KiB) Viewed 5809 times
AndyKunz
Posts: 89
Joined: Fri May 02, 2014 12:38 pm
Location: Illinois
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by AndyKunz »

Mangus wrote:What I was looking for earlier this month when hooking my air assist pump up to OUT2 is an output that is enabled when the job starts, and disabled when the job ends. That is, the output is not tied to laser on/off or machine power on or off. When I press the go button, the output goes high (or low), and doesn't toggle again until the job completes.
You can do this easily with a 555 timer (or small micro) set up as a re-triggerable timer. I would set it for something like 1-5 seconds.

The trigger input would be the pulse from the controller to the tube power supply. On the first fire, the air would come on, and the repeated PWM from the tube would keep restarting the timer. After the job finishes (ie, the laser stops getting pulses for 1-5 seconds) the air would turn off.

Here are two very good sources for 555 circuits.

http://www.doctronics.co.uk/555.htm (scroll down to section 9)
http://www.allaboutcircuits.com/vol_6/chpt_8/4.html

You can do the same thing in code by polling a pin and waiting for the pin to stop changing state.

Hope this helps.

Andy
Mangus
Posts: 11
Joined: Sun Nov 03, 2013 11:40 am
Location: Puget Sound, Washington, USA
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by Mangus »

Decent idea, Andy, thank you. I happen to have a couple of Arduino Nanos sitting right next to me. Silly me; the thought never occurred to me.
Mangus
Posts: 11
Joined: Sun Nov 03, 2013 11:40 am
Location: Puget Sound, Washington, USA
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by Mangus »

If someone else reads this and decides to go down the 555 (or Arduino/uC) route, note that you will have to drop the voltage of OUT2 from 24v down to 16v (for the 555) or 5v (for the Arduino/Atmega). You can do this most simply with a voltage divider (e.g. 2.2k and 10k resistors to drop to 4.38v). You'll need to use a relay that matches the resulting logic level - like a 5v relay if you use an Arduino. This may also mean dropping the 24v power line that comes into the relay (and Arduino) to 5v as well. Use a 7805 or LM317 based regulator circuit for that.

Edit: Got it working great. Don't forget that the relay coil should be driven by an auxiliary transistor between the coil and the micro's output pin. Atmega (Arduino) and other uC's can't typically drive a relay coil unassisted. My relay's coil draws 70 mA. The Atmega is only capable of sourcing 40 mA.

Here's the Arduino code:

Code: Select all

/*
This program is designed to hold an output high for 5 seconds after an input goes low. If
 the input toggles low and high during the 5 second timeout, the timer is reset.
 
 This was originally designed for air assist control on a laser cutter and engraver. The laswer
 controller (AWC-608) has an output that goes low when the laser is active and high when it
 is inactive. This output can be used to turn air assist on and off with the laser. This is fine
 for cutting, but engraving tends to toggle the laser frequently, and toggling the air pump
 that frequently could cause premature wear of the pump, and can cause insufficient air flow.
 This program solves that problem.
*/

// Constants. Modify these to match your connections. Arduinos typically have 
// built-in LEDs on pin 13.
const int inputPin = 7;      // the number of the pushbutton pin
const int outputPin = 8;     // the number of the output pin
const int ledPin = 13;

// Program variables
int ledState = LOW;          // the current state of the led pin
int lastInputState = LOW;    // the previous reading from the input pin
int outputState = LOW;       // relay control state
long lastInputHighTime = 0;  // the last time the output pin was toggled
long outputHoldTime = 5000;  // the output hold time

void setup()
{
  pinMode(inputPin, INPUT);
  pinMode(outputPin, OUTPUT);
  pinMode(ledPin, OUTPUT);

  // Get the current input state. Output should be opposite.
  // LED and output states need to match.
  lastInputState = digitalRead(inputPin);
  ledState = !lastInputState;
  digitalWrite(ledPin, ledState);
  digitalWrite(outputPin, ledState);
}

void loop()
{
  // read the state of the switch into a local variable:
  int reading = digitalRead(inputPin);

  // if intput toggles high, laser just turned off.
  if (reading != lastInputState)
  {
    if ( reading == HIGH )
    {
      // Reset the timer
      lastInputHighTime = millis();
    }
    else
    {
      // Pin is low. The relay should be energized any time the pin is low
      outputState = HIGH;
      ledState = HIGH;
    }
  }

  if ((millis() - lastInputHighTime) > outputHoldTime)
  {
    // input has been high for longer
    // than the hold, so take it as the actual current state:

    // Set the output to low to turn off the relay
    if (reading == HIGH)
    {
      ledState = LOW;
      outputState = LOW;
    }
  }
  
  digitalWrite(outputPin, outputState);
  digitalWrite(ledPin, ledState);

  lastInputState = reading;
}
Last edited by Mangus on Sat Dec 13, 2014 2:13 pm, edited 3 times in total.
waltfl
Posts: 674
Joined: Thu Sep 08, 2011 5:29 am
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by waltfl »

hi
this is a different scenario I need the compressor only on when cutting not engraving not to mess up the engraving.
greetings
waltfl


AndyKunz wrote:
Mangus wrote:What I was looking for earlier this month when hooking my air assist pump up to OUT2 is an output that is enabled when the job starts, and disabled when the job ends. That is, the output is not tied to laser on/off or machine power on or off. When I press the go button, the output goes high (or low), and doesn't toggle again until the job completes.
You can do this easily with a 555 timer (or small micro) set up as a re-triggerable timer. I would set it for something like 1-5 seconds.

The trigger input would be the pulse from the controller to the tube power supply. On the first fire, the air would come on, and the repeated PWM from the tube would keep restarting the timer. After the job finishes (ie, the laser stops getting pulses for 1-5 seconds) the air would turn off.

Here are two very good sources for 555 circuits.

http://www.doctronics.co.uk/555.htm (scroll down to section 9)
http://www.allaboutcircuits.com/vol_6/chpt_8/4.html

You can do the same thing in code by polling a pin and waiting for the pin to stop changing state.

Hope this helps.

Andy
NickWL
Posts: 252
Joined: Mon Apr 07, 2014 2:23 am
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by NickWL »

Just re-reading this thread and am a bit puzzled: Why don't I want air when engraving?
AndyKunz
Posts: 89
Joined: Fri May 02, 2014 12:38 pm
Location: Illinois
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by AndyKunz »

waltfl wrote:hi
this is a different scenario I need the compressor only on when cutting not engraving not to mess up the engraving.
greetings
waltfl
You should still have a master power for the air that you can turn off. If you're doing an engraving job you could leave it off if you like.

Or you could use the Laser 2 output to control the air and set the output to 0% all the time when in engrave mode.

FWIW I would always have the air on, and use the needle valve to reduce the flow to a level that keeps smoke out of the chamber and off the lens but doesn't promote excessive cutting.

Andy
Mangus
Posts: 11
Joined: Sun Nov 03, 2013 11:40 am
Location: Puget Sound, Washington, USA
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by Mangus »

Walt,

I agree that we need more control of the outputs. We should be able to assign each output to different functions, e.g., turn on and off with the laser, individual assignments for cutting versus engraving, control high versus low for active versus inactive, turn on when the job starts (start button pressed) and off when the job ends, etc. The software should make it easy to use the outputs to control air pumps, water pumps, evac pumps, lights, buzzers, etc.

-Mark
waltfl
Posts: 674
Joined: Thu Sep 08, 2011 5:29 am
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by waltfl »

hi nick
if you engrave with airassist the air will blow the loose material from the engraving all over the piece and with wood especially the charred black stuff is tuff to get of, the same with acryl.
greetings
waltfl


NickWL wrote:Just re-reading this thread and am a bit puzzled: Why don't I want air when engraving?
Dean315
Posts: 11
Joined: Thu Jun 11, 2015 2:19 pm
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by Dean315 »

Tech_Marco wrote:Walt:

I talked to the programmer and was told that it could happen on the new model "X7" DSP card but not the AWC608.
Sorry about it.

Marco
Hi Marco, was this implemented in the X7? If so how do I use it? Is there a hardware manual or at least a list of what the inputs and outputs do on the X7 and how to program them? If not, could you ask for one? It would be great to be able to be able to fully take advantage of everything this board can do!
Techgraphix
Posts: 492
Joined: Fri Jan 20, 2012 1:39 pm
Location: Appelscha, the Netherlands
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by Techgraphix »

For the INPUTS:
IN1 CAP-protection signal.. polarity (ACTIVE LOW/HIGH) can be set in the controllers software
IN2 FOOTSWITCH ACTIVE-LOW
IN3,4,5 and 6 RESERVE (or not used at the moment)

OUTPUTS:
OUT1 BLOW-signal ACTIVE all the time when the machine is in process
OUT2 BLOW-signal ACTIVE only when the laser fires
OUT3 BRUSH-signal (I have the faintest idea what it does...yet..)
OUT4 FEEDING-signal (can be used to activate circuitry that uses the U-axis)
OUT5 RESERVE (or not used at the moment)
OUT6 LAYERS BLOWING-signal (I have the faintest idea what it does...yet..)

(translated from a chinese form, i found somewhere on the internet....)

Kees

BTW to get the charred black sludge from wood, use Amonia (the stuff that you buy at the supermarket for $0.39/L ) it will vanish like snow in the sun..
turkletom
Posts: 8
Joined: Tue Oct 13, 2015 3:37 am
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by turkletom »

Old thread, but whatever.(I'm combing the forum for info.)
Techgraphix wrote: OUT6 LAYERS BLOWING-signal (I have the faintest idea what it does...yet..)
Just cracked this: In "layer parameters" there's a tick box called "If Air Switch Open", when it's ticked, OUT6 goes HIGH while a program is running, (functions as OUT1).

This enables the user turn on or off air assist per layer.
Techgraphix
Posts: 492
Joined: Fri Jan 20, 2012 1:39 pm
Location: Appelscha, the Netherlands
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by Techgraphix »

That's great! That would solve the problem: just checkmark the layers you want to use with airassist while the other layers work without..
I will see if I can try it this weekend..

Kees
Techgraphix
Posts: 492
Joined: Fri Jan 20, 2012 1:39 pm
Location: Appelscha, the Netherlands
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by Techgraphix »

Just tested it.. put the airassist wire from OUT1 to OUT6, checked the "IF Air Switch Open" and my airassistpump started. Without checking the "IF Air Switch Open" it stayed silent..
Just what Waltfl needs, i guess...
@turkletom: Thanks for the input!

Kees
waltfl
Posts: 674
Joined: Thu Sep 08, 2011 5:29 am
Contact:

Re: which if any of the DSP output can be used to turn airas

Post by waltfl »

hi guys
first thanks but like marco saydthis only is avalaible with the X7 or did you use the 608 too?
greetings
waltfl


Techgraphix wrote:Just tested it.. put the airassist wire from OUT1 to OUT6, checked the "IF Air Switch Open" and my airassistpump started. Without checking the "IF Air Switch Open" it stayed silent..
Just what Waltfl needs, i guess...
@turkletom: Thanks for the input!

Kees
Post Reply

Return to “DSP X7”

Who is online

Users browsing this forum: No registered users and 6 guests