In the directory containing your actual configuration open the file custom_postgui.hal and verify that it contains only lines starting with a # character.The same thing for the custom_postgui.hal file, here we go:
#Cnc touch plate error archive
(If not you can try to copy the contents of the custom.hal from the unzipped archive on your desktop and append it to your custom.hal file of your current configuration.) If so then copy the file custom.hal from the unzipped archive on your desktop into the directory containing your actual configuration and replace the original with the new one.(This is the case with a default install.) In the directory containing your actual configuration open the file custom.hal and verify that it contains only lines starting with a # character.These must not be placed in the custom_postgui.hal file or the Ladder Editor menu will be grayed out.” “ Typically classic ladder components are placed in the custom.hal file if your working from a Stepconf generated configuration. Quote from the Classic Ladder documentation: Copy the file Touch_OFF_Button.clp from the unzipped archive on your desktop into the directory containing your actual configuration.
(For the curious, documentation can be found here.)
#Cnc touch plate error code
The code behind the touch off button is a classic ladder. If you don’t have these button: close LinuxCnc, restore the backup from the beginning and start over.Ĭlose LinuxCnc and continue with the next steps. Just verify you see the 2 buttons as in the screenshot below. Just start LinuxCnc and verify that 2 new buttons appear on the right side of the screen. Yes indeed you just replaced your current custompanel.xml with the one from the zip archive.
#Cnc touch plate error zip file
You can download the zip file needed for the remaining steps: Verify the other options are the same as on the screenshot. Tick the boxes at the marked positions A and B. You now arrive on the Advanced Configuration options screen. Press Forward on the Basic Machine Information screen.Select your existing configuration file.Using the defaults when setting up your system with LinuxCnc some options are not enabled. Select all files in that directory and copy them to a backup directory (I called it backup1). To help you identify, this typically contains files like: Locate the directory containing your configuration files. If for whatever reason you need to roll back this will help you out. The setup and configuration changes the current setup. While I’m, setting up my CNC with the touch plate I provide this step by step overview. Here is a link to zip file with his files and tutorial. Without the information in this thread on I wouldn’t be able to do this so credits to and especially to author Spokes who provided a tutorial and bundled the files needed on page 11 of the mentioned thread. In Part 1 we verified the touch plate being connected and configured right.