Planet CNC
577 FOLLOWERS
PlanetCNC is an innovative CNC control system company from Europe. Years of research and development have resulted in cost-effective and user-friendly USB CNC Controllers for versatile applications, a simple to use yet powerful control software and a number of accessories and features inspired by our customers needs.
Planet CNC
1y ago
PlanetCNC TNG
Introduction
Overview
Installation
Main Window
Menu bar
Toolbars
Position panel
Speed panel
State panel
Jogging panel
3D program visualization
G-Code panel
Utilities panel
Manual data input (MDI)
Status bar
File Menu
Close
Open
Recent files
Save G-Code
Import G-Code
Import DXF
Import PLT, HPGL
Import SVG
Import Gerber
Import NC Drill
Import CSV
Import Image
Import MIDI
Import Python Script
Generate
Export G-Code
Export DXF
Export CSV
Run Python Script
Settings
Import Profile
Export Profile
Language
Exit
V ..read more
Planet CNC
1y ago
This tutorial series will describe how to use USB devices with PlanetCNC TNG software.
1. Introduction
One of the most common requests from users is how to use external USB device for purpose of expanding TNG functionality. This could be either simple machine control using a gamepad or two way communication where device sends data, and TNG responds accordingly.
Luckily, TNG offers a powerful set of USB functions that allow user to communicate with a USB device.
Klasifikacija usb naprav? struktura in način pošiljanja podatkov?
2. USB functions:
usb_list() - Displays all USB devices, connected ..read more
Planet CNC
1y ago
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 into the MDI window and hit Enter. Inverter should start the spindle at set spindle speed, and LED display should show RPM value(if display is in RPM mode).
Troubleshooting
If inverter will not respond to any spindle gcode command , it indicates that something is not ok.
Type into the MDI window the followi ..read more
Planet CNC
1y ago
This tutorial will describe the necessary steps for successful control of your HuanYang VFD 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 external equipment using serial communication(MODBUS).
Serial communication(MODBUS relay board) with PlanetCNC TNG – Part 1
Serial communication(MODBUS relay board) with PlanetCNC TNG – Part 2
Serial communication(MODBUS relay board) with Planet ..read more
Planet CNC
1y ago
Holiday season is upon us, and with global warming being more and more aggressive, we cannot rely on much snow during the holidays. This leaves us with no other choice than to make snowflakes ourselves – using paper and CNC laser cutter.
Luckily, PlanetCNC TNG software program feature Image Import comes in great help, so scissors will not be necessery. Image Import offers all necessary tools to import and process an image file in order to generate suitable gcode for our CNC machining application (laser cutting).
Obtain image
In your web browser search for “Snowflake silhouette”. Choose t ..read more
Planet CNC
1y ago
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 buffer 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 the same wire of serial communication line.
In this tutorial we will use MODBUS RTU frame format.
Modbus “frame” consists of an Application Data Unit (ADU), which encapsulates a Protocol Data Unit (PDU):
ADU = Address + PDU + Error check
PDU = Function code + Data ..read more
Planet CNC
1y ago
Last part of this tutorial series will describe how to properly design the expression code for Modbus serial communication.
In previous part we made two expression functions. One was responsible for turning relay ON the other one for turning it OFF. Our main concern was just to make it work, to see that relay clicks and that was it. Now we will try to do it the right way, using an efficient, structured and optimized code design.
Create dedicated expression file
In root folder of profile folder create new text file. Use descriptive name for better file transparency and organization. I use ..read more
Planet CNC
1y ago
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 buffer 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 the same wire of serial communication line.
In this tutorial we will use MODBUS RTU frame format.
Modbus “frame” consists of an Application Data Unit (ADU), which encapsulates a Protocol Data Unit (PDU):
ADU = Address + PDU + Error check
PDU = Function code + Data ..read more
Planet CNC
1y ago
We will continue with expression functions used for serial communication. In first part we described buffer expression functions, which are used to prepare the data for serial communication. Now we will describe serial expression functions that are responsible for actually sending the data.
serial_list() - Displays all available COM ports of computer.
serial_info(port) - Displays additional info of COM port of computer
port - COM port name. Use string type ; e.g. "COM3"
serial_open(port,baudrate,bits,parity,stopbits,flowcontrol) - Opens serial COM port channel and sets serial communic ..read more
Planet CNC
1y ago
This content is password protected. To view it please enter your password below:
Password:
The post Protected: Serial communication with PlanetCNC TNG – Part 1 appeared first on Planet CNC ..read more