Machsupport Forum
Third party software and hardware support forums. => PoKeys => Topic started by: Oscilloman on January 03, 2016, 04:35:39 PM
-
Hello
I am retrofitting a CNC lathe and run into a little problem.
I have a 0.37kW 3P motor that is driven by a Schneider VFD. This VFD takes 0-10V to adjust the freq of the drive. The pokeys57CNC have a 0-10V output, and i would like to use this for spindle speed control. However i am having a hard time figuring out what i need to do in mach4/pokeys software to make this work.
I appreciate all help!
-
All configuration is done in PoKeys plugin for Mach4.
The 0-10V output is driven as PWM output on pin 17 - Configure PWM frequency of 10 kHz in the plugin settings, then select pin 17 as the spindle speed output (all settings are found under the Misc.. tab).
-
Thanks NeoTo this worked like a charm.
But i am faced with a new problem. After i Upgraded to the new firmware (Release:08.01.2016) the load on pokeys57cnc is idling at approximately 80-90%. Funny thing is when i disable pulse engine in Mach4 pokeys plugin, the load decreases to 40-50%. When loaded to 80-90% it causes mach 4 to behave strangely, i get false limit-switch signals etc.
I did not have this problem before i upgraded the firmware.
I am really happy with the motion controller, it was really simple to setup for my first CNC build and i think you guys do a great job!
Again thanks NeoTo for you help!
-
I am setting up a lathe with the Pokey57CNC. What is the pin number for the relays? I want to use a relay to turn the VFD on.
-
The relays on the PoKeys57CNC are not mapped to any specific PoKeys pin. Instead, the relays are accessible as a part of the PoKeys Pulse engine ('PoKeys <serial> PE' device in Mach4).
Matevž, PoLabs
-
I found thaat. For the record here if anyone else needs this- in Mach config under output pins you select the pokeyPE device. Then the signal name will offer the relays or SSR as the device.
-
I am now working on the spindle encoder for threading in Mach4. I am looking at options for the spindle encoder. Is it necessary to be a quadrature encoder, or can a simple pulse train. like from a gear tooth sensor reading a gear? How many pulses per rev are needed for good threading? I will also have an index pulse of a single pulse per rev.
-
You either have encoder+index or index only.
Using the encoder, PoKeys will track both the speed and position of the spindle, compensating for position errors due to spindle speed variations. Index is still required.
Without encoder, one index per rotation can also be employed for threading. Multiple pulses per rotation are not supported. If you have a gear tooth, it is simple to convert it to an encoder - just position two sensors offset for less than half of the tooth width and feed the signals from the sensors back to PoKeys as encoder signals.
-
Ok, not to bring up an old thread, but have a question. Just recieved my Pokeys57CNC, but haven't hooked it up. Was using a 57E before.
For wiring the spindle I use pin 17 and GND to adjust the speed of the VFD. Then which pins do I use to turn on CW and Turn on CCW? And how is that setup in Mach? Do I have to map the outputs like in the 57E?
-
You can use any free pin you want or relays. See the pinout diagram for PoKeys57CNC.
Otherwise, the procedure is the same, so yes, you have to map them as with 57E.
-
Ok so if I pick pins on the 57CNC, let's say 9 and 10 on the Pendent Connector, then I got into the plugin in Mach 4 and set the pins in the mapping function then set them in mach 4 setup? I don't have to program those pins in the stand alone pokeys configuration software?
-
Figured it out. Thanks.
Can't seem to figure out the SSR that's onboard. It has +5V in the center and then SSR1 and SSR2. When it switches on is it providing +5V to the other contact, SSR1? Then how would I make it turn on when the spindle goes on so I can have coolant?
Also the 0-+10V for the VFD is only at like +7V is that changed by changing the Hz in the PWM setting?
-
So turns out there is a very, very small pot next to the 0-10v connector that is used to adjust the voltage.
-
You either have encoder+index or index only.
Using the encoder, PoKeys will track both the speed and position of the spindle, compensating for position errors due to spindle speed variations. Index is still required.
Without encoder, one index per rotation can also be employed for threading. Multiple pulses per rotation are not supported. If you have a gear tooth, it is simple to convert it to an encoder - just position two sensors offset for less than half of the tooth width and feed the signals from the sensors back to PoKeys as encoder signals.
When I use an encoder which has 3 channels (A, B and Z) do I still need an index sensor?
-
What’s the encoder for?
-
It is attached to a lathe spindle, for threading with Mach4
-
Not sure. There are two ways to get threading to work, either with a sensor that detects a notch in some material connected to your spindle or a rotary encoder that connects to your spindle.
Not sure if you need index if it's a rotary encoder. I'm not in front of my machine, but looked at the schematic online and it seems a rotary encoder doesn't need one, just A, B, Z and power.
-
I guess you're right. Thanks.
-
Wow! Hello again.
New machine, new problem.
This time the machine is a mill. M16D with Pokeys 57e.
A sensor is connected to pin #8
B sensor is connected to pin #12
Index sensor is connected to pin #13
In pokeys diagnotstics window I can see all 3 pins are triggered when the spindle spins. However in Mach4 the Spindle SRO is always static. Never displays the encoder velocity. How can I solve this.
Thanks,
Suat