Using o-words with PlanetCNC TNG software: Conditional statements
You can use o-word conditional statements with PlanetCNC TNG. O-word conditional statement consist of if, elseif, else and endif keywords. All keywords of the same conditional statement should use same o-word number. Example of if…endif conditional statement: % #1=10 o100 if [#1 EQ 10] (PRINT,Condition is true) o100 endif % Parameter #1 is assigned value 10. o100 if […]
Using o-words with PlanetCNC TNG software: Subroutines
Some CNC jobs demand repetition of the same motion over and over again, e.g.: drilling of a 100 holes. If we want to re-use the existing g-code pattern throughout the main program, we can use subroutines. Subroutine is basically a program block which is executed the moment it gets called from main program. Subroutine program can […]
Using LOG command with PlanetCNC TNG software
If you want to save your variable and parameter values or any other log data in a form of a file, you can use LOG command. LOG: Writes to LOG file LOGCREATE: Creates new LOG file. LOGOPEN: Adds content to previously created LOG file LOGCLOSE: Closes LOG file Example 1: G-code program will create LOG file […]
Using o-words with PlanetCNC TNG software
With PlanetCNC TNG it is possible to control g-code program flow. For this purpose you can use o-word g-codes. o-words are formed as blocks and can be, based on their functionality, categorized into 4 groups: SUBROUTINE (subroutine block) CONDITION (if..endif,elseif,else…block) LOOP (do…while, ehile..endwhile loop block) REPEAT (repeat…endrepeat block) During this multipart tutorial series we will […]
Certificate Import
License activation depends heavily on digital signatures. Validity of digital signatures depends on trust. On some computers trusted root certificates are missing, specially on older PC’s or when auto-updates are turned off. If you are facing problems because of this, it is essential that you install trusted root certificates. Please download this .zip file and […]
Adding user commands in PlanetCNC TNG software
User can add user commands to PlanetCNC TNG software. Examples of such are various frequently used machining programs, various measuring procedures or any other machine motion sequences that help user with workpiece or machine setup before starting machining process. User commands are accessible trough Machine/User Commands menu: In order that program appears as User Command menu item, further steps need to […]
Replacing Chinese JP-382C board with genuine PlanetCNC MK3DRV controller
1. Take your control box and remove all screws of the top cover: Now remove top cover of control box: 2. Locate JP-382C board and disconnect connectors of cable sets for X, Y and Z axis motor outputs, power supply and E-Stop switch. They should not be hard to find: 3. Remove JP-382C board from […]
Plasma CNC and floating Z axis with PlanetCNC
Sometimes we need to modify our CNC machine in order to achieve our machining goals as quickly and as efficiently as possible. CNC machines such as plasma, plotter cutters, lasers need mechanism that helps with measuring of material surface. Good example of such modification is Floating Z axis. The concept is pretty straight forward: Z axis has […]
Spindle synchronisation with PlanetCNC TNG
CNC lathe thread cutting requires spindle RPM’s to be synchronised with machines linear movement, we call this spindle synchronisation. To achieve this, controller needs to read feedback signal from machines spindle to obtain information at which RPM spindle rotates. For this purpose we can use incremental (with quadrature A and B signals ) encoder or […]
Guidelines when submitting your problem to PlanetCNC support
Some users face an obstacle during their time learning and using PlanetCNC software. While we always try to give fast and effective support, sometimes we need more info about the problem user is facing in order to come up with solution as fast as possible. So when you post e-mail or ticket regarding your problem […]
Adding user toolbar buttons in PlanetCNC TNG software
New custom buttons can be created and added to the top, bottom, left and right sided toolbars. Custom buttons can execute any program feature from File, View, Program, Machine and Help menu. Buttons can also execute user commands, use expressions etc.. This makes any program feature, user command, scripted code or custom machine behavior even […]
Using “Warp” with PlanetCNC TNG software
This tutorial will explain how to correctly use Machine/Measure/Surface feature and Warp feature using PlanetCNC TNG software and PlanetCNC motion controller. Since PCB milling is a very delicate and precise procedure (distance between two pads can be only few mils), already smallest PCB surface height irregularities can create bad results. It is very important that […]