What's new
What's new

Mastercam post m60

D Nelson

Stainless
Joined
Jan 7, 2015
Location
Missouri Ida
Does anybody know how to turn on m60 & m61 in the post for the a axis? I would appreciate the help thanks Don.


Sent from my iPhone using Tapatalk Pro
 
1: open the Machine Definition
2: Double click on the axis you want to modify
3: on the bottom right turn on index only mode


that should get you some kind of m code. When you find out what the mcode is, open the .PST file and search for the string definition. It will be in the indexing table, change those two values to M60 and M61
 
also you might have this value.
ret_on_indx : 1 #Machine home retract on rotary index moves, (0 = no, 1 = yes)

turn it on off depending if you want the machine to go to its home position in the Z before indexing.

---

OK so you will be looking for this string selection table. ONLY CHANGE what is between quotes.

# Table rotation direction
# Table rotation direction, index
sindx_cw : "M60" #Rotate CW code
sindx_ccw : "M61" #Rotate CCW code
sindx_mc : "" #Target for string

fstrsel sindx_cw indx_mc sindx_mc 2 -1

-----



Ok, one more thing. If the control def does not work and it will not index, check for this variable in your post:

use_rotmcode : 1 #Output M-Code for Axis direction (sindx_mc)
#0 = Signed direction (only valid when rot_type = 1)
#1 = M-Code for direction


set it to 1


Hope that helps.
 








 
Back
Top