CNC Control for Mach4

Control Mach4 in new style



Application for CNC control machine working with Mach4 software. The complete solution with support and future functionality.

Two Side Control

-Movement XYZ Axis

-Jog Rate Control

-Feed Rate Control.

-Spindle Speed Control

-Start-Pause-Stop Option.

-And 15 OEM Trigger option

App connection with Wi-Fi. That mean your operation system PC must be connected to local web (cable or Wi-Fi).

mach3 controller, mach3 mpg pendant,mach4 mpg pendant, mach3 Android, mach3 iOS, mach4 android, mach4 iOs, mach4 controller mach3 controller, mach3 mpg pendant,mach4 mpg pendant, mach3 Android, mach3 iOS, mach4 android, mach4 iOs, mach4 controller

Instalation and Config.

Download Lua File

Phone connection and json file in .rar archive

1. Basic Configuration Mach4

1.1. Put downloaded PhoneConnection.lua File in Mach4 Pmc Folder (extract from .rar archive. to Mach4Hobby/Pmc folder). The second json.lua file put in Mach4Hobby/Modules folder.

1.2. In the Mach4, go to Menu->Operator->Edit screen (You Mach4 must be in Disabled mode). Select Your screen (the orginal mill profile is "wx4") and then in Properties section select from PMC Object the Lua File from point 1.



1.3. go one more time to the Menu->Operator->Edit screen. Then the Screen will be reload and the Lua file run



1.4. Run our CNC Control App. In the first Run the app Inform you that can't connect to the Mach4 server. Write the IP address of your PC machine (see the Mach4 message bar). If there is a host name and not an IP address (with a dot), in Windows 10, go to Settings-> Network & Internet-> Ethernet, then click on the connected Ethernet network and scroll down to the properties section. Then get the IPv4 right address..



1.5. If the connection is done, you will see the Main screen with your machine location and actual settings.



Important ! If Mach4 is in Disabled mode activ, then our App is also in Blocked mode - Stop icon in menu Bar. For safety We agree only manual Enabled in Mach4 software (click Grean Enabled button ). After this, the control is available in our App.

You can Dispabled the machine from app (Click the Warning Stop icon), but after this, restart must be manualy from Mach4.



2. OEM Trigger Configuration for Mach4

2.1. Go to Mach4 software menu Diagnostic->Regfile - Newfangled Solutions and Go to iRegs0/PhoneApp/, then click Trigger that You want to use. Double click on it, put the Path for You script file (Placed in global Mach4 Folder).

Warning You can't write Lua code itself.



After first config, the normal runing is simple:

1. Run Mach4

2. Run CNC Control App and wait if You see data on phopne and connection info in mach4