251
Mach4 General Discussion / Re: Closed Loop Monitoring of Mach4?
« on: February 18, 2023, 08:18:54 PM »
Hi,
I rather think that mach4 can do what you require, its all about timing.
When most people talk about 'closed loop' they think of Mach trying to maitain angular position control over the shaft of a motor.
Windows is not a realtime operating system and therefore Mach4 is a bufferd control which precludes from the microsecond timining that
such a closed loop requires.
If however you are talking about Mach4 being stopped while an image is collected, and then execute certain actions as a result of processing that image, then yes
it could do so.
May I suggest you write your Python program to collect the image data and output a signal (digital), or signals (binary), or even analog if you have an analog capable
motion control to Mach. Having Mach execute certain chunks of code based on an iput should be no trouble.
Craig
I rather think that mach4 can do what you require, its all about timing.
When most people talk about 'closed loop' they think of Mach trying to maitain angular position control over the shaft of a motor.
Windows is not a realtime operating system and therefore Mach4 is a bufferd control which precludes from the microsecond timining that
such a closed loop requires.
If however you are talking about Mach4 being stopped while an image is collected, and then execute certain actions as a result of processing that image, then yes
it could do so.
May I suggest you write your Python program to collect the image data and output a signal (digital), or signals (binary), or even analog if you have an analog capable
motion control to Mach. Having Mach execute certain chunks of code based on an iput should be no trouble.
Craig