Hello Guest it is April 19, 2024, 05:04:46 PM

Author Topic: Spindle feedback  (Read 6357 times)

0 Members and 1 Guest are viewing this topic.

Spindle feedback
« on: October 19, 2015, 03:37:19 AM »
Hello,

Does anybody have a solution how to integrate digital feedback of VFD.
Because if the spindle is not rotating the program should not start to moving the axes.

I need this because sometimes the command to start VFD is not working and spindle not start to rotate.

Offline NeoTO

*
  •  504 504
    • View Profile
    • PoLabs
Re: Spindle feedback
« Reply #1 on: October 19, 2015, 10:06:44 AM »
What signals does the VFD output?
www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope
Re: Spindle feedback
« Reply #2 on: October 19, 2015, 03:05:26 PM »
I have Siemens micromaster which have DO-motor is running.

Offline NeoTO

*
  •  504 504
    • View Profile
    • PoLabs
Re: Spindle feedback
« Reply #3 on: October 19, 2015, 11:56:07 PM »
You will have to connect this signal to PoKeys, then use conditionals in your G-code after turning on the spindle. Mach3 might have checking built-in, but I am unaware of this feature.
www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope
Re: Spindle feedback
« Reply #4 on: October 20, 2015, 02:30:45 AM »
Thanks for answer I will try to do it in this way. Because I have a problem with the output for turn on the spindle. Output sometimes work and sometimes NOT and I didn't found yet why and at what conditions the output stops working.

Offline NeoTO

*
  •  504 504
    • View Profile
    • PoLabs
Re: Spindle feedback
« Reply #5 on: October 20, 2015, 01:22:16 PM »
What do you use for the output?
www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope
Re: Spindle feedback
« Reply #6 on: October 20, 2015, 04:24:39 PM »
In the plugin I defined at spindle CW M3 - #2 output.
In the mapping I defined Output #2 to pin 35.
Pin 35 is connected to 4N25 optocopler over 390ohm resistor.
And the other side of optocopler is connected to VFD.

The strange thing is when the output is not working I go to plugin - mapings and invert the output of pin35 and then cancel invert and the output works normal again.

Offline NeoTO

*
  •  504 504
    • View Profile
    • PoLabs
Re: Spindle feedback
« Reply #7 on: October 21, 2015, 11:47:27 PM »
Did you happen to configure PoExtBus to use the pins (35-37)? Then, it might happen that the pin is used by PoExtBus instead of a regular I/O pin.
Are you using PoKeys as pulse generator? If yes, how do you have it configured?
www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope
Re: Spindle feedback
« Reply #8 on: October 22, 2015, 01:50:03 AM »
I'm using PoExtBusOC16CNC which have no IO periphery so I don't now where this pins could be used.
On the PoExtBusOC16CNC I have connected x,y,z leadshine stepper drivers.
On the pokeys are connected: 9,11,51- PoExtBusOC16CNC; 17- pwm output for VFD; 52- Emergency s.; 35- DO for start the spindle.
I can send a configuration if you are so friendly to check it.

Offline NeoTO

*
  •  504 504
    • View Profile
    • PoLabs
Re: Spindle feedback
« Reply #9 on: October 23, 2015, 12:09:18 AM »
Make sure that you have the PoExtBus on pins option disabled in PoKeys settings (Peripherals > PoExtBus).
www.poscope.com home of PoKeys USB HID, IO, USB, Ethernet controler and PoScope USB PC oscilloscope