Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: gorf23 on August 31, 2018, 01:57:25 PM

Title: Pokeys57cnc probeing?
Post 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
Title: Re: Pokeys57cnc probeing?
Post by: KatzYaakov on September 02, 2018, 12:52:59 AM
i use it without any problem
which "no contact " you get ? the first one in high speed or the second one?
Title: Re: Pokeys57cnc probeing?
Post by: gorf23 on September 02, 2018, 06:40:02 PM
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
Title: Re: Pokeys57cnc probeing?
Post by: gorf23 on September 02, 2018, 08:15:50 PM
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


Title: Re: Pokeys57cnc probeing?
Post by: KatzYaakov on September 02, 2018, 09:26:48 PM
please send me the M function you use for probe ,i can look maybe can see something wrong
Title: Re: Pokeys57cnc probeing?
Post by: gorf23 on September 05, 2018, 02:02:11 PM
I wasn't using any Mcodes I used the mach4  button on the main screen for Touch probing
Title: Re: Pokeys57cnc probeing?
Post by: joeaverage on September 05, 2018, 02:49:51 PM
Hi,
Quote
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
Title: Re: Pokeys57cnc probeing?
Post by: KatzYaakov on September 05, 2018, 02:56:31 PM
I use lua with G31,and i got very good results( for me +- 0.05 its too much)
Title: Re: Pokeys57cnc probeing?
Post by: joeaverage on September 05, 2018, 03:03:36 PM
Hi,
Quote
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
Title: Re: Pokeys57cnc probeing?
Post by: KatzYaakov on September 05, 2018, 03:11:11 PM
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