-
Notifications
You must be signed in to change notification settings - Fork 297
Connecting to g2core
To connect to g2core you must have the correct USB drivers on your host computer. We use the g2core-api NodeJS module or Coolterm v1.4.3 for testing g2core. Chilipeppr is a good option for a CNC controller. Other options are Universal G-code Sender, Goko or cncjs
See the g2core Communications page if you need details of the communications protocol. If you are using one of the above communications tools you do not need the page.
OSX you have everything you need. The drivers will install automatically.
Windows users need download an INF file in order to use g2core. Use this G2 Windows Driver to download the inf file. Be sure to "right click save as when downloading. Note that the g2core USB registration makes it show up in the device list as TinyG v2
.
Here is a video tutorial explaining how to install the g2core drivers on windows 7.
www.youtube.com/watch?v=UCF4FoVghsI
Windows 10 does not need this procedure and should work out-of-the-box. After flashing an Due, make sure to switch from the "Programming" port to the "Native" USB port before attempting to connect to G2core.
Several G-Code Senders support g2core. You only need one, so feel free to experiment and choose whichever appeals to you the most:
-
CNCjs - Fully featured, and suitable for remote usage.
- eg set it up on a Raspberry Pi 3, control your CNC, 3D printer, (etc) from that
-
Universal G-Code Sender - Desktop/laptop application.
- Support for g2core is in the nightly builds. Choose "UGS Platform" from the downloads.
-
Goko - Desktop/laptop application.
- Not much development activity recently, but should still work ok.
- Chilipeppr - Requires an online internet connection, and uses Google provided services.
For OSX you can also use Coolterm version 1.4.3. There is a bug in the latest version and 1.4.3 is the latest we have tested that works well. (A bug has been opened with the author who has supported us extremely well throughout this project). Look on this page for this file: CoolTermMac143
- In Coolterm the usb will show up as 2 devices labeled something like:
- usbmodem14311
- usbmodem14313
These are the 2 endpoints for the dual endpoint USB connection. You can connect to either and it will work. For most purposes that's all you need.
If you want to run dual port mode, the first port opened will become a control and data port. If you open the second port it will become a data port, and the first will become control-only. Send Gcode to the data port, and everything else to the control port. All responses, status reports and exception reports will be returned to the control port - no text will be sent to the data port. This way you can queue a lengthy gcode file to the data port, while still having access to controls.
Getting Started Pages
- Home
- What is g2core?
- Who uses g2core?
- Jerk-Controlled Motion
- Getting Started with g2core
- Connecting to g2core
- Configuring g2core
- Flashing g2core
- Troubleshooting
Reference Pages
- Gcodes
- Mcodes
- Text Mode
- JSON Communications
- GPIO Digital IO
- Alarms & Exceptions
- Power Management
- Coordinate Systems
- Status Reports
- Status Codes
- G2 Communications
- Tool Offsets and Selection
- Probing
- Feedhold, Resume, Job Kill
- Marlin Compatibility
- 9 Axis UVW Operation
- gQuintic Specs
Discussion Topics
- Roadmap
- GPIO for 1.X Releases
- Toolheads
- Raster Streaming Prototol
- g2core REST Interface
- Gcode Parsing
- G2 3DP Dialect
- Consensus Gcode
- Digital DRO
- Overview of Motion Processing
Developer Pages
- Development & Contribution
- Branching and Release - DRAFT
- Getting Started with g2core Development
- Project Structure & Motate
- Compiling G2
- OSX w/Xcode
- OSX/Linux Command Line
- Windows10 w/AtmelStudio7
- Debugging G2 on OSX
- Board and Machine Profiles
- Arduino Due Pinout
- Arduino DUE External Interfaces
- Diagnostics
- Debugging w/Motate Pins
- Development Troubleshooting
- g2core Communications
- Git Procedures
- Windows 10 / VMware 8 Issues
- Dual Endpoint USB Internals
- G2core License
- VSCode Setup
- Compatibility Axioms
- Wiki History