Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Rok on March 09, 2022, 03:00:47 AM

Title: Control cyclestart from another program (e.g. Python)
Post by: Rok on March 09, 2022, 03:00:47 AM
Hello!

How can i control cyclestart (in Mach4) from another program (e.g. Python). All i need is to send True for cycle to start. Is it done by using serial communication and then lua script? Any ideas would be really helpful. Thank you!
Title: Re: Control cyclestart from another program (e.g. Python)
Post by: KatzYaakov on March 09, 2022, 11:09:43 AM
i use alot by c# BUT there one point still not solve,you cant get any feedback from mach when program load finish,and when regenerate finish
you must be sure mach not run something ,and same be sure mach clear before load nc file
all Api its in doc folder