Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Cbyrdtopper on August 13, 2021, 10:39:03 AM

Title: Start Mach4 in Screen Editor
Post by: Cbyrdtopper on August 13, 2021, 10:39:03 AM
I have messed up my PLC script bad enough that Mach4 won't open.  I can't remember how to open Mach4 in the editor mode.  Anyone remember how?

Tried to enable some PMC code and it really didn't like it... so now I can't open Mach4 even if restore a previous backup.
Title: Re: Start Mach4 in Screen Editor
Post by: rhtuttle on August 13, 2021, 10:46:43 AM
C:\Mach4Hobby\Mach4GUI.exe /pnameofprofile /e
Title: Re: Start Mach4 in Screen Editor
Post by: Cbyrdtopper on August 13, 2021, 10:56:45 AM
I'm in industrial, but I assume that should still be ok.
Also, I can't figure out how to get this to work.
Do I rename the Mach4GUI?  Or rename my profile? 
Title: Re: Start Mach4 in Screen Editor
Post by: rhtuttle on August 13, 2021, 10:59:02 AM
create a shortcut
Title: Re: Start Mach4 in Screen Editor
Post by: Cbyrdtopper on August 13, 2021, 11:02:31 AM
Still Lost.
I cannot use "/"  while renaming anything.
Title: Re: Start Mach4 in Screen Editor
Post by: rhtuttle on August 13, 2021, 11:05:47 AM
After creating a new shortcut(named whatever you want,(eg.'Open M4 in editor') right click and select properties.  It is in the 'Target' property that you put the aforementioned string.
Title: Re: Start Mach4 in Screen Editor
Post by: Cbyrdtopper on August 13, 2021, 11:28:15 AM
I must have really screwed something up.  It still won't open and tells me that I have something wrong with the PLC Script.

C:\Mach4Industrial\Mach4GUI.exe /p OD_Grinder/e

Here is the path that I'm using. 
Title: Re: Start Mach4 in Screen Editor
Post by: Cbyrdtopper on August 13, 2021, 11:29:33 AM
Ok.  So I made a copy of the Mach4GUI and just put the property of "/e" in the line and it allowed me to open into the screen editor.
Title: Re: Start Mach4 in Screen Editor
Post by: Cbyrdtopper on August 13, 2021, 11:31:46 AM
Thanks RT!
That'll do it for me.  Got it taken care of!