m7 m9 and other things

This is the place to talk about and share things related to CNC plasma machines using UCCNC

m7 m9 and other things

Postby kawarider » Wed Jan 02, 2019 8:24 pm

Hello,
Last week switched from mach3 to UCCNC with proma thc. Neuron Lite is with a friend that burned his, hope to change that too in the near future.
Table is an old esab rebuild and now 3-1,5m
Hypertherm powermax45. I know 65 is better but this one is doing the job now for one year and I am very happy with it.

Now, a friend wrote some code via brains in mach3 for the fumes extractor and that's lost now in uccnc. It would be nice if the fan start at run program and stops 10 sec after end program. What is the easiest way of arranging this? I am not to familiar with progamming or macro's but happy to get all things wired up the right way so far.

Any ideas would be more than welcome.

Thanks
kawarider
 
Posts: 42
Joined: Sun Jun 17, 2018 10:38 am

Re: m7 m9 and other things

Postby cncdrive » Wed Jan 02, 2019 8:54 pm

You can write "brains" in the UCCNC, it is called macroloops. You can write them just like in Mach3...
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: m7 m9 and other things

Postby kawarider » Wed Jan 02, 2019 9:57 pm

Yes, thanks for pointing me in the right direction. First time for everything, so I am very unsure about all this.

I am trying macroloop with callbutton(19) en then start coolmist, but no idea if I am doing the right thing. Any simple example? M7 because in spindle setting fan runs 10 sec longer.

Thanks
kawarider
 
Posts: 42
Joined: Sun Jun 17, 2018 10:38 am

Re: m7 m9 and other things

Postby kawarider » Wed Jan 02, 2019 10:35 pm

So far this is the result, There is some error somewhere.
Hopefully it's something small. Can anyone have a look?
It would be very nice, the machine has to start running again.
Thanks
Attachments
m888.txt
(215 Bytes) Downloaded 777 times
kawarider
 
Posts: 42
Joined: Sun Jun 17, 2018 10:38 am

Re: m7 m9 and other things

Postby kawarider » Wed Jan 02, 2019 11:23 pm

This works better. Only at the end of the program code everything stops, mist (fan) included. M9 is programmed with delay 10 sec. M30 overrules this probably. Let's see if it's possible to macro direct to an output.
Attachments
m888.txt
(172 Bytes) Downloaded 778 times
kawarider
 
Posts: 42
Joined: Sun Jun 17, 2018 10:38 am

Re: m7 m9 and other things

Postby kawarider » Wed Jan 02, 2019 11:36 pm

Yahoo! It works! First steps in macro's!
Attachments
m888.txt
(235 Bytes) Downloaded 778 times
kawarider
 
Posts: 42
Joined: Sun Jun 17, 2018 10:38 am

Re: m7 m9 and other things

Postby kawarider » Wed Jan 02, 2019 11:41 pm

UCcnc is great! Love it already and haven't even cut anything yet! Reliable dry running went from 15 m/min with mach paralel port to more then 20 m/min! That was not expected. Brains is a little complicated ,as far as I looked over a shoulder, compared to macroloops. Very easy to change a macro.

Thanks, looking forward to start working with uccnc!
kawarider
 
Posts: 42
Joined: Sun Jun 17, 2018 10:38 am

Re: m7 m9 and other things

Postby cncdrive » Wed Jan 02, 2019 11:52 pm

Just some help for your coding:

- You find an error text file in the macros folder if a macro compiles with an error.
From the error text you can get some ideas about what error the macro code has. It helps debugging.

- In the newest test release 1.2108 you can redirect the compile error text to the debugger console of the console plugin. You just have to enable the console plugin and check that checkbox and then you can see the macro compile error text in the console window.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: m7 m9 and other things

Postby kawarider » Thu Jan 03, 2019 12:01 am

Very nice, and in Dutch! How is that possible?
kawarider
 
Posts: 42
Joined: Sun Jun 17, 2018 10:38 am

Re: m7 m9 and other things

Postby cncdrive » Thu Jan 03, 2019 1:43 am

Because it is handled by the .NET framework and if it is Dutch then...
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Next

Return to CNC Plasma

Who is online

Users browsing this forum: No registered users and 1 guest