Programming secondary spindle for MAZAK quickturn

Programming secondary spindle for MAZAK quickturn

Ben.KimKRXLX
Participant Participant
1,757 Views
4 Replies
Message 1 of 5

Programming secondary spindle for MAZAK quickturn

Ben.KimKRXLX
Participant
Participant

New programmer here, setting up shop with a Mazak QT250MSY lathe.  

We downloaded the post for this machine, and have cut a few test parts.

Now we would like to use the second spindle to pull the stock forward after parting.

 

However, we cannot get the secondary spindle to chuck.

 

Turret moves out of the way (good), machine reaches M540 (transfer mode on)

but then we get an error for "illegal format". The secondary spindle doesn't move.

 

The code shows a rapid B axis and a formula in brackets.

We have tried leaving the formula alone, and also entering values to try to get the spindle to move at all.

Nothing.

 

Post has "gotSecondaryspindle=true".  

Any help would be apprecitated; i've included a screenshot, the program, and the QT250MSY post from autodesk.

 

 

 

 

 

 

0 Likes
Accepted solutions (1)
1,758 Views
4 Replies
Replies (4)
Message 2 of 5

andrew.millardCYPQ9
Autodesk
Autodesk
Accepted solution

Hi,

This will almost certainly be a post issue, but before getting the post updated, I was wondering if you had tried removing the '+' from the following line :-

 

M540 (TRANSFER MODE ON)
G0 B[20.435-0.2325] (MOVE HD2 TO APPROACH)
G1 B[20.435-0.7325] F40.
M307 (CLAMP SUB CHUCK)

 

The # vars in the formula will work fine, but I suspect the '+-' will be confusing the controller.

 

If you could verify that this works, we can look to update the post accordingly.


Regards,


Andy

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Andy Millard

Product Support Specialist


0 Likes
Message 3 of 5

Ben.KimKRXLX
Participant
Participant

Thank you for the reply. Completely missed the "+-".

Once we can access the machines (occupied until off-shift times) we will try this again. 

We will try the formula (no "+-") and entering a raw number. 

 

0 Likes
Message 4 of 5

Ben.KimKRXLX
Participant
Participant

Thank you Andrew, the +- was the problem. Also the #501 variable (distance: stock to sub jaw) needed to be made negative.  No big deal to do manually in the code for our purposes.

0 Likes
Message 5 of 5

billcainautodesk
Autodesk
Autodesk

The #501 should be able to be entered as a negative in Fusion.

 

The +/- problem should be fixed in the next update. It's in for quality checks now.



Bill Cain
Sr. Technical Consultant
0 Likes