Hello Guest it is October 16, 2019, 04:06:56 AM

Author Topic: Mach4 Galil Question  (Read 971 times)

0 Members and 1 Guest are viewing this topic.

Mach4 Galil Question
« on: February 02, 2018, 01:17:17 PM »
Is it possible to have a script read both encoder positions when running an axis in dual loop mode on a Galil controller?
What I want to do is use the linear encoder for the position feedback as per the Galil plugin manual, but I also want to have a script running in the background comparing the linear encoder to the rotary encoder.
This way the machine can stop if the difference between the two encoders is too high (linear encoder error)

My machine currently runs this way with its old software, but I want to keep this error checking if I switch to Mach4.


Any help would be appreciated.


Offline smurph

*
  • *
  •  1,138 1,138
  • "That there... that's an RV."
    • View Profile
Re: Mach4 Galil Question
« Reply #1 on: November 06, 2018, 03:46:59 AM »
There is no need to have Mach do anything higher up the chain.  You can set "off on error" on the Galil and do it totally on the Galil.  The error will be seen as a following error.

Steve