Hello Guest it is January 21, 2022, 09:29:04 PM

Author Topic: Mach4 PoKeys57CNC Driving analogue output.  (Read 475 times)

0 Members and 1 Guest are viewing this topic.

Mach4 PoKeys57CNC Driving analogue output.
« on: December 07, 2020, 02:50:32 AM »
Hi All, sorry for the dumb question but how do I drive the analogue output 0-10V?

I have the PoKeys57CNC sitting on my bench, not connected to anything, except the USB interface.
If I use the PoKeys configurator I can set PWM on pin 17 and drive the output 0-10V with no problem.

In Mach4,
In Configure\control\Spindle I have set
MinRPM -> 4
MaxRPM -> 24000
AccelTime -> 1
DecelTIme -> 1
Max Spindle Motor RPM -> 24000

In Configure\Plugins\PoKeys
In PoKeys mapping I see Pin17 is Reserved:PWM Output
In the Miscellaneous Tab in the PWM Outputs group, I have set
Enable PWM Outputs -> checked
Frequency -> 20000
Enable Pin17 -> checked
Spindle Output -> Pin7
Set to 0 when off -> checked

I can drive outputs to start and stop a spindle OK but the Analogue output just sits at 0V when I move the SRO slider.
How do I map the SRO slider to the analogue output, or am I just doing it wrong??



Thanks
DerekJ
Re: Mach4 PoKeys57CNC Driving analogue output.
« Reply #1 on: August 18, 2021, 07:07:28 AM »
Hello,

Were you ever able to find a solution?

I am having the exact same problem!

Cheers
Re: Mach4 PoKeys57CNC Driving analogue output.
« Reply #2 on: August 18, 2021, 07:17:28 AM »
HI,

SRO is Spindle Rate Offset not Spindle speed.
Use something like G0 S1000 to drive the spindle to 1000rpm then use the SRO slider to trim the speed.

Hope this helps.
DerekJ
Re: Mach4 PoKeys57CNC Driving analogue output.
« Reply #3 on: August 18, 2021, 12:32:22 PM »
Thanks a lot for getting back to me,

No luck, unfortunately. It's still stuck at 0v no matter what I change the speed to.

Cheers
Aidan
Re: Mach4 PoKeys57CNC Driving analogue output.
« Reply #4 on: August 18, 2021, 02:03:16 PM »
Then try dropping Tech Support a line from the support pages on the main web site.

Sorry it did not work for you. Mine works well now once I got over the basic learning hurdle.

Cheers
DerekJ