edit button and limit machine

Post anything you want to discuss with others about the software.

edit button and limit machine

Postby Mindustrys » Fri Dec 02, 2022 1:50 pm

Hello everyone
I'm finishing setting up my cnc machines and I wanted to make some small changes:
- I would like to set the cycle start button (screen button and real button on the electrical panel) to be operable only if the home LEDs are true!
otherwise I send a message on the screen. The only idea that came to my mind is to create a MXXXXX macro and assign it to the onscreen button, but doing so when I press the
button from the control panel the macro is not taken into consideration as the inputXX button is linked to the CycleStart(128) function.
Does anyone know a better way to do this?
- I have an ATC system with tool magazine in Y1000 X0-X500 across the width
I would like to set the soft limits so as not to include the tool magazine in the work area, but by doing so I cannot access the tool magazine from my M6 macro
is there a way to use that workspace only via script in macros?
do you have any ideas about it?

Thank you all. I look forward to your support
Mindustrys
 
Posts: 25
Joined: Sat Aug 21, 2021 3:47 pm

Re: edit button and limit machine

Postby dezsoe » Fri Dec 02, 2022 2:16 pm

1. Set your input trigger to call the same macro. Just set the number of the macro instead of the Cycle start button code.
2. In you M6 turn off and at the end turn back on soft limits using exec.Callbutton(). Use 519 to turn off and 518 to turn on.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: edit button and limit machine

Postby Mindustrys » Sat Dec 03, 2022 3:49 pm

thank you very much
your advice has been very helpful.
everything worked out great!
Mindustrys
 
Posts: 25
Joined: Sat Aug 21, 2021 3:47 pm


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 21 guests