Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: gorf23 on August 31, 2018, 01:57:25 PM
-
I have read many post about probing with the pokeys57cnc and can't seem to get probing working correct
I have tried with and without a +5 pullup resistor with the same results mach4's led shows the probe being triggered
but I always get the error message no contract with probe..
any suggestions
-
i use it without any problem
which "no contact " you get ? the first one in high speed or the second one?
-
both fast and slow
Get error message ERROR no contact with probe in the mach4 probe screen
and in the touch module I get can't transition from MDI probing to stop
in both touch and mach4 screen the axis led is moving and stops when probe is triggered then I get the errors and mach4 enable is triggered off
If I enter a g31 z5 f10 in the MDI the axis led moves and stops when probe triggered and I don't get any errors and mach4 stays enabled
also tried a Schmitt trigger but on difference
Thanks
-
update if I touch the probe for a longer time I don't get the error
but the touch module gives me a lua error
Y axis is performing a touch move.Y Axis Offset Set to: -0.616.RetractingTouch is finished. Y axis set to -0.616Lua: Error while running chunk
C:\Mach4Hobby/Modules/mcTouchOff.lua:1178: attempt to compare nil with number
stack traceback:
C:\Mach4Hobby/Modules/mcTouchOff.lua:1178: in function 'frameMainOnUpdateUI'
C:\Mach4Hobby/Modules/mcTouchOff.lua:912: in function <C:\Mach4Hobby/Modules/mcTouchOff.lua:911>
I haven't messed with the module so not sure why I am getting the error
it seems to have completed the probing and errored on update or something
-
please send me the M function you use for probe ,i can look maybe can see something wrong
-
I wasn't using any Mcodes I used the mach4 button on the main screen for Touch probing
-
Hi,
please send me the M function you use for probe ,i can look maybe can see something wrong
Probing is a function that is best done in realtime and is therefor done within the controller. Any Lua script will have
such a communication delay to make probing inaccurate.
Have a look in Docs/Mach4CoreAPI.chm/Plugin Development/Probing for a description of the sequence of events between
Mach and the controller during a G31 probe move.
Craig
-
I use lua with G31,and i got very good results( for me +- 0.05 its too much)
-
Hi,
I use lua with G31,and
G31 is largely enacted by the controller, Mach/Lua just sets the environment for the G31, the controller does all the tricky stuff.
Have you read the article I directed you to?
Craig
-
Not yet ,but i will,now i have problem with small movment ,like s15 mm radius circle,that mach use same speed as large movment ,and i get brake resistor alarm