I use grbl with G-code to control X and Y for CNC machine but for Z is pneumatic energy I control Z with quick python programm my question is how I include my python programm in my G-code??by ghomghom59 - General
Hello everyone, I use arduino and shield CNC to controle my CNC with grbl and Universal G-code sender it work perfectly for X and Y. But for Z I use python programs. my problem is how I can include my pyhton program in the GRBL to control my axe Zby ghomghom59 - General
hey friend, my question is simple to explain: Can I include python programm in my G-code programm? if yes how I can do it pleaseby ghomghom59 - General
Bonjour, je voudrais savoir si je peut faire appel a un fichier python dans un programme G-code. en effet pour ma cnc réaliser avec arduino et cnc shield pour controler X et Y mais lache Z est controler avec un fichier python #!/usr/bin/python import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) # init list with pin numbers pinList = [2, 3, 4, 17] # loop through pins and set mode anby ghomghom59 - RepRap Groupe d'Utilisateurs Francophone
Now I control with my raspberry Pi 3 the Z axes with this code: #!/usr/bin/python import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) # init list with pin numbers pinList = [2, 3, 4, 17] # loop through pins and set mode and state to 'high' for i in pinList: GPIO.setup(i, GPIO.OUT) GPIO.output(i, GPIO.HIGH) # time to sleep between operations in the main loop SleepTimeL = 1by ghomghom59 - General
Hello friends, I explain my problem, so I use GRBL flashed in my arduino with CNC shield to control motor ( Axes X and Y) but the problem is for my axe Z I use pneumatic energy to control axe Z. however, I une universal G-code sender from my PC to control X and Y and it's work perfectly. so how I can do to control Z with 4 modul relays? I must change GRBL code ? in which file ? You found inby ghomghom59 - General