Hello Guest it is March 28, 2024, 12:21:15 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - raptor_demon

Pages: 1 2
1
Mach4 General Discussion / Re: Mach4 laser on CNC router setup questions
« on: August 15, 2020, 03:13:44 PM »
very interesting,chines told me very hard add laser on engraving machine ,is yours work well both ?
have video ,photo?


once i had the head shift worked out it was ok. the ESS has laser support.

i followed this guide here: https://jtechphotonics.com/?p=13688 and i also added a relay so it is not powered when not armed.

2
Mach4 General Discussion / Re: Mach4 laser on CNC router setup questions
« on: August 13, 2020, 11:06:37 PM »
yes i did!

mc.mcCntlMdiExecute(inst, 'G10 L20 P0 X2.0 Y2.0 Z0')
that is the important line, where x and y are the offset spindle vs laser

i have attached my test gcode too.

let me know if you have any questions
https://www.youtube.com/watch?v=gCM2R83E3gM


M120
inst = mc.mcGetInstance()
mc.mcCntlMdiExecute(inst, 'G10 L20 P0 X2.0 Y2.0 Z0')
mc.mcCntlSetLastError(inst,'Laser Head Shift Active')

M121
inst = mc.mcGetInstance()
mc.mcCntlMdiExecute(inst, 'G10 L20 P0 X0 Y0 Z0')
mc.mcCntlSetLastError(inst,'Laser Head Shift Deactivated')

3
well after much messing around i have this nearly working!

https://www.youtube.com/watch?v=6UoMCImsoOc

the answer was head shift in mach 4. so with the help of Trevor in mach 4 support i created 2 macros, one for offsetting the head to the laser offset, and one for setting it back to zero for the spindle. i then made 2 paths in fusion, a drill and  a trace. i set the trace to a large tool number with very little depth of cut so i could replace the gcode with what is needed to control the laser. my plan is to work on a post processor so i don't have to do that manually but it is working. once i have it cleaned up i will share the macros!

Raptor

4
Mach4 General Discussion / Mach4 laser on CNC router setup questions
« on: June 05, 2020, 10:05:22 AM »
HI i recently picked up a 5w diode laser to mount on my CNC, and i could use a little help getting started.

I am using a Warp9 ethernet ESS and this laser: https://www.banggood.com/450nm-5W-Laser-Engraving-Module-Blue-Light-With-TTL-Modulation-p-1337358.html?akmClientCountry=America&rmmds=search&fbclid=IwAR25pS6o-yTslRIQvvLckmDzNwlbkvFCPr-NoaQUiBHusemqxGdNWzGHLpE&cur_warehouse=CN

my question is around how to run in in mach4. what i am looking to be able to do is use the Spindle and the laser in the same file. for that i will need to define the offset for the laser so i can have one work zero and have it work out how much to move to be able to be aligned. how is this done in mach4?

also im not sure how this is post processed in fusion 360 how do i tell which tool (spindle or laser) i want to use?

thanks Raptor

5
Mach4 General Discussion / Re: Mach4 with warp9 ess tool change issue
« on: January 26, 2020, 07:44:44 PM »
thanks for your reply,

i don't think its that. i tested it with the "simulated output" driver with a different profile and it worked as expected.

i have attached the gcode i am using.

6
Mach4 General Discussion / Mach4 with warp9 ess tool change issue
« on: January 25, 2020, 10:37:27 AM »
Hi all,

i recently changed my control board to an ESS and since then ive noticed that when the machine gets a tool change request, it pops up a message saying tool change then it waits a few seconds then just starts without me pressing any buttons.

the m6 script looks normal.

any ideas what this could be?

thanks Raptor

7
Mach4 General Discussion / Re: Mach4 Huanyang GT series Modbus setup
« on: April 07, 2019, 10:54:57 PM »
So much yes!!

i have been trying to get modbus to work with my HUANYANG VFD for months.

this is similar to the one i have: https://www.amazon.com/Variable-Frequency-Inverter-Converter-HUANYANG/dp/B0775F4G47

and ive been using this rs485 controller

https://www.amazon.com/gp/product/B00NKAJGZM/ref=oh_aui_search_asin_title?ie=UTF8&psc=1

this would be a huge help!

thanks in advance

8
Mach4 General Discussion / Re: Script edit help, M6 and MQTT
« on: April 07, 2019, 12:17:26 AM »
thanks Craig

thats what i had wondered was going on. ill see if i can make it work with modules or a register

9
Mach4 General Discussion / Re: Mach4 MQTT Client
« on: April 07, 2019, 12:15:52 AM »
So ive managed to get this to work receiving mqtt messages too. I setup estop remotely and also being able to set a screen text box from an mqtt message. Tool change is still eluding me however

10
Mach4 General Discussion / Script edit help, M6 and MQTT
« on: April 06, 2019, 04:36:04 PM »
Hi,

im new to the whole mach4 scripting and i am trying to setup a MQTT message when my job needs a tool change.

So far i have managed to get MQTT working from mach4, it has a line in the PLC and a function i can call from the screen load script.

ive set it up as per here: https://www.machsupport.com/forum/index.php?topic=36807.0

there is a function on the screen load script called SendMessage(msg) where i can send mqtt messages. however i have been unable to call this from the m6 macro script.

it just fails for whatever reason. what am i doing wrong here?

cheers
Raptor

Pages: 1 2