Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Silvio Hospental on June 25, 2020, 12:27:04 PM

Title: Mach4 M19 Spindle Orientation on a Mill
Post by: Silvio Hospental on June 25, 2020, 12:27:04 PM
Hello everyone, I am new here in the forum.

I have a problem and can't find a solution.
It is a converted Fanuc Drill Mate:
Controller: CS Lab IP-S
Spindle: Controlled by Step / Dir
Mach4 newest version and newest plugin from CS Lab.

My problem is that I want to orient the spindle with the M19 macro and the spindle orient example.

Well I do not come up with the solution how to proceed here or what I have to adapt in the examples that are in the Lua script folder.

Can someone help me there?
Title: Re: Mach4 M19 Spindle Orientation on a Mill
Post by: Graham Waterworth on June 25, 2020, 08:04:49 PM
You have to add the threading module to do that.
Title: Re: Mach4 M19 Spindle Orientation on a Mill
Post by: Silvio Hospental on June 26, 2020, 04:06:46 AM
Sorry yes that i have.
I have the ENC Modul and the MPG.
The Encoder is direkt connectet to the Spindle and to the ENC Modul.
My Problem is more the Script for this.