UCCNC Configuration for Plasma Floating Head on 
C76 or C94


This combination of macros and screen allows the user to configure the plasma without commanding motion on the Z axis, but to set all the parameters in the screen DRO fields so the operator can adjust the parameters as needed for the job.

M3 Macro performs the following actions:

  1. Probes or moves down the Z axis to the Z Min position that is set in the DRO for this value.
  2. Set the current position to be the new Z = Zero. 
  3. Moves the Z up at max velocity to the piercing position or DRO = HEIGHT.
  4. Turn on the Torch. 
  5. Wait for pierce time or DRO = THC Delay.
  6. Activate THC.

M5 Macro performs the following actions:

  1. Turns the torch off.
  2. Deactivates the THC.
  3. Moves the Z axis at max speed to the position where it would be safe to move at max speed to the next cutting position.  This is DRO =Z Top.

The screen holds the new DRO values and also has the code that will enable the probe while the system is probing.

Software Used: UCCNC Version 1.2115

Hardware Used: C94R2 and UC300ETH

Before installing the macros and screens, make sure you have the Touch Sensor and Torch Height Control units wired, configured, and tested and that it are working ok: 




Start by making a backup of the existing installation:

Make a backup of the configuration and file installation, we recommend creating a backup of the current installation by right-clicking in the current installation folder and zipping it. 




Download and install the new screen and macro files:

Download the compressed file containing the macros and screen that work with the macros:


You will need to install the screen found in the download folder and place the macro in the macros directory for the profile folder.



Make a backup of the original M3, M5, and M99998 macros by zipping them into the same folder, just so you may have access to the original macros if you need to revert the installation later.  Then replace the M3 and M5 macros for the profile you are configuring: 



Configure the new Plasma Screen:

Set UCCNC to use the new screen that you just copied:

Apply Changes, Save Settings, and Restart UCCNC for all the changes to take effect. 


Testing and Troubleshooting:

Keep in mind the macro will now execute the following actions when M3 (Start Cutting) and M5 (End Cutting):

  1. The Z-axis lowers until the sensor or switch on the Floating Head activates.  This activation should be seen on the LED for the input pin you assigned on the Breakout Board, and on the Probe LED on the UCCNC screen.
  2. After the probing is completed, the Z-axis should move up to the piercing position. 
  3. The plasma starts by activating the plasma relay and stays cutting for the duration of time that you configured or set as Pierce Time in mS.
  4. The Plasma stays on and continues to execute g-code and THC if implemented until an M5 is reached or e-stop is pressed.

On the Main Screen, you need to set the piercing parameters: 


   1. Set Z_Top which is the safe position from which you can do a rapid motion to the new cutting position.

   2. Set how low you want the Z-axis to go while probing or touching the plate.

   3. Set the THC delay or Piercing Time.

   4. Set the height at which you want to start cutting or do the initial pierce. 

   5. Set the OFF SET_Z


Testing and Troubleshooting Considerations:

  1. Note that all the position values are considering that work Z zero is the plate position and we recommend setting this before executing the gcode.
  2. For the initial testing, make sure the plasma machine is off and you can observe the plasma relay activating and deactivating accordingly. 
  3. Do the initial testing using the M3 command in the MDI screen, and you should be able to see the torch start probing and simulating the initial piercing action.
  4. You can observe the action for the enable, touch, and plasma on LEDs on the screen.