Hello Guest it is April 18, 2024, 01:33:22 PM

Author Topic: script help for lathe chuck control  (Read 2016 times)

0 Members and 1 Guest are viewing this topic.

script help for lathe chuck control
« on: July 23, 2017, 03:37:02 AM »
I'm new to scripting and I'm having trouble writing a script to not only turn on a relay that controls my hydraulic chuck solenoid with a m10 call but also disable and start a different relay when m11 is called I also need to keep the spindle from being able to run unless the output for m11 is active. In other words the spindle vfd wont be enabled unless the clamp relay is set high. Let's call output0 the clamp relay and output1 the unclamp relay. So they also cannot be enabled at the same time. Ugh I really don't even know where to start.