I would ask Kinstar. It is going to be an EtherCAT compat issue. Kingstar always rates highly every year with device compatibility at the EtherCAT "plugfest" every year. But nobody is 100% on every device.
Steve
Hi Steve,
I did indeed end up asking Kingstar, and they where kind enough to be on a 1 hour call with me regarding the issue where we checked out some of the settings and came to the conclusion that we can control the outputs just fine and that setting the output through the driver itself isn't the way to go.
What I'm trying to achieve is the following:
The AC spindle motor has a fan on it. Since the fan doesn't need to be on at all times (only when the driver of the motor is actually enabled), I only want the fan to turn on when we press the "enable" button on mach4.
I already have a output connected to the default "machine enabled" output in the mach4 configuration, this switches a relay that sends power to the oil pump.
So I have 2 options.
1. I wire in a 3 fase relay to the same output the oil pump is on to turn on and off the 3 phase fan that is connected to the AC spindle motor
2. I wire in a 3 fase relay to it's own output and I write a script so I can use 2 output's when the enable button is pressed.
Right now I've opted to go for option 2. What I did now is use a PMC script for this, which works.
But I'm wondering if this is the best solution.
Can't I execute the script on the button press instead of setting it as a PMC script which (from what I've read) is checked every 10 ms