Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: Azalin on July 13, 2021, 09:36:01 AM

Title: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 13, 2021, 09:36:01 AM
Hi,

I wired up the servo encoder to my M16D (using Pokeys 57e). I did all the steps but I am not able to get Mach4 main screen to display the actual spindle speed. Please see the attached images.

I see the input pin for index is triggered when the spindle is spinning in Mach4 log. I also confirm the values are changing on PoKeys "Encoder Raw Values" screen.

So it seems like that I should see the spindle RPM in Mach4 but the Spindle SRO value is always static.

What am I missing?

Thanks
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 13, 2021, 09:37:30 AM
Other images
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 13, 2021, 09:37:48 AM
More
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 14, 2021, 08:07:52 AM
Nobody?
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: gabedrummin on July 19, 2021, 03:29:02 PM
In the po-blocks software do you see the the input blocks switching on and off . I have the same setup and have found the line driver between the encoder and the M16 nu-reliable . I have had 3 burn up . Ill give you an example I was threading on Friday nice get up Sat morning and try to thread and nothing as soon as it hit the line with with the spindle speed the program stops . My spindle  still worked worked but would not run a program with threading then I noticed the spindle rpm was not displayed . I now keep several line drives around . Check your diagnostic screen .
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 19, 2021, 03:38:12 PM
Hi,

My problem solved as follows:

As I described everything was good. In diagnostics screen all inputs and outputs worked fine. The reason Mach4 didn't display the actual RPM was just a screen set misconfiguration. I clicked the "Edit Screen" menu item then selected the "Spindle RPM" text field. Then in the "DRO Code" property I just selected "Spindle True RPM" then save.

After that Mach4 started to display the true RPM that comes from the encoder.

Solved this by an accident took my 2 weeks. Dang!
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 19, 2021, 03:41:18 PM
In the po-blocks software do you see the the input blocks switching on and off . I have the same setup and have found the line driver between the encoder and the M16 nu-reliable . I have had 3 burn up . Ill give you an example I was threading on Friday nice get up Sat morning and try to thread and nothing as soon as it hit the line with with the spindle speed the program stops . My spindle  still worked worked but would not run a program with threading then I noticed the spindle rpm was not displayed . I now keep several line drives around . Check your diagnostic screen .

Thank you
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: gabedrummin on July 19, 2021, 04:58:22 PM
What are you using for a spindle motor ?
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 19, 2021, 04:59:53 PM
ABB MicroFlex a150 servo drive with Schneider 1.13kw servo.
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 19, 2021, 05:18:56 PM
Edit: Did a typo. Servo drive is ABB Microflex e150
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: gabedrummin on July 19, 2021, 05:22:59 PM
Can you rigid  tap ?
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 19, 2021, 05:24:43 PM
Machine is still unfinished so I don't know yet :)
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: mlhare on July 16, 2022, 04:33:49 PM
Hi,

My problem solved as follows:

As I described everything was good. In diagnostics screen all inputs and outputs worked fine. The reason Mach4 didn't display the actual RPM was just a screen set misconfiguration. I clicked the "Edit Screen" menu item then selected the "Spindle RPM" text field. Then in the "DRO Code" property I just selected "Spindle True RPM" then save.

After that Mach4 started to display the true RPM that comes from the encoder.

Solved this by an accident took my 2 weeks. Dang!

Your 2 week accident saved me a ton of time.  I had already spent most of a day pulling my hair out over this.  Thanks for posting your solution.  Worked like a champ!
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: Azalin on July 16, 2022, 04:36:06 PM
Hi,

My problem solved as follows:

As I described everything was good. In diagnostics screen all inputs and outputs worked fine. The reason Mach4 didn't display the actual RPM was just a screen set misconfiguration. I clicked the "Edit Screen" menu item then selected the "Spindle RPM" text field. Then in the "DRO Code" property I just selected "Spindle True RPM" then save.

After that Mach4 started to display the true RPM that comes from the encoder.

Solved this by an accident took my 2 weeks. Dang!

Your 2 week accident saved me a ton of time.  I had already spent most of a day pulling my hair out over this.  Thanks for posting your solution.  Worked like a champ!

I'm happy to help.
Title: Re: Pokeys 57e and Mach4 mill spindle encoder SRO question
Post by: gabedrummin on July 21, 2022, 12:27:16 PM
Good job.