Hello Guest it is February 25, 2026, 12:45:17 AM

Author Topic: Servo ready input ess , howto block cyclestart  (Read 319 times)

0 Members and 2 Guests are viewing this topic.

Offline DAAD

*
  •  105 105
Servo ready input ess , howto block cyclestart
« on: February 19, 2026, 01:57:18 PM »
Hello,

I'ts been a long time i've adjusted things in mach 4.
Atm i have changed from steppers to dmm servo motors on my machine.
I already wired ALM inputs when triggered to Feedd hold the machine, this i have done in the screen load script with the input signal triggering the feed hold.

Now my question, how do i handle the following situation:

Servo not ready (one motor not ready or no power to the servo system) should prevent the system from starting the cyclestart. I already implemented this for homing all of my axis, but can't figure out how i have done it.

If someone has some info top point me in the right direction, it would be very helpfull.
I'm no programmer at all, and it's been a long time since.

All the best,

Adam

Offline cncmagic

*
  •  118 118
  • what me worry? heck...it ain't my machine anyway
Re: Servo ready input ess , howto block cyclestart
« Reply #1 on: February 24, 2026, 07:26:06 PM »
do you have inputs that indicate the drive is ready? if you have these wired either as separate inputs to the ESS or as a string from one servo to the next. You can then write some code that looks for these inputs and won't allow the system to start if they are not high. I've done something similar and will post the coding I used shortly.  Bob :o
any semblance of information posted to anything remotely  close to accuracy is merely coincidence. Use at you own discretion.. or play the lottery.. same odds

Offline DAAD

*
  •  105 105
Re: Servo ready input ess , howto block cyclestart
« Reply #2 on: February 25, 2026, 12:22:45 AM »
Thanks for the reply.

Yes i have inputs from the servo drive already in ESS.
Atm i have put some code in the screen script to prevent cycle start if one drive is not ready, but my machine is out for a couple of day's so did not have the possibility to test what i've done.

If you have some code, it would be appreciated.

Adam