Really didn't like not having a Z probe and having to wait up to 4 weeks before a new one arrives. I'd like to solve my problem before I forget what I was doing and have to start again.
So first. I made a probe.
Then I took a look at the "probe_z_minus_wco.ngc" file and started thinking about how the parameters were set up or for that matter if they aren't provided what is used?
So I changed "_psng_probe_z.ngc", which calls "probe_z_minus_wco.ngc", to provide all 15 parameters and added additional diagnostic print statements in "probe_z_minus_wco.ngc".
Now it behaves... almost.
Here's the output.
Current coordinate system is 1.000000 identified as 540.000000
Workspace_Z is -6.326753
Probe Tool Safety Check
Current Z Position 3.158367 -- Fast Probe starting
Probe Position = 2.886978
Probe Error check, 5070 will be 0 if failed
Move to z_clearance height for slow probe
analog aio output to gui DRO "Z PROBED POSITION"
5220=1.000000
z_minus_probed=2.960507
5063=2.960507
workspace_z=-6.326753
_ini[PROBE]LENGTH=4.784000
Executing G10 with Z[2.960507 + -6.326753]
ERROR: index out of range, 7 not in [0..4] (increase num_aio/EMCMOT_MAX_AIO=64)
ERROR: index out of range, 7 not in [0..4] (increase num_aio/EMCMOT_MAX_AIO=64)
('error', 'See notification popup')
I have no idea where the ERROR: index out of range comes from.Any suggestions?