Hello Guest it is April 26, 2024, 03:28:03 PM

Author Topic: How Are Encoders Configured in Mach4?  (Read 2042 times)

0 Members and 1 Guest are viewing this topic.

Re: How Are Encoders Configured in Mach4?
« Reply #10 on: February 24, 2021, 07:31:25 PM »
Re: How Are Encoders Configured in Mach4?
« Reply #11 on: February 24, 2021, 07:44:35 PM »
Thanks yet again! I see that you access that via the Events tab of the main screen. The properties tab has the "PLC Interval" Does that mean that all PLC functions use that same interval? I was hoping to use 10msec for the racking detection. The interval property is currently set at 50. I am not sure if it would cause issues if I had all PLC scripts run at 10msec if I change that setting.

I hope others also benefit from this exchange as I feel a bit guilty asking you so many questions. One day I hope to start paying forward this help.
Re: How Are Encoders Configured in Mach4?
« Reply #12 on: February 24, 2021, 07:53:57 PM »
The PLC is like an infinite while loop. Everything in that script continuously loops at the rate of the PLC interval. I think it’s in milliseconds. I’ve always set mine to 5 and never had an issue. Obviously you’ll want to rely on a hardware estop if things do go bad.