How to measure tool offset with fixed tool sensor in PlanetCNC TNG software

This tutorial will explain how to correctly use Tool Offset / Measure  feature with fixed tool sensor using PlanetCNC TNG software and PlanetCNC motion controllers.

 

Fixed tool sensor

For fixed tool sensor we can use a dedicated tool measuring switch or, most basic solution, a standard micro switch fixed to machine table.

When tool activates tool sensor, controllers corresponding input is activated and software sets new tool offset value.

Example of fixed tool sensor used with Mk3 controller:

 

Connecting fixed sensor with PlanetCNC motion controller

MK3 controller:

InputWiringMk3

 

Mk3/4 controller:
InputWiringMk34

 

MK3DRV controller:

 

MK3ECO controller:

 

Configuring fixed tool sensor in  PlanetCNC TNG software

In PlanetCNC TNG under File/Settings/Program Options/Probe & Measure configure input pin that you intend to use for fixed tool sensor.

You can select between either Probe 1 or Probe 2 option. It doesn’t matter which one you choose.

 

Sensor input pin is selected from drop down menu:

Now that your sensor is connected and configured, it is best to activate sensor by hand to check if everything is functioning OK. Jog your machine (it can be in any direction) and see if machine stops when you activate sensor.

Under IO tab of main display check if input is activated correctly:

 

Now move  machine to position where fixed sensor is mounted. Make sure that tool is right above the center of fixed tool sensor or in case that you use micro switch, above the lever.

 

Write down Machine coordinates of  X and Y axis. These values will be used for configuration of sensors X and Y axis position:

 

Jog Z axis towards the sensor. When sensor is activated, write down Machine coordinate of  Z axis. This value will be used for configuration of sensor Z axis position:

We would like to emphasize that it is very important what kind of tool is used when obtaining Z axis position value, because all future tool measurements will be dependent on this value. That is why we call this tool also a default tool. Default tool should not be too long or too short. It should be some normal length.

Signs that your default tool was not suitable are usually Z axis plunging into machine table or Z axis activating limit switch after tool offset measurement.

 

Under File/Settings/Program Options/Offsets/Tool Offset/Measure Length, insert values that you previously wrote down for Sensor Position X,Y and Z:

 

Speed & Low:

Speed and Low are speed values of first and second tool offset measurement moves (only Z axis).

First reference move will be performed at Speed value. After fixed tool sensor is activated, machine retracts for switch click distance and starts with the second measurement move, but this time at Low speed value. Make sure that Speed value is not set too high to the point where fixed tool sensor, tool or machine could get damaged. Low value should be significantly lower that Speed value.

Safe Height: After both tool offset measurement moves are finished, machine will ascend to Safe Height value and return to previous position.

Switch Click Distance: This is the distance from the point where fixed tool sensor is activated and to the point when it is deactivated.

 

 

Measuring tool offset with  PlanetCNC TNG software

Tool offset measure procedure can be executed via menu item Machine/Tool Offset/Measure Length or  with left toolbar button:

ToolbarButton

Default sequence of Tool Offset Measure procedure:

-Machine will ascend to safe height at current machine position and move to fixed sensors XY position.

-Machine will descend towards fixed tool sensor with Speed value and when sensor gets activated, Z axis will retract for Switch Click Distance and measure tool offset again at Low speed value. Machine will stop and ascend to safe height.

-Software will set new tool offset value

-Machine will return back to XYZ position

 

Measure tool offset script file

If you would like to edit script code or have more in-depth look at the procedure itself, you can do that by opening script file.

You can access and edit script file in settings under File/Settings/Program Options/Scripts/Tool Offset/Measure Length and click button Edit Script.

Script file will open in TNG gcode editor. In order that Measure Length script file is generated and saved in your profiles Script folder, you need to click Save button.

 

How to configure limit switch inputs of controller in PlanetCNC TNG software

Limit switches are used for reference (homing procedure) and as a safety feature.

In order that software recognizes limit switch activation and makes appropriate action, we need to configure limit switch inputs in settings: File/Settings/Motors/Limit Switches.

Examples below will demonstrate use of different limit switch wiring methods for X axis. All shown principles can be used for all other axes.

 

Limit switch input configuration

 

Example 1: CNC machine uses only one limit switch for X axis (for positive direction), switch is connected to limit input 1:

 

Example 2: CNC machine uses two limit switches for X axis ( for  positive and  negative direction), both switches are connected to limit input 1:

 

Example 3: CNC machine uses two limit switches for X axis ( for  positive and  negative direction), each switch is connected to separate limit input, 1 and 2:

 

Limit switch test:

Test if PlanetCNC TNG software recognizes limit switch activation. On main screen click “IO” tab and observe controllers Limit behavior:

 

Invert option:
If you use normally closed type of limit switches then you can invert controller limit input in settings: File/Settings/Motors -> Limit Switches

Click radio button next to limit pin that you wish to invert.

 

At this point, limit switches are connected with controller and PlanetCNC TNG software recognizes limit switch activation.

Limit switches can now be used as reference for purposes of Homing procedure.

In order that limit switches are used also for safety purposes, please follow steps bellow. 

 

Estop option:

In order that Estop is activated and machine stops during machine operation or jogging (in case of active limit switch), you need to enable its Estop radio button.

If limit switch is activated during program program run, machine will stop and Estop will be activated. If limit switch is activated during machine jogging, machine will stop without Estop.

 

 

Enable/Disable of hard limits

To enable hard limit switch stop settings, you need to make sure that they are enabled under: Machine/Motors,Limits,Probe/Hard Limits Enable

You can also use gcode command M11M11 P1 activates hard limits and M11 P0 disables hard limits.

 

To observe Hard Limits enable/disable state, you can do that by observing:

-Machine/Motors,Limits,Probe/Hard Limits Enable menu. Checked for enabled, unchecked for disabled

 

-LM light under IO tab which will toggle according to above settings. Green when hard limits are enabled, and red when they are disabled

 

-M11 mode under Active M-codes state panel. When enabled, M11 is visible, when disabled M11 is not visible.

 

How to set homing procedure in PlanetCNC TNG software

This tutorial will explain how to correctly use Machine/Home  feature.

Homing procedure will reference machine axes and set machine work area.

 

First you would need to configure your machines step per unit values, motor & soft limits and limit switch inputs of controller:

How to set step per unit values in PlanetCNC TNG software

How to configure limit switch inputs of controller in PlanetCNC TNG software

How to set motor & soft limits in PlanetCNC TNG software

 

Homing procedure configuration

Homing procedure is configured in settings: File/Settings/Program Options/Home

 

 

Speed & Low:

Speed and Low are speed values of first and second axis reference moves.

First reference move will be performed at Speed value. After limit switch is activated, machine retracts for switch click distance and starts with the second reference move, but this time at Low speed value.

Make sure that Speed value is not set too high to the point where limit switch or machine could get damaged. Low value should be significantly lower that Speed value.

 

Order:

To set homing order of specified axis, select order number from drop down menu:

Direction:

To set homing direction of specified axis, click radio button of axis direction option, – or +. So, if your Y axis limit switch is mounted at the positive end of Y axis, you enable “+” for Y:

Switch Position:

Switch Position value is axis machine position at which corresponding axis limit switch gets activated. These values, to some degree, have already been obtained in How to set motor & soft limits in PlanetCNC TNG software tutorial.

For example, during Homing procedure when e.g. X axis is being referenced and its limit switch is activated, X axis will get assigned machine position value of Switch Position value.

To automatically populate all axis Switch Position values, click Copy Motor Limits button. However these values are not values of limit switch activation but previously obtained motor limit values…

 

Obtaining axis switch position values:

Slowly jog Z axis up until Z+ limit switch is hit and machine stops. Write down Z+ axis machine position.

If your X limit switch is mounted at positive end of  X axis: Slowly jog X axis in positive direction until X+ limit switch is hit and machine stops. Write down X+ axis machine position.

If your X limit switch is mounted at negative end of  X axis: Slowly jog X axis in negative direction until X- limit switch is hit and machine stops. Write down X- axis machine position.

If your Y limit switch is mounted at positive end of  Y axis: Slowly jog Y axis in positive direction until Y+ limit switch is hit and machine stops. Write down Y+ axis machine position.

If your Y limit switch is mounted at negative end of  Y axis: Slowly jog Y axis in negative direction until Y- limit switch is hit and machine stops. Write down Y- axis machine position.

 

Now insert all values that you obtained for switch positions into their corresponding field values…

 

 

Move To:

Each axis will travel to its dedicated Move To position immediately after being referenced.  These are machine position values.

 

Switch Click Distance:

This is the distance from the point where limit switch is activated and to the point when it is released.

 

 

Homing sequence:

You can execute homing procedure via Machine menu Machine/Home or left toolbar button: 

When Homing is executed, homing sequence(as set above – see screenshots) will be:

Z axis will be referenced first. Axis will move in positive direction until Z axis limit switch is activated. When switch is activated machine stops and moves to position set with Z “Move To”(Z=10mm) .

X axis will be referenced second. Axis will move in positive direction until X axis limit switch is activated. When switch is activated machine stops and moves to position set with X “Move To”(X=0mm).

Y axis will be referenced third. Axis will move in positive direction until Y axis limit switch is activated. When switch is activated machine stops and moves to position set with Y “Move To”(Y=0mm).

 

Home script file

Homing procedure uses script file. If you would like to edit script code or to have more in-depth look at the procedure itself, you can do that by opening script file.

You can access and edit script file:

In settings under File/Settings/Program Options/Scripts/Home & Measure -> Home, click button Edit Script.  Script file will open in TNG gcode editor. In order that Home script file is generated and saved in your profiles Script folder, you need to click Save button.

 

 

How to set motion limits in PlanetCNC TNG software

This tutorial will explain how to set motion limits of your machine under File/Settings/Motion-> “Range”.

First you need to configure step per unit values, limit switch inputs of controller and motor limits:

How to set Steps Per Unit values in PlanetCNC TNG software

How to configure limit switch inputs of controller in PlanetCNC TNG software

How to set motor limits in PlanetCNC TNG software

 

If you use normal XYZ axis machine, then we recommend that you set your motion limits to same values as motor limits.

You are probably wondering what is the difference between motor limits and motion limits?
We try to think that motor limits are limiting actual motor movement while motion limits are limiting  effector (tool) movement.

Eleboration:
With use of combined motors and special mechanics you can achieve movement which doesn’t follow the same kinematic rules as linear motion CNC’s. Examples of such machines are H-bot, Delta or multi-axis machines. In such cases values for motor limits and motion limits would not be the same.

 

To set motion limits of your machine click: File/Settings/Motion-> “Range”

 

Limit- value sets limitation of effector (tool) movement in negative direction, Limit+ value sets limitation of effector (tool) movement in positive direction for specific axis:

 

 

If we want machine to stop when limits are reached we must enable them. To enable motion limits for specified axis enable round button for specified axis:

 

 

 

 

How to set motor & soft limits in PlanetCNC TNG software

This tutorial will explain how to set motor and soft limits of your machine.

Soft limits (sometimes also program limits term is used) will stop machine motion when motor limit values of specific machine axis are achieved (without any limit switch activation). Soft limits will stop machine in soft stop fashion, meaning axis motors will use deceleration  – hence the name, soft limits.

 

First you need to configure step per unit values and limit switch inputs of controller:

How to set Steps Per Unit values in PlanetCNC TNG software

How to configure limit switch inputs of controller in PlanetCNC TNG software

 

Configuring motor and soft limits

You can configure motor limit values for each axis.

Limit- value sets limitation of axis movement in negative direction

Limit+ value sets limitation of axis movement in positive direction

Step 1:

First we need to set all machine and tool offsets values to zero.

Work offset should be set to zero with command “Machine/Work Position/Offset->To Zero”.

Tool offset should be set to zero with with command “Machine/Tool Offset -> To Zero”.

 

Step 2:

Now we need to choose where machine zero position is. Usually machine works in work position coordinates and it is not really important where machine zero is. What is important is that it is always at same position. I will put some tape to mark it so that you will see it better on image:

 

Tool is put in spindle and machine is jogged to this position. Use tool with normal length, not too short, not too long. Be careful not to crush tool into machine table when you descent Z axis. You can just loosely tighten tool in spindle and if accident happens nothing will be damaged.

This position should be machine zero. Command for zeroing machine position is in menu: “Machine/Machine Position ->To Zero”.

After using “To Zero” feature you will notice that values under Machine and Motors tab in coordinate position display will be zero for all axes:

 

Step 3:

Slowly jog Z axis up until Z+ limit switch is hit and machine stops. Step jog in opposite direction so that limit switch is released and write down Z+ axis machine position.

Slowly jog X axis in positive direction until X+ limit switch is hit and machine stops.  Step jog in opposite direction so that limit switch is released and write down X+ axis machine position.

Slowly jog X axis in negative direction until X- limit switch is hit and machine stops. Step jog in opposite direction so that limit switch is released and write down X- axis machine position.

Slowly jog Y axis in positive direction until Y+ limit switch is hit and machine stops.  Step jog in opposite direction so that limit switch is released and write down Y+ axis machine position.

Slowly jog Y axis in negative direction until Y- limit switch is hit and machine stops.  Step jog in opposite direction so that limit switch is released and write down Y- axis machine position.

PLEASE NOTE: Motor limit values obtained above are just an example on how you can obtain and define them. Motor limit values can be any values that suits your machine and application.

 

 

Step 4:

Now insert values that you previously written down(X+, X- ; Y+,Y-; Z+)  into Limit windows. If we want motors to stop when limits are reached, we must enable the radio button for desired axis. By doing this, we now set soft limits:

Step 5: Enable/Disable of soft limits

To enable soft limit settings, you need to make sure that they are enabled under: Machine/Motors,Limits,Probe/Soft Limits Enable

To observe Soft Limits enable/disable state, you can do that by observing:

-Machine/Motors,Limits,Probe/Soft Limits Enable menu. Checked for enabled, unchecked for disabled

-SL light under IO tab which will toggle according to above settings. Green when soft limits are enabled, and red when they are disabled

How to set step per unit values in PlanetCNC TNG software

This tutorial will explain how to correctly configure step per unit values of your machine.

 

Step per unit value (in further text SPU) defines how many step pulses controller needs to generate in order that machine axis moves for distance of one unit. Units can be in millimeters or in inches.

SPU value depends on few factors: stepper motor, stepper drivers micro-step configuration, lead screw pitch:

Motor
Stepper motors usually have 200 or 400 full steps per one rotation of its shaft.
One rotation of shaft in degrees is 360°. For motors with 200 steps per revolution this means
one step is equal to 1.8°. For motors with 400 steps per revolution this means one step is equal to 0.9°.

In equation below, we will name this parameter M

Micro-Stepping
With micro-stepping we improve motors resolution, accuracy, smoother movements, we reduce
resonance problems etc. The real compromise is that as you increase the number of micro-steps per
full step the incremental torque per micro-step drops off drastically. Resolution increases but
accuracy will actually suffer.

With micro-step number we define, how many smaller steps is one full step divided into.
Most common values are ½ , ¼ , ⅛… but it is really up to you which micro-step value you will use.

In equation below, we will name this parameter S

Pitch
Usually CNC machines operate with the help of lead screws and nuts. They can be trapezoidal or
ball screw leads. The pitch of a screw thread is the distance between adjacent threads. When lead
screw is rotated for one revolution, this reflects as linear motion of axis. Distance traveled is equal
to lead screw’s pitch.

In equation below, we will name this parameter P

(Some CNC machines use rack and pinion instead. Distance traveled when pinion makes one
revolution can also be considered as pinion pitch. Similar is also true for toothed belt drive.)

 

 Configuring SPU values of your machine in PlanetCNC TNG software

StepsPerUnit tab can be found in settings under Motors section: File/Settings/Motors

 

We can calculate SPU values for our machine by starting from two different initial conditions:

If we know all variable values:
Calculating correct SPU value is easy: SPU value = (M*S)/P

If we don’t know all variable values:
We will have to do some measuring and provide ourselves with some numbers. Then we will be able to calculate correct SPU value.

We use metric units so our unit is millimeter. If you use imperial units (inches) then values are different.

1) In Settings/Axes/Setup we set our SPU value to some “normal” number, say 200 steps per unit.

 

2) Jog machine to a suitable location, and set: Machine/Work Position/Axis to Zero/XY offsetXY.

3) Now let’s say that we want to move X axis from our offset zero position to X=10 position and measure the actual distance for which machine will move. To measure the distance of machines travel, we can use ruler, caliper or measuring tape which we place under machines tool.

Tool should start at 0 of the ruler:
X0TNG

In MDI window write X10:
MDIx10

Machine should move from X=0 to X=10, therefore travel for 10mm, but when we execute MDI command we can see that machine travelled for 2.5mm instead of 10mm:
X3.5TNG

Meaning, our current SPU value moves machine axis for wrong distance.

4) We can ask ourselves a question:

If ‘Current SPU’ value moves X axis for ‘Measured distance’ value, what is the ‘Correct SPU’ value that will move X axis for ‘Entered distance’ value?

Equation looks like this:
Correct SPU value = ( Current SPU value * Entered distance value ) / Measured distance value

Current SPU = 200
Entered Distance = 10
Measured distance = 2.5

Correct SPU value= (200*10)/2,5 = 800 SPU

 

Insert correct value for SPU in Settings/Motors/StepsPerUnit:

 

Now enter X10 in MDI window and measure the new distance value:
X0TNG

Measured distance value is now correct. Our steps per unit are correctly set.
X10TNG

It is recommended to repeat this procedure several times and use largest possible travel. Using 10mm travel is good for first pass but if you use maximum possible distance machine can travel, you will obtain much better results.

Basic PlanetCNC TNG connection settings

PlanetCNC TNG software recognizes all PlanetCNC controllers that are connected to your PC trough USB or Network ports. However, only Mk3 series of controllers (Mk3, MK3/4,MK3DRV,Mk3ECO)  can be used with TNG sw.

It is essential that user sets “Primary controller” in settings. Without this, you will not be able to control your machine!

 

Basic connection settings

Lets start by going trough connection parameters in settings: File/Settings/Connection

Select the type of connection that you wish to use with your controller: USB or Network.

When you select type of connection, you will notice that window with connected devices will add new controller(s) to the list(beside Simulation). If you have multiple controllers connected via USB to your computer, software will display them. In case of enabling Ethernet option, software will display also controllers connected to computer via network:

 

To select your primary controller, you need to double click on controller displayed in device list.
“Primary controller” window will now display type of connection, type of controller and its serial number.

Connection light colour description:

Now that your “Primary controller” is selected you can observe its status via connection light.

If you look closely at the bottom right corner of PlanetCNC TNG software, you will notice that there is a round light.
This light can be lit in various colours and each colour indicates different connection, firmware and license status.

Green light with S indicates that PlanetCNC TNG software is in Simulation mode. You can use software options and features, execute gcode programs etc..however, you are not able to control your machine. In order that software communicates with PlanetCNC motion controller, you need to set “Primary controller”. 

Green light indicates that controller is updated with correct firmware version, it is set as primary controller and is activated, meaning license for corresponding controller is found by software. connected_license

Green light with X indicates that controller is updated with correct firmware, it is set as primary controller but software does not find proper license for connected controller. connected_NO_license

Orange light indicates that controllers firmware version is not correct. Update firmware of controller. Firmware_not_correct

Gray light with S indicates no communication between controller and software. Click “Machine/Controller/Reconnect” and make sure that correct controller is set as Primary controller in settings. 

Red light indicates that software is processing commands and is sending them to controller. ProgramRunning

Communication status can also be indicated by observing on-board Link LED. If this LED is blinking in pattern of approximately 500ms, controller is communicating with software. When software is processing commands and is sending them to controller, this LED will be blinking even faster.

If Link LED is not blinking, this indicates communication has dropped.

NEW TNG users: List of essential PlanetCNC TNG tutorials

New to PlanetCNC TNG software? Don’t worry, here you can find list of tutorials that explain how to start using PlanetCNC TNG software as fastest and as effectively as possible.

It is very recommended to follow these tutorials in chronological order:

1. PlanetCNC TNG software overview and performance guidelines
Short description of PlanetCNC TNG software and few guidelines for better perfomance.

2. Updating PlanetCNC controller with PlanetCNC TNG software
To update your PlanetCNC controller with PlanetCNC TNG software you need to follow sequence of steps.

3. PlanetCNC TNG Linux installation guide
PlanetCNC TNG software works also with Linux OS. See how it is installed on Ubuntu MATE.

4. Basic PlanetCNC TNG connection settings

5. Obtaining and activating license for PlanetCNC controller with TNG software

6. How to setup CNC machine in PlanetCNC TNG software

7. Customization of PlanetCNC TNG user interface

PlanetCNC TNG Linux installation guide

We used freshly installed Linux – Ubuntu MATE distribution for this guide. Please note that distributions differ one from another so these steps may not be suitable for all distributions and installation methods may vary.

1.) Start your Ubuntu MATE system.
UbuntuMate 64-bit-2017_UBuntuMATE_Start_01

2.) Using your web browser, download PlanetCNC TNG version from PlanetCNC download page: PlanetCNC TNG download page

UbuntuMate 64-bit-2017_DownloadTNG_02

Under download options choose “PlanetCNC TNG preview-Linux” and click
“Download” button:
UbuntuMate 64-bit-2017_DownloadTNG-SelectLinux_03

3.When download dialogue appears, select “Save File” and hit “OK” button:
UbuntuMate 64-bit-2017_Select folder_04

4.)When download is complete, click “Open folder” button:
UbuntuMate 64-bit-2017_DownloadComplete_05

5.) In “Downloads” folder, right click on downloaded file and click: “Extract To…”:
UbuntuMate 64-bit-2017_ExtractTo_06

6.)Extract dialogue will appear, click: “Create Folder” button:

UbuntuMate 64-bit-2017_ExtractToDirectory_07

7.) Type in the name of new folder: PlanetCNC
UbuntuMate 64-bit-2017_NameDirectory_08

UbuntuMate 64-bit-2017_PlanetCNC_Name_09

8.) Open PlanetCNC folder and click “Extract” button:
UbuntuMate 64-bit-2017_ExtractToPlanetCNC_Folder_10

9.) Extracted files will now populate PlanetCNC folder:
UbuntuMate 64-bit-2017_ExtractedFiles_12

10.) Right mouse click on blank space and click: “Open in Terminal”
UbuntuMate 64-bit-2017_Open_inTerminal_13

11.) Terminal window will appear:
UbuntuMate 64-bit-2017_PlanetCNCTerminal_14

12.) Write: sh install.sh
UbuntuMate 64-bit-2017_TerminalInstall_15

13.) Type in your root password and hit enter.
UbuntuMate 64-bit-2017_PasswordFor_16

14.) PlanetCNC TNG software will automatically launch
UbuntuMate 64-bit-2017_SWStart_17

Obtaining and activating license for PlanetCNC controller with TNG software

We are aware that license is an annoyance. But please understand us.

PlanetCNC TNG software works only with Mk3 series of controllers: Mk3, Mk3/4, Mk3DRVand Mk3ECO.
You cannot use PlanetCNC TNG software with Mk2,Mk2/4, and Mk1 controllers!

To obtain your PlanetCNC TNG license please follow steps below(follow steps very carefully and in exact order):

1.) Update your controller with PlanetCNC TNG software: Updating PlanetCNC controller with PlanetCNC TNG software

2.) When you complete steps 1. and 2., connect your controller with PC, start PlanetCNC TNG software and click Help tab: Help/License Management/Activation Code Generator

You will notice that option “Enable computer” is available. With this feature enabled you are able to select your computer from Device list and generate activation code. We do not accept these activation codes (KU…..).

Select your controller from Device list so that becomes highlighted. “Code” window will be populated with code that starts with “CU…”. Copy this code using right mouse click and select “Copy” or click “Copy to Clipboard”

Send us this code via e-mail when you will request for license. E-mail should also include some sort of proof of license purchase for your controller. Such as invoice, license code used for old software etc…

Your license code will be sent to you via e-mail.
License code will look like this:
LicenseCode

3.) After you receive license code from us, in PlanetCNC TNG software click Help/License Management/Licenses

Click the Import button:
EnterLicenseBlank

Paste the license code that we sent you. You can use right mouse click and select “Paste” or you can use “Paste From Clipboard” button.

EnterLicense

Click OK.
You controller will now appear on the License list:

Software should notify you if license activation has been successful.

You will also notice that green light at the bottom right corner is now without X.

PLEASE NOTE: You cannot use old license with PlanetCNC TNG software as also setting files from old CNCUSB controller software.

Updating PlanetCNC controller with PlanetCNC TNG software

To update your PlanetCNC Mk3 series controller firmware with PlanetCNC TNG software make sure that PlanetCNC controller firmware is updated with latest version of CNC USB controller software(if you are migrating from CNC USB sw to PlanetCNC TNG sw for the first time).

-You can download latest version of CNC USB controller software here: PlanetCNC software download page

-You can learn how to update your controllers firmware with CNC USB sw here: Update firmware of controller

 

Migrating from CNC USB sw to PlanetCNC TNG sw for the first time:

After you successfully update your controller firmware with latest CNC USB controller software version,  start PlanetCNC TNG software and click: File/Settings/Connection

Your controller should be  recognized by PlanetCNC TNG software by displaying controllers serial number and its version(V1):

Close settings by clicking OK.

 

Update PlanetCNC controller firmware with PlanetCNC TNG software:

Click: Machine/Controller/Firmware Update
After update this message is displayed:
09

 

You can check newly updated controller in settings, Info bar will display controllers firmware version:

Controller is now updated to latest PlanetCNC TNG firmware version.

 

PLEASE NOTE!!!

If you want to use CNC USB controller software once your controller is updated with PlanetCNC TNG software:

​-In PlanetCNC TNG click: File/Settings​/Connection-> make sure that your controller is selected as “Primary controller”
-In PlanetCNC TNG click: Machine/Controller/Advanced/Revert to V1
-Close TNG
-Open CNC USB controller software and update firmware: Machine/Update Firmware

PlanetCNC TNG software overview and performance guidelines

 

PlanetCNC TNG software overview and performance guidelines

PlanetCNC TNG is a high performance CNC system. It is designed with flexibility in mind and it can be used for mills, routers, lathes, plasma or laser machines as well as any other machine or system where coordinated movement of servo or stepper motors is needed.

PlanetCNC TNG software works with Mk3 series of PlanetCNC motion controllers and PC running Windows 7, 8, 8.1, 10, MacOS or Linux.

Further in this post we will describe few guidelines that you can follow in order to achieve better performance of PlanetCNC TNG software and more stable communication with PlanetCNC controllers.

    • For best performance of PlanetCNC TNG software, PC with 4 virtual processors(cores) CPU is recommended. However, PC’s with 2 virtual processors will do just fine. Various services running in the background, antivirus software and program updates can interfere with PlanetCNC TNG performance and that is why dedicated computer is recommended.
    • We recommend that you connect controller to computer USB port via USB HUB device. Note that controller should be the only USB device connected on this HUB. Alternatively use USB cable with active repeater.
      You see, all devices connected to the same HUB device share available bandwidth. Because data traffic is prioritized by the OS, it would not be uncommon if another device connected to same HUB would interfere with controller and therefore compromise the communication between controller and PC.You can check which devices are connected to your PC USB ports with “UsbTreeView” software. You can get it here:UsbTreeView

Images below describe bad and good type of USB connection with PC:

Example of bad USB connection with PC as seen in UsbTreeView software:
USB_bad
You can notice that PlanetCNC Controller is connected with PC trough various USB HUB devices(3 in total). Also, if you look closely at the USB HUB device to which PlanetCNC controller is connected, you can see that other connected devices to this USB HUB, are mass storage device and USB camera, both known as devices with huge data flow. The data flow of camera or storage device could interfere with communication of controller which as result would not perform at its best performance.

Example of good USB connection with PC as seen in UsbTreeView software:
USB_good
You can see that PlanetCNC controller is connected directly to one of computers root USB ports. There are no other devices connected to root hub.

  • Use double shielded USB cable. If cable longer than 1.5m is needed then it should be one with active repeater.
  • If Ethernet connection is used then dedicated network card just for controller is recommended. This prevents that high network utilisation interfering with communication.
  • Controller should have its own separate external power supply.
    If controllers voltage is supplied only trough USB, than there is a possibility that voltage fluctuations on the USB power line could interfere with USB communication and as a result communication would drop.
    For Mk3 and Mk3/4 controllers you can use 8-24VDC, 200mA power supply.
    IMPORTANT!!! For Mk3ECO controller power supply must be +5V VDC.
  • Use shielded cables for wiring of limits switches, motors…

Please note that these are not minimum requirements for controller and software to function. PlanetCNC controller can easily function on Celeron based PC’s as also controller can be connected to HUB device which serves as source for multiple other devices.

 

PLEASE READ!!: Main differences between PlanetCNC TNG and CNC USB controller software:

1.) You can use two motion control software’s from PlanetCNC with your MK3 series controller:
PlanetCNC TNG or CNC USB controller.

2.) Controller’s firmware needs to be updated with the version you tend to use: PlanetCNC TNG or CNC USB controller

3.) You cannot use controller which firmware is updated with PlanetCNC TNG software with CNC USB sw and
you cannot use controller which firmware is updated with CNC USB controller software with PlanetCNC TNG.

4.) Each version of SW accepts its unique license key to activate controller.

Form of CNC USB license key (example only):
License for controller with activation code “LUxx-xxxx-xxxx-MJRX” and serial number “572”
u64/st0ByELl2ak5Kcqlsey0J/4g29c6fJ7mEIctwmZ/kffdz+EUJ2zGWpLeU05iUf+aQhO/BaMbSr07yTw==

Form of PlanetCNC TNG license key (example only):
<key code=”CUBRQ-3CNR9-PCX6K-3DV7X-SE3E5-ZHBS”>
Q9NK7DFMQGQ16ADYF9NSFYV8B1B519WXHEJ6D72EZVAYMH0QVDK86KDGH4MC797B971BVJP2N171PZDM9QBW9ZRJ9RHQS9NQS4QW
</key>

You cannot use license key for CNC USB with PlanetCNC TNG and vice versa

5.) Once you purchase  license for your controller you are entitled to both controller  licenses. You do not need to purchase controller license for each software version. However, license for controller needs to be purchased.