Hello Guest it is December 14, 2019, 12:55:31 PM

Author Topic: JogOn - Question/Problem - Macros  (Read 188 times)

0 Members and 1 Guest are viewing this topic.

JogOn - Question/Problem - Macros
« on: December 01, 2018, 11:33:04 AM »
I was hoping to add a custom switch that would stop a JogOn() within a give M code. I have made the macro as per the documentation but have found that JogOn(2,0), does not move the machine in the Z axis in the positive direction when place inside a M call.

Am I going about this in the right way?
Do I need to something extra to allow this function?

Thank you

Offline TPS

*
  •  1,411 1,411
    • View Profile
Re: JogOn - Question/Problem - Macros
« Reply #1 on: December 01, 2018, 11:44:44 AM »
hello meshacnc1,

pls describe what you realy want to do.
sometimes there is more than one way to rome.
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: JogOn - Question/Problem - Macros
« Reply #2 on: December 01, 2018, 12:07:37 PM »
Thank you TPS. I want to create a probe that finds the top of an object. Then skims the top of said object until it falls off (releasing the switch), this would start at the same point and run twice in both directions. I could then calculate the center and set it to zero. I have created a probe that allows the the switch to release when the object it is riding on top of drops in initial probed height.

Hope that kind of makes sense.

Thank you
« Last Edit: December 01, 2018, 12:09:28 PM by meshacnc1 »

Offline TPS

*
  •  1,411 1,411
    • View Profile
Re: JogOn - Question/Problem - Macros
« Reply #3 on: December 01, 2018, 12:13:16 PM »
ok,
we are on the probe/touch probe road.

in this case a macro, or a brain is to slow to do this.

G31 is your friend, try to read/learn a bit more about G31 (i realy do not want to patronize you),
but i think that is the functionalty you are looking for.

Tom

anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: JogOn - Question/Problem - Macros
« Reply #4 on: December 01, 2018, 01:23:01 PM »
Yup that looks like it will work for what I want. Thank you