Questions tagged [cnc]

CNC stands for Computer Numerical Control. It converts the design produced by Computer Aided Design software (CAD) into numbers.

Definition

CNC means Computer Numerical Control. This means a computer converts the design produced by Computer Aided Design software (CAD), into numbers. The numbers can be considered to be the coordinates of a graph and they control the movement of the cutter. In this way the computer controls the cutting and shaping of the material.

Useful Links

96 questions
0
votes
2 answers

C# CNC CONTROLLER

I am trying to create a C# software that can control the CNC machines, First I am trying to create a 3d Space area in the PictureBox (or Pannel), I have gone through the internet and reached about this and I got one video. He made a 3D place in the…
0
votes
3 answers

How to load .dll files in C# from Visual Studio (Working on FANUC FOCAS library)

I am working on a project to make a client program to connect CNC FANUC machine with a personal computer and collect several data using FOCAS library. After downloading FOCAS library with several dll files and a focas library C# file, I tried to…
sol
  • 13
  • 5
0
votes
0 answers

Focas fwlib32 CNC library on Linux platform

I am trying to connect to fanuc CNC machine, I want to run focas on linux .
Harish Patil
  • 71
  • 1
  • 13
0
votes
1 answer

Fanuc Adapter Issues

I am trying to use the Fanuc Adapter found here https://github.com/mtconnect/adapter . And I've gotten this to compile and run on a machine with a Fanuc Controller. My problem is that it is giving me a result of -16 anytime I make a connection to it…
Krait
  • 1
  • 2
0
votes
0 answers

Andron CNC data file

My goal is to read the status of a CNC machine that uses an Andron controller. There is a data file located on the machine that I want to use to read the status with. However, I have ran into a problem decoding the data file. Most of it is ASCII…
Krait
  • 1
  • 2
0
votes
1 answer

Generating a 3D raster scan over the surface (shell) of non-rectangular shapes

So I have a hobby project of strapping a USB microscope onto a 3D printer to take pictures of an object at different X, Y, and Z locations, which are then stitched into a full image. I started with the code from this stack to generate a 2D…
Bowtie
  • 121
  • 1
  • 4
0
votes
2 answers

A application which shows line by line sequence of the gcode

is there any application which I can load the gcode from a CNC for example and I can check line by line graphically what is going on line by line in my g-code? I mean like the apple swift playground?
Manolo
  • 469
  • 6
  • 20
0
votes
0 answers

Using command with result verification

I have a class-service which control connection and data exchange beetwen CNC shell program and CNC controller. This class implement some methods among which GetResponse method. ... public bool GetResponse(string query, out string result) ... This…
Noisy88
  • 181
  • 1
  • 14
0
votes
1 answer

Using usb cable to send uart communication to off board motor controller?

I am trying to create a virtual com port in python using pyserial on a raspberry pi to control a tinyg cnc microcontroller. The tinyG controller looks like it accepts plain text which can be sent through a serial connection if I can figure out how…
evan
  • 169
  • 3
  • 12
0
votes
1 answer

Where is this white space coming from?

I am post-processing output from a python script that generates GCODE for my homebrew pen plotter. The post-processor adds a white space in my GCODE right after a crucial bit of information (after every X and Y coordinate value), causing the GCODE…
Marinus
  • 39
  • 5
0
votes
1 answer

How to specify tool offset with G41 syntax

Let's say during a side milling operation, a 40mm dia tool is used, so an offset is specified using a syntax as follows: G41 D4 From what I understand from the above syntax is that, D must be followed by a number obtained by dividing the tool dia…
Somanna
  • 284
  • 1
  • 13
0
votes
1 answer

Convert string text to GCode

I need to create an app (using Android Studio) that generates CNC code to operate a 3D printer. It takes a String as input. I've found a couple libraries in Python and Javascript that does this, but as I don't have time to translate whole libraries…
Mateus Wolkmer
  • 706
  • 4
  • 26
0
votes
3 answers

Communicating between multiple python programs running in parallel

Here's a summary of my setup: 3 axis CNC, controllable via a python script running on raspberry pi Windows PC can connect to the pi can run a script The end goal is for a UI made in C# to initiate an automated test cycle for the CNC to run in. In…
user2757771
  • 158
  • 7
0
votes
0 answers

How to properly upload Grbl v0.9 code to A4988 driver board R3 ARDUINO UNO?

when I try to upload GRBLv.9 code to my A4988 driver board R3 I get the following error message: Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno" In file included from C:\Users\sagex\Documents\Arduino\libraries\grbl/grbl.h:43:0, …
Jakša Mališić
  • 345
  • 7
  • 13
0
votes
0 answers

How do I tether 2 stepper driver boards on a Panucat X5 GT with 2660 Bigfoot Drivers (2 motors to drive 1 axis)

I have a panucatt X5 GT board running smoothieware and I am trying to make 2 stepper motors work synchronously to move the X axis. It seems like it could be done via software pins but I have not been able to get it to work.