Skip to main content

MachPro Plasma Setup Manual

{{@2007#bkmrk--1}}

Configure Motion Controller

Please refer to your motion controller's documentation to:

  • Establish the network connection to the MachPro computer
  • Connect and configure drives
  • Connect and configure the spindle - doesn't have a spindle. does it use any spindle parameters - like jet does?
  • Connect and configure I/O move the order of sections below to match this?
  • Calibrate the axes
  • Establish machine zero
  • Configure soft limits
  • Calibrate the Spindle

Some of these configuration steps also need integration with the MachPro software. 

Configure the Dedicated Network Interface

The motion controller connects to the control computer through an IP Ethernet connection, and we recommend you use static IP addresses for both the computer and the motion controller.

Follow the Microsoft guide below to manually set a static IP address on the computer:
 Microsoft Instructions: Manually Configure IPv4 Settings Scroll to the bottom and expand the section titled “To specify IPv4 settings manually.”

Then perform the following steps to use the MachLabs default settings:

  1. Set IP address to: 192.168.208.10

  2. Set Subnet mask to: 255.255.255.0

  3. Save the settings and close the window.

  4. Connect to the dedicated network port on the control computer.

Axes Configuration

EtherCAT Recommendations

  • Put servo & stepper drives first in the EtherCAT chain (closest to the controller).

  • Put I/O devices and safety relays in the middle.

  • Put VFDs last (at the end of the chain). VFDs make electrical noise — keeping them last lowers interference.

  • Use shielded network cable for all EtherCAT devices.

  • Cable length: keep each cable between 1 foot and 100 meters (about 0.3 m – 100 m).

  • Good cable management: keep cables neat, do not bend them sharply, and separate network cables from high-power lines when possible.

image.png

Enabling Axes in MachPro 

Enabling Axes

After the drives are configured with the motion controller, open up MachPro, and enable the axes as follows:

  • Disable the system to allow configuration changes
  • On the menu bar, click  Configure->Control . Then select the Motors tab (pictured below).
  1. Enable all the motors that are to be controlled by setting the respective boxes in the right pane to checks. In the example below, motors 0, 1, 2, and 6 are enabled.
  2. If a motor moves the wrong direction, it can be reversed in the MachPro. Check the  Reverse? box if the motor direction needs to be reversed. The motor will now move the opposite direction than it did before. If the homing direction was already set, it will need to be reversed as well. (see the homing section ). NOTE: If you are needing to reverse direction on an axis with a slave motor, you may need to change the direction for both the master and slave axis.
  3.  Press [ Apply  ] to save any changes. 

    image.png

  4. Next, select the  Axis Mapping  tab as pictured below. Associate the enabled motors to the applicable axis. In this example, Motor0 is the X master, Motor1 is the Y master, and Motor2 is not mapped to an axis. No slave axes are configured on this system.  

    image.png

  5. If you have an axis with two motors - such as a gantry - one motor will be the master and the second will be the slave. In the slave column, select the motor that will be running in slave mode. In this example X axis has Motor0 as the master and Motor2 as the slave. 

    image.png

  6. Press [  Apply ] and [ OK ] to save and close.
  7. Carefully test jogging. If you have a gantry with two motors, you may need to reverse one motor for correct motion. See step 2 above.

The system should now be able to jog, however,....

WARNING
 The machine can be crashed very easily at this point. The axes need to be calibrated and the limits set up now.

Axis Calibration

Before calibrating the axes, set the backlash units to 0 for each axis. See the Backlash Repair and Compensation section below for details.

Go to  Configure-> Plugins -> Machine Calibration.

Select the type of configuration you would like to perform from the window:

  • Manual - Calculate the axes by comparing distance traveled vs. distance commanded. See Manual Calibration below for instructions.
  • Automatic - Calibrate axes using the specifications of your system. Continue for instructions.

Automatic Units Calibration 

Automatic calibration requires you to provide all of the details of your motor and axis hardware. If you are unable to find this information, proceed to the Manual Calibration section. 

image.png

image.png

  1. Select the Drive that most closely matches yours. If there is not an exact match, select based on the number of encoder resolution bits. 
  2. Select the max motor RPM
  3. Enter the Encoder Resolution. To verify the actual encoder resolution of your drive, please use the steps above in Checking Resolution
  4. Enter 1 for the drive ratio. 
  5. If this axis uses a pulley, select that box and enter the number of teeth from the load side and the motor side.
  6. If there is a gearbox, select that box and enter the ratio.
  7. This axis will have either a ballscrew or rack and pinion system. Select the type it has and complete the open fields.
  8. Select the axis to calibrate.
  9. Leave Angle at 0 degrees
  10. Press the [Calculate] button.
  11. Evaluate the current steps value against the proposed values. You may change values and re-calculate.
  12. When you are ready to Accept the new steps per value, enter in the maximum Acceleration and Velocity values that you want for this axis. 

Repeat for each axis.

Press [OK] and restart MachPro to save the calibration settings.

This is an example of a simple X axis that has been calculated and is ready to be accepted. You may need to change the Acceleration and Velocity values to be appropriate for your machine. 

image.png

Verify that each axis is moving the distance that you command. 

Manual Calibration

This tool will enable you to calibrate your axes based on measuring actual distances moved and updating the MachPro parameters. Use the longest distance that you can accurately measure to calibrate each axis. 

You will be commanding motion on each axis. Carefully jog each axis to the middle of travel before starting calibration.

  1. Select the axis to calibrate.
  2. Select either Jog Distance or Commanded Distance. Jogging allows you to directly control the speed and distance the axis moves.

Manual Calibration Using Jogged Distance

Manual Calibration Using Commanded Distance

image.png

image.png

  1. Press [  Enable  ] and then [  Record Jog  ]
  2. Jog the longest distance you can accurately measure
  3. Press [  Record Jog  ] again to stop the recording
  4. Measure the distance jogged and enter it into the actual travel field.
  5. Press [ Submit ] to calculate the steps per unit
  6. Press [ Accept ] to update the axis calibration.
  7. To verify, use the Commanded Distance function
  1. Enter the distance and feedrate you want to use.
  2. Press [  Enable  ] and then [  Move  ]. Be prepared to press the E-Stop button if the axis moves too close to a hard stop. 
  3. Measure the distance moved and enter it into the actual travel field.
  4. Press [ Submit ] to calculate the steps per unit
  5. If the distances commanded and moved are the same, it will not change the steps per unit and you can press [ OK ] to close the window.
  6. If commanded and actual are different, press [ Accept ] to update the axis calibration.
  7. To verify, repeat the Commanded Distance function.

Pressing [ Accept ] at this point will update the steps per unit on this axis

image.png

Pressing [ Accept ] at this point will update the steps per unit on this axisimage.png

Axis calibration is a core function of a CNC control. Ensure that it now meets your accuracy requirements before moving on in the configuration. All of the following configuration steps depend on calibration, and if you later change the calibration, you will need to reconfigure many of the items below. 

Configure Velocity and Acceleration

If you want to adjust your velocity, select Configure on the top menu bar, then Control . Select the Motors tab as shown below. 

image.pngIn the right pane, click on the motor you want to set up.

Click the word to highlight and select the axis. The checkbox is for enabling/disabling the motor

The selected motor’s parameters will be loaded and the velocity or acceleration settings can be adjusted.

  • The max velocity is limited by several factors, including the motor. If you want an axis rapid speed to be limited or lowered, adjust the velocity for that motor to the max speed you want the rapid to be. The rigidity of the machine hardware will limit practical maximum velocity of an axis. The cut quality and accuracy will degrade as it reaches that point. 
  • For stepper motors, max acceleration is typically 15-20 if in standard units. For servo motors, start with value of 30-40. This parameter also sets the deceleration rate, which interacts with a regeneration resistor - if one is installed on this axis. 

Press [ Apply ] before clicking on another motor or closing out the MachPro Configuration window. NOTE: If you change the counts per unit, the velocity and acceleration values will adjust accordingly. If you do not want them to change, type in the current values shown. Verify by clicking another motor and then coming back to the adjusted motor.

WARNING
No limits have been set up. DEATH, INJURY or serious PROPERTY DAMAGE can occur if the system is not operated carefully. Limits and homing setup  will be completed in section 3

Backlash Repair and Compensation

Backlash is caused by the gaps between moving parts such as gears and ballscrews. It is the amount of movement one component can make in one direction without causing motion in the next connected part. Most mechanical systems have some backlash - even when new. If the mechanics are too tight, binding and excessive wear will result. As the gears and ballscrews wear, the backlash will increase, and accuracy will decrease. Ongoing testing and maintenance of your mechanical system is required to minimize backlash. To calculate the backlash of an axis use How To Test For Backlash 

All of the axes are now calibrated, but MachPro does not know where the limits of travel are on each axis. That will be configured next. Until that setup is completed, be very careful if you are moving axes

I/O Signal Mapping

  1. At the top of the screen, open Configure → Control.

  2. Click the Input Signals tab.

  3. Scroll down the list until you see each motor section: Home, ++, and --.

  4. For each signal mapping (Home, ++, --) do these steps:

    • Enable mapping: Click the red [ X ] next to the signal. It will turn into a green [ ✓ ]. That turns the mapping on.

    • Device: Choose your motion controller from the Device list.

    • Input Name: Pick the input you wired to the motion controller (for example 1DI.01.08 or 1DI.01.09).

    • Active Low:

      • If your limit switches are normally closed, click the red [ X ] to change it to a green [ ✓ ].

      • This makes the input active when the voltage goes low. (Wiring normally closed is the safest method.)

    • Description: Type the name for this axis limit (the name operators and designers use).

  5. When you finish all limits and home switches for a motor, click Apply, then click OK.

  6. Output Signals are the tab below the Input Signals, and use the same columns.

Short example

  • Inputs #0 through #8 are enabled
  • Inputs #0 through #5 are mapped to the M31 motion controller, and unique inputs on the M31
  • All of the inputs shown are active high except for Inputs #3 and #4
  • The state column shows that Inputs #3 and #4 are also active now
  • Descriptions have been added to Inputs #0 through #8. These are the descriptions that the operators and designers will use.

image.png

If you have limited inputs on your motion controller, there are two ways that MachPro can be configured to conserve those inputs:

  • You can wire the axis limits for the positive and negative sides in series, and map the two software signals to the same device and input name. If either limit trips, MachPro will stop the motion to protect your system.

    image.png

  • You can wire one switch to function as both a limit and a home switch. When the system is homing, it will treat the device mapped to the software home signal as a homing switch. Once the system has been homed, it will stop looking for a home signal, and any input from that switch will be treated as a limit switch. 

    image.png

There are caveats to this approach.

  • You will need to ensure that when that axis homes, it moves the correct direction. This is configured in Homing Setup.
  • When the machine trips either the positive or negative limit, it will see both signals becoming active, and you will not be able to jog the machine off the limit. 
    1. Go to the Service tab, and click the Limit Override button in the upper left corner
    2. Jog that axis off the limit
    3. Turn off the Limit Override

Using Outputs

Outputs 0-5 can be controlled with M-Codes. One M-Code turns an output on, and the other M-Code turns the output off. Use the table below for a reference.

Custom M-Codes

Functions

Default Output

M200

Output 0 on

DO-2

M201

Output 0 off

M202

Output 1 on

DO-3

M203

Output 1 off

M204

Output 2 on

DO-4

M205

Output 2 off

M206

Output 3 on

DO-5

M207

Output 3 off

M208

Output 4 on

DO-6

M209

Output 4 off

M210

Output 5 on

DO-7

M211

Output 5 off

Homing Setup

  • Danger: If limit switches are wrong or an axis moves the wrong way, the machine can crash.

  • Do this first: Keep your hand on the Emergency Stop button the first time you run homing.

  • Open the settings: From the menu bar click Configure → Control. Then click the Homing/SoftLimits tab.

image.png

    • Home Dir: Pick the direction the axis will move to find home — positive or negative.

    • Home Order: Set the order of homing using numbers (1 = first, 2 = second, etc.).

      • Tip: Z is often set to 1 so it moves up first and stays out of the way.

    • Home Speed%: Set how fast the axis homes by choosing a percent.

      • 20% is the usual maximum for best results.

      • Slower speeds help stop over-travel.

      • You can jog (move) the axis quickly close to the home position before homing to save time.

    • Home In Place: Set this based on your motion controller config:

      • If you use home switches wired through your motion controller → make sure Home In Place shows a red X.

      • If you use absolute encoders in your motion controller → make sure Home In Place shows a green ✓.

    • Save: Press OK to save your changes.

    • Switch to the Service tab
    • Test: Home each axis one by one to check the settings. Then press Home All to verify everything works.

    Soft Limits Setup

    Use the Control->Configuration menu and open the Homing/SoftLimits tab. When the machine is homed correctly and soft limits are set, the machine will not hit a physical limit switch. If at any time a command is made for the machine to move outside of the soft limits (while they are enabled), an error will appear in the status line and motion will stop. To set up the soft limits, follow the procedure outlined below.

    1. Home the machine.
    2. Toggle the Viewing Part button under the DRO to select the Machine Coordinates view. The button and DRO’s will be orange while viewing the machine coordinates. 
    3. Jog the machine to the maximum safe distance from the homing switches.
      • Note: Make sure to stay inside the physical limit switches. If the machine is jogged outside of the limit switches, it completely defeats the purpose of soft limits.
    4. Record the machine coordinates at the end of the travel for each axis.
    5. Jog the machine to the maximum safe distance beyond the homing switches, and record the machine coordinates for each axis.
    6. Open the menu bar and click Configure->Control and select the Homing/SoftLimits tab
    7. Enable soft limits on each desired axis by setting the Soft Enable column to a green check mark, and enter in the recorded values.
      • For each axis, enter the largest, most positive value in the Soft Max field, and the smallest, most negative value in the Soft Min field. 
    8. Press [ OK ] to save changes. Test the soft limits by jogging the axes to maximum amounts in all directions.

    Note: When loading a G-code file, the tool path display will show the soft limits as dashed lines. If any part of the tool path renders outside the soft limits, check your file.

    Probing Configuration

    {{@2015}}

    Modifying GoTo Positions

    {{@2045}}

    Plasma unique features and where should they go

    Need to work through settings filtered for "plasma"

    plasma machines do use probing to deal with stock that is not perfectly square to the table. 

    auto voltage control - maintains set constant voltage = THC, then the OB1 axis and controls need to be configured: digital or analog (analog preferred).  setup
    smart target voltage - .5" average? Can be adjusted on the fly with +/- buttons on screen. not good for flexible material, uneven material, or mesh type materials with holes. (wrong technology - you'll lose arc. Go buy a waterjet) For floppy material, get a roller head. The target voltage is set after ignition.  setup or operator
    target voltage - besides the human, what else sets this number? Does Smart target set it?

    IHS? ohmic contact, torque/motor-stall sensing, or floating head switch

    or roller head instead of ihs

    More often use IHS

    Roller head is more common in hvac sheet metal, duct cutting

    IHS sets parameters then ignites. It ONLY affects the start of the cut, then one of the voltage controls needs to maintain the height. 

    setup 
    reset counters operator
    tech tables - default to 45 amps for most rows. If they have a higher amperage unit, will they typically replace/edit the csv tables? Provide path to csv files: C:\Mach-Sim\Profiles\Plasma\TechTables setup or operator
    scribe tool
    laser pointer setup, filter for laser
    critical, must set settings setup: live voltage scaling based on divider from cutter doc?
    I/O needs to be mapped in the input and output tabs
    scribe tool? not in settings, using the plasma cutter at low power?

    bottom buttons

    IHS - initial height sensing

    torch - torch is on

     

    arc ok - rec'd input from the power supply, (also called Arc Transfer, Arc Established, OK-to-move) Arc OK can be “true” even when the cut is bad (wrong height, worn consumables, wrong speed). It only means the power supply sees an established arc—not that it’s cutting well.

     

    thc - thc is on

    up - moving the cutter up

    dn - moving the cutter down

    FR lock - feed rate lock

    VT lock - voltage target lock?


    Configure MachPro Plasma

    These are the minimum software settings to integrate your power unit with MachPro.

    • Pull down Configure -> Control and select the Settings tab
    • In the upper right corner of the window, enter plasma as the filter term

    image.png

    If you have an

    ArcPro height controller,controller

    you should verify

    Verify these settings

    image.png

    Soft Height Control

    image.png

    Roller Head

    If you are using a roller head, change the Plasma Style to Roller Head and update these settings to match your system

    image.png

    Initial Height Sensing (IHS)

     This is usually implemented with an ohmic contact, torque/motor-stall sensing, or a floating head switch. These are the options for configuring IHS.

    image.png

    Laser settings

    image.png

    {{@2016}}