-
Notifications
You must be signed in to change notification settings - Fork 543
Configuration
For the moment there is no graphical interface to modify the configuration, one will be created one in the future.
The easiest way is first to launch bCNC and close it. The first time it will create a clone of the bCNC.ini in your $HOME directory as $HOME/.bCNC
Even in windows the .bCNC file is created in the user folder. You can reach it easily using the Environment variable %UserProfile% . Hit [Windows key + R] paste %UserProfile% in the Run prompt, then click OK. The user folder will open and there you'll find the .bCNC file. Right click and choose "open with" then select notepad.
With a text editor, open the .bCNC file and modify it according to your CNC machine setup. The sections that may be necessary to modify are:
[Connection]
- baud = 115200
- port = /dev/ttyACM0
- pendant = 0/1 ; 1 to start automatically the pendant web server
- pendantport = 8080 ;specify the port where bCNC will listen for browser
- openserial = 0/1 ; allow to automatically open serial connection to grbl upon startup
[CNC]
(CNC section is also modifiable from Tools Tab in bCNC software)
-
units = 0 ; 0=mm, 1=inches
-
acceleration_x = 25
acceleration_y = 25
acceleration_z = 50
; acceleration in units/s^2 for time calculation -
feedmax_x = 3000
feedmax_y = 3000
feedmax_z = 2000
; maximum feed rates in units/min for time calculation -
travel_x = 200
-
travel_y = 200
-
travel_z = 100
; maximum travel of your machine in the three axes
These values will define the WorkArea in the main canvas (enabled/disable from View-->WorkArea)
Be aware: for historical reasons values are always referenced from top/right corner even if your home switch position is in the bottom/left corner. -
round = 4 ; rounding accuracy in decimal digits .dddd
-
accuracy = 0.1 ; accuracy of displaying arcs (maximum allowed sagita)
-
startup = G90 ; startup G-code to send to machine before executing any program
-
safe_z = 3 ; safe Z height on free moves
-
spindlemin = 0
spindlemax = 12000; spindle maximum/minimum in rpm/min
You have to insert one line in the [Control] section
zstep = 1.0.
In the .bCNC configuration file add this line :
probe.ribbon = Connection Probe Run