
Modbus communication with HuanYang VFD and PlanetCNC TNG – Part 2
If connection test was successful, and you can see parameter values displayed in the output window, then we can continue with next step, which is controlling the spindle. In settings under File/Settings/User Interface/Commands/Spindle Command -> enable option Uses M-Code: Type M3/M4 into the MDI window and hit Enter. Inverter should start the spindle at set […]

Modbus communication with HuanYang VFD and PlanetCNC TNG – Part 1
This tutorial will describe the necessary steps for successful control of your HuanYang VFD(model: HY01D523B) using PlanetCNC TNG software. Before we start, I would really recommend reading tutorials related to serial communication, MODBUS and PlanetCNC TNG software. These tutorials explain the tools provided by PlanetCNC and how to use them in order to communicate with […]

Serial communication(MODBUS relay board) with PlanetCNC TNG – Part 3
In this part, we will use and configure Expr.txt file so that we will be able to control relay board via serial communication using Modbus protocol. Expression array and serial functions described in first two parts will be used in order to achieve this. Modbus supports communication to and from multiple devices connected to […]

PlanetCNC wireless handwheel button customization
User can customize handwheel button functionality. This can be done by configuring the Handwheel.txt file. User manual for wireless handwheel is available here: Wireless handwheel user manual First, create a blank Handwheel.txt file and place it in your TNG profile root folder. You can create such file with any text editor. How to configure this […]

CNC machine semaphore application, using expressions (Expr.txt) – Part 4
In the last part of this tutorial series, we will connect the ExtInOut board with our controller and test the functionality of our Expr.txt file, finally! Before we continue, I would recommend that you go trough the user manual of ExtInOut board for more info about the hardware requirements and connections. ExtInOut board user manual […]

Gantry square procedure with PlanetCNC
Many machines use two lead/ball screws or rack and pinion rods per machine axis. In most cases, the Y axis. Rods can be driven with one motor or two. One motor usually drives both rods using a timing belt, which also helps with synchronization. But you can also drive each rod with its separate motor. […]

CNC machine semaphore application, using expressions (Expr.txt) – Part 3
At this step of the process we pretty much defined everything needed for semaphore application and we can begin writing the program. Diagram of program First we will illustrate simple program diagram(flowchart). Diagram is very helpful, because it visually illustrates the program flow(in this case state machine) which we can use as a reference when […]

CNC machine semaphore application, using expressions (Expr.txt) – Part 2
What is a State Machine and how it is used? If you google State machine, this would be the average result more or less: “A state machine is a behaviour model. It consists of a finite number of states and is therefore also called finite-state machine (FSM). Based on the current state and a given […]

CNC machine semaphore application, using expressions (Expr.txt) – Part 1
For this multi-part tutorial we will create CNC machine semaphore(signal tower lamp). We hope that this tutorial will serve as a good example on how to set application goals and requirements as also on how to define the tools and solutions for achieving them, while using powerful tools and flexibility of PlanetCNC motion control system. […]

Plasma CNC and THC (torch height control) with PlanetCNC
Plasma CNC cutting machine is one of the most commonly used types of CNC machine. It’s used mostly for cutting Steel, aluminium and other conductive materials. Like any other type of CNC machine, plasma machine has it own specifics. Machine should be properly designed for such type of machining, considering slag, steel dust, high temperatures, […]

Using ExtOut board with PlanetCNC controller
PlanetCNC controllers offer digital outputs for external equipment control. Digital outputs of controller are usually used with output board for spindle control. To expand number of outputs, you can use ExtOut board with 8 relays. This board comes useful when you need to control many external devices such as vacuum pumps, various actuators, selenoid pneumatic valves (ATC). […]

Using jogging keyboard with PlanetCNC controllers
With Mk3 and Mk3/4 controller you can use external jogging keyboard: Jogging keyboard is connected to controllers JOG header via 16pin ribbon cable. MK3 JOG header: Mk3/4 JOG header: Jogging keyboard connection with Mk3 controller: Jogging keyboard connection with Mk3/4 controller: Please read tutorial on how to configure jogging keyboard […]