Forum Header

Error during setup Z to run Blacktooth laser

More
10 years 11 months ago #66067 by ubergeek
Ok, I have toiled over the HAL settings and everything shows that the Z direction is set up correctly, but the laser will still not fire. I Tried changing the settings in the stepconfig to point to pin 7 on the BOB and moved the wire to match and the system will still not fire. I then change the X direction to pin 6 and moved the wire back to 6 on the BOB and the laser does fire every time the X direction is told to move. This rules out a cable issue but still doesn't explain why the laser will not fire when the gcode tells pic 6 to fire. I also found that if i set the Z direction to reverce the laser will come on at the start of the z code and stay on until i power cycle the whole PC. i am begining to think that something is really long with PC but i do not have another to test this theory.
I also connect a voltage meter to PIN 6 on the BOB and the voltage is not changing when it is all set up correctly.
One last thing that puzzles me is if i press the Z Direction + or - on the main LinuxCNC screen the laser will "blink on" for a brief second and the software red e stop (in the top left corner) along with the power button (next to it) both grey out and i need to reset it before i can use it again. I'm not sure if this is normal or not.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #66096 by cncbasher
rather than run around in circles , post your FULL config as an archive , and also the gcode program your testing with .
what is your interface to the laser , and what type of laser co2 or diode ?

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #66100 by ubergeek
The laser is a Blacktooth 40 watt Co2 kit by Build you CNC ( www.buildyourcnc.com/blacktoothlasercutterandengraver.aspx )
The test gcode is attached Prizm-02_TEST. As for the config file I am still a noob at this so I may have posted these wrong. Sorry for that, I posted the 2 files from the config folder that I think you are needing. Let me know if this works or doesn't. Thank you for your help.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #66109 by andypugh
I think that there is some confusion here between the machine config and the G-code.

The G-code example is clearly using the spindle on / spindle off commands to control the laser and does not contain any Z-moves

It looks like you have configured the machine to use Z axis direction to control the laser.

Your G-code sample will probably work as-expected if you change this:
Code:
net ystep => parport.0.pin-04-out net ydir => parport.0.pin-05-out net zdir => parport.0.pin-07-out

To
Code:
net ystep => parport.0.pin-04-out net ydir => parport.0.pin-05-out net laser motion.spindle-on => parport.0.pin-07-out

It is relatively easy to make a config that allows both modes of control, if that would be useful.

Personally I think that M62 M63 is more appropriate than either.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #66114 by cncbasher
i presume your wanting to rasterize images ? , rather than cutting
if you want to do both , then the best way is to have 2 configurations .

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #66538 by ubergeek
Thank you for the suggested changes. Unfortunately, the changes did not solve the problem. I also moved the wire to pin 6 and changed the step config and the HAL file as mentioned and still nothing. I did learn how to modify the HAL file. I know it's easy but you don't know until you try. Any other ideas out there for this? I realize it has to be something i need to change in the HAL file. I just can't find the fix for it.
Thanks in advance for the help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum