Carousel ATC Setup
+TODO
+ +' + + '' + + _("Hide Search Matches") + + "
" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + localStorage.removeItem("sphinx_highlight_terms") + }, + + initEscapeListener: () => { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; + if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { + SphinxHighlight.hideSearchWords(); + event.preventDefault(); + } + }); + }, +}; + +_ready(SphinxHighlight.highlightSearchWords); +_ready(SphinxHighlight.initEscapeListener); diff --git a/atc_setup.html b/atc_setup.html new file mode 100644 index 00000000..9b629164 --- /dev/null +++ b/atc_setup.html @@ -0,0 +1,131 @@ + + + + + + +TODO
+ +It is possible to make a simple customisations to the user interface, like renaming a button, by overriding the main window provider in you custom_config.yml
and a simple python class that extends ProbeBasic
These changes can be achieved with the standard instal of Probe Basic, no need for a Development install. Though you may need to dig into the probe_basic.ui
file in Qt Designer to find the needed widget names (editvcp probe_basic
).
This Dev install method uses an installer script and will install QtPyVCP and Probe Basic into a virtual environment (venv) which is now a requirement for pip installations on systems running python version 3.11 which is what comes on Linux Debian 12 Bookworm. This has been tested to work on a clean install of debian 12 bookworm using the xfce4 option and nonfree firmware cdnetinst iso. Download and install the bookworm iso from the link below for your pc type, typically the amd64 on normal pc’s:
+https://www.debian.org/releases/bookworm/debian-installer/
+Important
+During Linux Bookworm installation, DO NOT set a root password when prompted, just press continue to move to the next section in the visual installer. Once installed, run all of your updating.
++++
+- +
Install linuxcnc from terminal using apt:
+++sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash +- +
Next restart your computer
- +
Ensure git is installed:
+++sudo apt install git +- +
Ensure zenity is installed:
+++sudo apt install zenity +- +
Create a directory and clone the repo to it. Either clone or download a zip file:
+++cd ~ +mkdir dev +cd dev +git clone https://github.com/Lcvette/qtpyvcp-bookworm-installer.git +cd qtpyvcp-bookworm-installer +./install_for_qtpyvcp.sh +
++You should now see a series of icons on your desktop, 3 probe basic mill instances consisting of an inch/metric/atc sim and 1 lathe sim instance. There should also be 2 qtpyvcp icons, one for mill and one for lathe. These icons must be used to enter QTdesigner for your develpment work. To test your edits in QTdesigner you must use the desktop launcher icons provided to start and run your instance of probe basic sim. This is required due to python3 requiring to be run in a VENV (virtual environment). Do not use the application drop down to run linuxcnc or you will not see your changes from your dev efforts. The changes will be saved in the dev folder files. When you have completed your edits and wish to create a .deb build file, you can follow the instructions under creating a .deb installation file in the probe basic instruction docs. (coming soon).
+
++To update QtPyVCP and Probe Basic, from terminal in the installer directory file, run the following script command:
+++./updater.sh +
++To uninstall QtPyVCP and Probe Basic, delete the /home/(your_pc_name)/dev folder. Since this is a venv run in place install, it is removed once the directory is deleted.
+
++Files that must be executable:
++
+- +
install_for_qtpyvcp.sh
- +
sudo_helper.sh
- +
updater.sh
Probe Basic APT Installation Guide for use with Debian 12 Bookworm and LinuxCNC version 2.9 or Later
++++
+- +
Probe Basic is currently designed for 1920x1080 screen sizes only!
- +
Probe Basic Install by apt is for amd64 only currently!
- +
Probe Basic requires graphics hardware that supports OpenGL 3.2 and OpenGL Shading Language (GLSL) 1.50 or later
- +
Probe Basic is tested on xfce4, during install of Debian 12 ISO:
- +
DO NOT enter a Root password during installation, leave blank and skip this page.
During installation, this screen below will appear, be sure to uncheck gnome and check xfce as pictured below. No other changes on this page are needed.
+ +
++Download from: https://www.debian.org/download
+Select the Linux Debian 12 Bookworm Netinst CD ISO from the above link. You will need to make a bootable DVD or USB thumb drive depending on how you plan to install. The below software is extremely easy and works flawlessly with Linux Debian OS images:
+https://www.balena.io/etcher/?ref=etcher_update
+Once you have created your flash stick for LinuxCNC, proceed to install and boot the system. (Note: It is advised to have an ethernet cable internet connection during install). Select the graphical installation option. Follow the steps on screen to complete installation. When you are greeted by the Linux Desktop Selection Page, uncheck the GNOME option and check the XFCE4 option.
+
++After installation, run the following commands in the main terminal:
+++sudo apt update +sudo apt upgrade +
++If you have not already installed LinuxCNC from apt, use the following command:
+++sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash +Once you have installed LinuxCNC, open it and start the axis sim briefly and then shut it down to ensure the installation was successful.
+
++AMD64 for PC Installation Repository:
+++Run the following commands in the main terminal one at a time:
+++sudo apt install curl +echo 'deb [arch=amd64] https://repository.qtpyvcp.com/apt develop main' | sudo tee /etc/apt/sources.list.d/kcjengr.list +curl -sS https://repository.qtpyvcp.com/repo/kcjengr.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/kcjengr.gpg +gpg --keyserver keys.openpgp.org --recv-key 2DEC041F290DF85A +NEW - ARM64 Raspberry Pi 4 and 5 Installation Repository:
+++Run the following commands in the main terminal one at a time:
+++sudo apt install curl +echo 'deb [arch=arm64] https://repository.qtpyvcp.com/apt develop main' | sudo tee /etc/apt/sources.list.d/kcjengr.list +curl -sS https://repository.qtpyvcp.com/repo/kcjengr.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/kcjengr.gpg +gpg --keyserver keys.openpgp.org --recv-key 2DEC041F290DF85A +
++++sudo apt update +
++++sudo apt install python3-qtpyvcp +sudo apt install python3-probe-basic +You are now installed! You should be able to launch the Probe Basic sim from within the LinuxCNC applications dropdown menu.
+
++Updating of Probe Basic and QtPyVCP will occur when you run the normal “sudo apt update, sudo apt upgrade” commands. During updating, the Probe Basic sim configuration files will be overwritten. It is strongly recommended to create your machine configuration files with unique names to avoid having them overwritten during updates.
+
ProbeBasic is a QtPyVCP based user interface +for the LinuxCNC machine control.
+++Probe Basic uses some different methods to offer its feature-rich user experience, which requires customized files and settings inside the HAL and INI files to function properly. Below is a guide to help create a working machine configuration for Probe Basic. This guide assumes a basic installation with manual tool changes. A future document will be available for more complex configurations with ATC and Coolant Cannon functionality.
+
+++
+- +
Create a configuration for your machine using Pncconf or mesact/mesact2 from the LinuxCNC menu in the applications drop-down in the upper menu bar. In this example, we are using Pncconf.
- +
It is recommended to use the Axis GUI display for this initial build.
- +
Have your machine’s wiring schematic premade to make filling in the required information fast, easy, and accurate in Pncconf.
- +
After completing the Pncconf configuration builder and creating a new machine configuration saved in the LinuxCNC config directory, start LinuxCNC using your new config to verify there are no errors.
- +
Test the machine to verify the base functionality is correct (e.g., jogging, spindle function, axis motion).
- +
Once completed and found to function correctly, proceed to step 2.
+++
+- +
In the LinuxCNC config folder, locate your new config folder and the “probe_basic_machine_config_setup_files” folder.
- +
Open two folder windows on the desktop: the new Pncconf folder created for your machine and the probe_basic_machine_config_setup_files folder.
- +
Clean up the Pncconf folder by removing unneeded files (see images below for reference).
- +
Copy the required files from the probe_basic_machine_config_setup_files folder to the Pncconf config folder.
*the latest DEVELOP version requires the “user_buttons” folder to be copied over also (not shown in pics below)!*
+As built pncconfig folder
+ ++++Unneeded pncconfig files highlighted
+ ++++Cleaned up pncconfig folder
+ ++++Files to be Copied from probe_basic_machine_config_setup_files folder
+ ++++Files Copied to pncconfig folder
+ ++++
+++
+- +
Open the Pncconf “my_LinuxCNC_machine.ini” file side by side with the supplied “probe_basic_required_ini_items.ini” file in a text editor.
- +
Integrate the lines from “probe_basic_required_ini_items.ini” into your existing file: +- If a line is present in your machine file, use the Probe Basic settings for that line. +- If a line is not in your machine file, copy it to the appropriate section in “my_LinuxCNC_machine.ini”.
- +
Note that only ONE postgui HAL file can be called. Add any additional items to the existing probe_basic_postgui.hal file.
- +
Save the file and delete the “probe_basic_required_ini_items.ini” file from the folder.
Required ini file items for Probe Basic
+++ +++[DISPLAY] +DISPLAY = probe_basic +OPEN_FILE = ~/linuxcnc/nc_files/pb_examples/blank.ngc +CONFIG_FILE = custom_config.yml +MAX_FEED_OVERRIDE = 2.000000 # Recommended Setting for Probe Basic +MAX_SPINDLE_OVERRIDE = 2.000000 # Recommended Setting for Probe Basic +MIN_SPINDLE_OVERRIDE = 0.500000 # Recommended Setting for Probe Basic +INCREMENTS = JOG .01in .001in .0001in # REQUIRED Setting for Probe Basic +USER_TABS_PATH = user_tabs/ # REQUIRED Setting for Probe Basic +USER_BUTTONS_PATH = user_buttons/ # REQUIRED Setting for Probe Basic + +[RS274NGC] +RS274NGC_STARTUP_CODE = F10 S300 G20 G17 G40 G49 G54 G64 P0.001 G80 G90 G91.1 G92.1 G94 G97 G98 +PARAMETER_FILE = linuxcnc.var +OWORD_NARGS = 1 +NO_DOWNCASE_OWORD = 1 +SUBROUTINE_PATH = subroutines + +[HAL] +POSTGUI_HALFILE = hallib/probe_basic_postgui.hal +TWOPASS = on +++++++
++Modify the following lines by commenting them out, they are used for testing in probe basic sim only and will error in the real machine configs. the spindle feedback line can be used if it is setup in the main hal and the hardware is on the machine to provide a spindle speed input to linuxcnc.
+++loadrt time +loadrt not + +addf time.0 servo-thread +addf not.0 servo-thread +net prog-running not.0.in <= halui.program.is-idle +net prog-paused halui.program.is-paused => time.0.pause +net cycle-timer time.0.start <= not.0.out +net cycle-seconds qtpyvcp.timerseconds.in <= time.0.seconds +net cycle-minutes qtpyvcp.timerminutes.in <= time.0.minutes +net cycle-hours qtpyvcp.timerhours.in <= time.0.hours +# *** Time items required for Probe Basic to run *** + +# ---manual tool change signals--- +net tool-change-request => qtpyvcp_manualtoolchange.change +net tool-change-confirmed <= qtpyvcp_manualtoolchange.changed +net tool-number => qtpyvcp_manualtoolchange.number + +# *** Probe graphic simulation trigger push probe tip *** +# net probe-in => qtpyvcp.probe-in.out <----comment this line out> +net probe-in <= qtpyvcp.probe-led.on + +# *** Set line below for actual spindle readout from your hal file *** +# net spindle-rpm-filtered scale_to_rpm.out => qtpyvcp.spindle-encoder-rpm.in <----comment this line out> +
+++
+ +- +
Add digital and analog IO to the HAL file by modifying the following line:
+++loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS +Add this to the end of the line:
+++num_dio=6 num_aio=3 +The finished edit should look like this:
+++loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_dio=6 num_aio=3 +++++
+ +- +
Remove the red highlighted manual tool change dialog section from the bottom of the hal file as shown in the image below. Probe basic uses its own built in dialog for manual tool changes which give the user better tool information and matches the ui visual theme more appropriately.
+++
+++
+- +
Under the CNC section of the drop-down applications menu, find your machine configuration and select it to launch.
- +
Check the box at the bottom of the launch window to create a desktop icon for easier starts.
- +
To set the Probe Basic icon: +- Right-click the desktop launcher and select “edit launcher” +- Click the current icon image, this will open the icon folder +- Find and select the icon named “probe_basic_mill”
You should now be ready to use Probe Basic with your machine configuration.
+
Probe basic requires the following parameters be created in the var file
+++ +Probe Basic’s devlop version is now using the var file in the configs folder for storing parameters used in subroutines and other functions throughout linuxcnc. These are callable the same as all other parameters which allows them to be used in remap subroutines. This will allow users a greater degree of flexibility in modifying and using features such as tool touch off during tool changes, programmable coolant, probing etc all while being able to make changes from the from within the probe basic user interfaces entry boxes. Once changes to the entries are made they are recorded to the var file and are available immediately after the changes are made. This allows users the ability to change vital settings to ensure their machines run optimally and reliably without major config modifications.
+The Probe Basic Sim Config Folder contains the sim.var file which has been updated with these now required parameters. please be sure to add them to your machine connfiguration for proper functionality.
+
Probe Basic has a number of included probing routines.
+ ++++
+- +
To begin probing, you first need to make sure you have connected
motion.probe-input
in your HAL file.- +
Next, add an entry in your Tool Table for the probe, including the tip diameter. The default recommended tool number is 99. (Finding the probe tool length offset will be covered below)
- +
Enter the Probing Parameters on the Probing Page. A description for these can be found on the probing help tab or below in the docs.
- +
Setting the touch probe tool length offset. The way I prefer to find the touch probe tool length offset is as follows:
++
+- +
Use a facemill and measure the tool length of the facemill either by the tool setter or with a manual tool setter.
- +
Once the facemill tool data is measured, entered, and stored in the tool table, load it in the spindle with the LOAD TOOL feature on the tooling page.
- +
Mount a piece of scrap stock in the machine vise or on the table where it can be faced.
- +
Face the stock to have a true flat surface. Do not move the z axis once faced.
- +
Press the ZERO Z button in the DRO section of the interface. This will record the z work offset with the facemill’s tool length offset applied. Move the spindle to a safe distance to remove the tool.
- +
Use the UNLOAD SPINDLE button on the tooling page and remove the facemill from the spindle.
- +
Load the probe tool in the spindle. Make sure the tool length offset in the tool table is set to 0.0000.
- +
Ensure all of the probe parameters have been set correctly, and move the probe over the faced surface of the stock.
- +
Use the “PROBE POSITION ONLY” button on the probe page. This will find the surface without resetting the offset.
- +
Press the Probe Z button on the probing page to probe the faced surface of the stock. The probed result for Z- PROBED will be the tool length offset for the touch probe. The number used will be absolute, no +/- sign entered as all tool length offsets are relative to the spindle nose gage line.
- +
Enter the absolute value in the probe tool length offset in the tool table, save and reload the tool table.
- +
Verify the tool length offset is correct by loading the probe tool using the LOAD SPINDLE button and probing the face of the stock again.
- +
The Z- PROBED result should show a probed position of 0.0000. This verifies that the probed surface from the facemill and the probed point are the same with tool length offsets applied, which is what we want.
- +
Now that the probe has been set up in software and in the tool table, we need to calibrate it for the most accurate results. This will be covered in the calibration section below.
++Probe Basic has a built-in probe calibration feature function which makes the calibration and calculations painless. Requirements are a precision gage pin or gage ring of known size mounted securely to the table.
+The software calibration assumes that you have mechanically zeroed the probe’s stylus tip in the spindle and it has a TIR that meets your tolerance requirements. Ideally, 0.0000 TIR is the goal, but this may not always be possible.
+As most probes require a small deflection of the tip before tripping, PROBE CALIBRATION OFFSET is used to account for this and can be set using these calibration routines and an accurately measured standard gauge.
+++Tip
+Calibration video from Lcvette https://youtu.be/Qr9L6dyXf2A
++
+- +
Select the CALIBRATE tab in Probe Basic.
- +
Enter the gage ring or gauge pin diameter in the CALIBRATION DIAMETER dialog box.
- +
Move the probe over the gage pin or gage ring as shown in the probe button graphic for which type is being used. The starting position for the probe routine should match the pink tip in the graphic. The probe should be slightly above the gage object as a z minus move is the first move.
- +
Select the appropriate probing button that corresponds to your gage ring or pin and press it.
- +
The probe routine should complete and afterwards will populate the PROBE CALIBRATION OFFSET box. This value will be used to account for the probe’s trigger distance.
- +
Important notes: the probe feedrates will directly affect the trigger distance and the same feedrates used during calibration should be used in all subsequent probing.
- +
Move the probe to the previous starting position, and press the PROBE POSITION ONLY button.
- +
Select the BOSS AND POCKET probe tab.
- +
Select the same probe routine type for boss or pocket that was used in the calibration routine, and press it.
- +
The results should show a diameter that now matches the gage ring or within the tolerance that the machine is capable of probing.
- +
If the results do not match the gage ring known diameter, you can verify the stylus ball diameter is correct in the tool table, and try changing the speeds at which you probe. Then rerun the calibration routine above until your results are acceptable for your needs.
++++++This area allows you to select a Workpiece Coordinate Offset (WCO) and if it is to be updated as a result of probing.
++
+- G5x:
- +
Set the active Workpiece Coordinate Offset, which may be updated.
+- PROBE POSITION ONLY:
- +
This button when active (BLUE) will NOT set the currently active work offset to zero when a probe event occurs. It will record the probed positions and calculate Diameter, and X Y probe widths along with the Z position probed. This is useful for measuring or reverse engineering objects by using the probe tool.
+When not active, all probe events will set the currently active work offset to zero for each probed axis position recorded. The inactive mode should be used for setting work coordinates to zero for stock or part programs.
+
+++++++
+- +
+
+- PROBE TOOL#:
- +
This should be set to match the probe entry in your tool table.
+- +
+
+- STEP OFF WIDTH:
- +
How far the probe will travel in either X or Y before moving down a side.
+- +
+
+- PROBE FAST FDRATE:
- +
Fast feed rate, for first touch when probing.
+- +
+
+- PROBE SLOW FDRATE:
- +
Slow feed rate for second touch when probing. If set to 0 (zero) a second touch will not be performed and the result from the fast probe is used.
+- +
+
+- PROBE TRAVERSE FDRATE:
- +
This is the speed at which non-probing motion will move at such as traversing the top of a workpiece or repositioning for a subsequent probe event.
+- +
+
+- MAX X/Y DISTANCE:
- +
Maximum distance to travel in either X or Y before tripping out.
+- +
+
+- X/Y CLEARANCE:
- +
Retract distance for X and Y probing after touch, this should be at least larger than any backlash in the axis.
+- +
+
+- MAX Z DISTANCE:
- +
Maximum distance to travel in Z before tripping out.
+- +
+
+- Z CLEARANCE:
- +
Retract distance for Z probing after touch, this should be at least larger than any backlash in the axis.
+- +
+
+- EXTRA PROBE DEPTH:
- +
Extra distance to move down a side (after probe diameter) before probing in X or Y.
+- +
+
+- EDGE WIDTH:
- +
Distance between test points when probing for Edge Angle’s.
+
++++++This shows the results from the last probing run. There are reset buttons to clear the data if needed.
+
++The purple dot in each button shows the position at which your probe tip should be approximately placed before starting the probe run. +The Z height above the workpiece should be no more than your “MAX Z DISTANCE” parameter.
+ +++ ++++ ++++ ++++ ++++ ++++ +++++
++++++Included here for offline reference, though a running PB instance may have more up-to-date help.
+ +++ ++++ ++++ ++++ ++++ ++++ +++++
Probe Basic .deb Installation Guide for use with Debian Bookworm and LinuxCNC version 2.9 or Later
++++
+- +
Probe Basic is currently designed for 1920x1080 screen sizes only!
- +
Probe Basic Install by apt is for amd64 only currently!
- +
Probe Basic requires graphics hardware that supports OpenGL 3.2 and OpenGL Shading Language (GLSL) 1.50 or later
- +
Probe Basic is tested on xfce4, during install of Debian 12 ISO:
- +
DO NOT enter a Root password during installation, leave blank and skip this page.
During installation, this screen below will appear, be sure to uncheck gnome and check xfce as pictured below. No other changes on this page are needed.
+ ++++
++Download from: https://www.debian.org/download
+Select the Linux Debian 12 Bookworm Netinst CD ISO from the above link. You will need to make a bootable DVD or USB thumb drive depending on how you plan to install. The software below is extremely easy and works flawlessly with Linux Debian OS images:
+https://www.balena.io/etcher/?ref=etcher_update
+We recommend using a 2-4GB USB drive for quicker flashing.
+
+++
+- +
Create your flash stick for LinuxCNC and proceed to install and boot the system. (Note: It is advised to have an ethernet cable internet connection during install).
- +
Select the graphical installation option.
- +
Follow the steps on screen to complete installation.
- +
When you reach the Linux Desktop Selection Page, uncheck the GNOME option and check the XFCE4 option.
- +
After installation, open the main terminal and run the following commands:
+++sudo apt update +sudo apt upgrade +
++Requirements:
++
+- +
Debian 12 Bookworm
- +
Python 3.11
- +
LinuxCNC 2.9 or higher
- +
xfce4 desktop environment
- +
OpenGL 1.50 or Later graphics support
- +
QtPyVCP
- +
hiyapyco
If you haven’t installed LinuxCNC, use the following command:
+++sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash +After installation, open LinuxCNC and start the axis sim briefly to ensure successful installation.
+Download the following files:
+https://repository.qtpyvcp.com/repo/probe-basic-dev/python3-probe-basic_0.6.0-7.dev_all.deb + +https://repository.qtpyvcp.com/repo/qtpyvcp-dev/python3-qtpyvcp_4.1.2-56.dev_all.deb + +https://repository.qtpyvcp.com/repo/hiyapyco/python3-hiyapyco_0.5.1-1_all.deb+
++Navigate to the download directory, right-click, and select “Open Terminal Here”. Run the following commands:
+++sudo apt install debhelper-compat dh-python python3-setuptools python3-yaml python3-pyqt5.qtmultimedia python3-pyqt5.qtquick qml-module-qtquick-controls libqt5multimedia5-plugins python3-dev python3-docopt python3-qtpy python3-pyudev python3-psutil python3-markupsafe python3-vtk9 python3-pyqtgraph python3-simpleeval python3-jinja2 python3-deepdiff python3-sqlalchemy qttools5-dev-tools python3-serial +++sudo dpkg -i python3-hiyapyco_0.5.1-1_all.deb +sudo dpkg -i python3-qtpyvcp_4.1.2-56.dev_all.deb+sudo dpkg -i python3-probe-basic_0.6.0-7.dev_all.deb+You should now be able to launch the Probe Basic sim from within the LinuxCNC applications dropdown menu.
+Note: When updating/installing the latest .deb files, the Probe Basic sim configuration files will be overwritten. It is strongly recommended to create your machine configuration files with unique names to avoid having them overwritten during updates.
+To build your own machine configuration, please follow the instructions in this document: +https://forum.linuxcnc.org/qtpyvcp/48401-configuration-file-conversion-doc-for-probe-basic-py3
+
++To uninstall, enter the following commands in the main terminal:
+++sudo dpkg -P python3-probe-basic +sudo dpkg -P python3-hiyapyco +sudo dpkg -P python3-qtpyvcp ++++
++Probe Basic now has STABLE and DEVELOP repositories from which users can select for apt updates. You can switch between repositories to test new and upcoming features, but must understand that the development repository will be a testing version. As such, it may be subject to bugs. If you select the develop branch, please be sure to report any bugs either on the forum or on git.
+
++
++
++
++Run the following commands in terminal to uninstall the current installation of Probe Basic:
+++sudo dpkg -P python3-probe-basic +sudo dpkg -P python3-qtpyvcp +
++Run the following commands in terminal to install Probe Basic and QtPyVCP:
+++sudo apt install python3-qtpyvcp +sudo apt install python3-probe-basic +
++Run apt update/upgrade by copying the following commands in the main terminal one line at a time. Select Y for yes if asked at any point during the update:
+++sudo apt update +sudo apt upgrade +
++The development versions will likely require edits, additions or updates to config files. These include but are not limited to the yaml, ini, hal, subroutine, python, and any other supporting configuration files. These changes may not always be fully documented as we test them and are making changes, so we urge users to be aware that the development version should be used in a testing environment only. Those wishing to retain stability in operational use should change to the STABLE version.
+
++For bug reporting, general assistance, or troubleshooting, visit the QtPyVCP section of the LinuxCNC forum:
+ +
Probe Basic APT Installation Guide for use with Debian 12 Bookworm and LinuxCNC version 2.9 or Later
++++
+- +
Probe Basic is currently designed for 1920x1080 screen sizes only!
- +
Probe Basic Install by apt is for amd64 only currently!
- +
Probe Basic requires graphics hardware that supports OpenGL 3.2 and OpenGL Shading Language (GLSL) 1.50 or later
- +
Probe Basic is tested on xfce4, during install of Debian 12 ISO:
- +
DO NOT enter a Root password during installation, leave blank and skip this page.
During installation, this screen below will appear, be sure to uncheck gnome and check xfce as pictured below. No other changes on this page are needed.
+ +
++Download from: https://www.debian.org/download
+Select the Linux Debian 12 Bookworm Netinst CD ISO from the above link. You will need to make a bootable DVD or USB thumb drive depending on how you plan to install. The below software is extremely easy and works flawlessly with Linux Debian OS images:
+https://www.balena.io/etcher/?ref=etcher_update
+Once you have created your flash stick for LinuxCNC, proceed to install and boot the system. (Note: It is advised to have an ethernet cable internet connection during install). Select the graphical installation option. Follow the steps on screen to complete installation. When you are greeted by the Linux Desktop Selection Page, uncheck the GNOME option and check the XFCE4 option.
+
++After installation, run the following commands in the main terminal:
+++sudo apt update +sudo apt upgrade +
++++sudo apt install linuxcnc-uspace linuxcnc-uspace-dev mesaflash +Once you have installed LinuxCNC, open it and start the axis sim briefly, then shut it down to ensure the installation was successful.
+
++AMD64 for PC Installation Repository:
+++Run the following commands in the main terminal one at a time:
+++sudo apt install curl +echo 'deb [arch=amd64] https://repository.qtpyvcp.com/apt stable main' | sudo tee /etc/apt/sources.list.d/kcjengr.list +curl -sS https://repository.qtpyvcp.com/repo/kcjengr.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/kcjengr.gpg +gpg --keyserver keys.openpgp.org --recv-key 2DEC041F290DF85A +ARM64 Raspberry Pi 4 and 5 Installation Repository:
+++Run the following commands in the main terminal one at a time:
+++sudo apt install curl +echo 'deb [arch=arm64] https://repository.qtpyvcp.com/apt stable main' | sudo tee /etc/apt/sources.list.d/kcjengr.list +curl -sS https://repository.qtpyvcp.com/repo/kcjengr.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/kcjengr.gpg +gpg --keyserver keys.openpgp.org --recv-key 2DEC041F290DF85A +
++++sudo apt update +
++++sudo apt install python3-qtpyvcp +sudo apt install python3-probe-basic +Congratulations! You have now installed Probe Basic. You should be able to launch the Probe Basic sim from within the LinuxCNC applications dropdown menu.
+
++Updating of Probe Basic and QtPyVCP will occur when you run the normal “sudo apt update” and “sudo apt upgrade” commands. During updating, the Probe Basic sim configuration files will be overwritten. It is strongly recommended to create your machine configuration files with unique names to avoid having them overwritten during updates.
+
++We recently updated the tool touch off page and it is now located under a tab on the main probing tab. there are explanations and visual graphics for better understanding on the tool touch off setup and parameter functions. Be sure to review the updated information/explanation tabs. We also have eliminated the need to use G59.3 as a storing location for the probed coordinates used in the length offset calculation. Below is an image of the new toolsetter page for reference.
+ ++++
++++Important
+Tool touch off position (G30), X and Y should be centered on the fixed tool setter platter. Z should always be set to Z Home position Z0.0000
+++++
+- +
Setting the tool touch off position, jog the machine to the center point of the tool setter platter and indicate it in or probe it with the touch probe to find exact center point.
- +
Next, retract the z axis to the home position Z0.0000
- +
Press the “SET TOOL TOUCH OFF POS” button, this will capture and store the current locating for probing tools from the touch off routine.
+++
+- +
Enter the desired Parameter settings for all parameters:
++
+- +
Spindle Zero
- +
Fast Probe Feedrate
- +
Slow Probe Feedrate
- +
Traverse Feedrate
- +
Z Max Travel
- +
XY Max Travel
- +
Retract distance
+++++Important
+Spindle Zero is the length/distance from the empty spindle nose at the Z home Position Z0.0000 to the top of the tool setter (at the trip point) +the value for
+Spindle Zero
can be measured by probing the top of the setter using the spindle nose itself to find the distance (spindle empty spindle no holder loaded)++++
+- +
Select the if Tool Diameter Offset will be used. This feature will automatically offset the probing position by 1/2 of the tools stored diameter in the tool table. the direction the tool will move in relation to the ToolSetter platter is determined by the Tool Offset Direction Buttons in the parameter setting section. This feature can be useful when measuring tools that are larger than the platter of the tool setter, such as facemills etc.
+ +++++
+- +
The Tool Diam Probe button is a place holder only, measuring the diameter of a tool requires a specific type of tool setter capable of measuring in 3 dimensions. We felt it was safer for those wanting this functionality to creating their own probing routine specific to their machine and hardware. In the subroutines folder is in the tool_touch_off.ngc file the parameter is there and passed to be able to turn this on or off. This will allow users to add to the subroutine as needed and have control over that functionality from within the user interface.
- +
With all of the parameters set and the touch off location defined, you are now ready to test your firt tool touch off routine. follow the instruction below to proceed.
+++
+ +- +
To measure a tool, Load the tool in the spindle using the tool page in the probe basic interface
- +
Press the “TOUCH OFF CURRENT TOOL” button, this will initiate the tool touch off routine and move the machine to the tool touch off position and probe the tool length to capture and store the current length of the tool in the tool table.
+++
TODO:
+ +