Hello Guest it is April 19, 2024, 05:38:14 PM

Author Topic: Script to pulse a pin when the Z axis hits 0.00  (Read 2519 times)

0 Members and 1 Guest are viewing this topic.

Script to pulse a pin when the Z axis hits 0.00
« on: November 15, 2012, 02:31:59 PM »
Does anyone know of an example script that could pulse a pin when the Z axis reaches 0?
Either through motion travel, or when the "zero axis" is clicked?

Is this something within the capability of the scripting engine or does this reside within the pulsing engine?

Thanks,
Steve

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Script to pulse a pin when the Z axis hits 0.00
« Reply #1 on: November 15, 2012, 03:40:47 PM »
NO guaranties that it can see it during motion.

IF  GetOemDro(802) = 0 then
ActivateSignal(output1)
Sleep(10)
DeactvateSignal(output1)
end


Re: Script to pulse a pin when the Z axis hits 0.00
« Reply #2 on: November 15, 2012, 03:48:37 PM »
Thanks, I will give that a try and see what happens