Hello Guest it is April 28, 2024, 01:08:14 AM

Author Topic: Automatic reference travel  (Read 466 times)

0 Members and 1 Guest are viewing this topic.

Automatic reference travel
« on: December 18, 2023, 07:03:54 AM »
Hello, is it possible to set the Mach4 software so that there must be a reference movement after the machine is switched on.

The text was translated because I don't speak English

Thank you
Andreas

Offline Bill_O

*
  •  563 563
    • View Profile
Re: Automatic reference travel
« Reply #1 on: December 18, 2023, 08:30:49 AM »
Edit the Cycle Start function in the Screen Load script.
It will take some coding but not a lot.
Re: Automatic reference travel
« Reply #2 on: December 18, 2023, 12:01:05 PM »
Thanks,
Can somebody help me with it .
I would like to know a little more precisely.

Thank you
Andrew

Offline Bill_O

*
  •  563 563
    • View Profile
Re: Automatic reference travel
« Reply #3 on: December 18, 2023, 03:59:23 PM »
You would be better off doing it yourself.
Then you can make changes or modify other things.
Before making any changes make a copy of your Profiles and Screens folders.
Then if you make a mistake you can always go back to the original.

Here is a link for a document I made that will help you start.
https://www.machsupport.com/forum/index.php?topic=45397.msg289143#msg289143

In Mach4 go to Operator then Edit Screen
On the left select the top thing under Screen Tree Manager
Below the Screen Tree Manager is the Properties section
Select the middle icon ( Events)
The top line is Screen Load Script
Click to the right of Screen Load Script and click the button with 3 dots.
On the right side scroll down to the function CycleStart()
This is where you will make your changes.
Re: Automatic reference travel
« Reply #4 on: December 19, 2023, 12:07:37 AM »
Thank you
Then I will
do it like that.

greeting
Andrew