[String definitions] smetric : "G21" #Metric code senglish : "G20" #Inch code sm04 : "M04" #Spindle reverse
[Pre-defined postblocks] psof$ #Start of file pheader$ #Header output pinit$ #Initialization block mastercam post editor
[Miscellaneous blocks] pwrtt$ #Write tool table pcan$ #Cancellation of canned cycles [String definitions] smetric : "G21" #Metric code senglish
arcoutput$ : 1 #0 = IJK, 1 = R, 2 = signed R, 3 = unsigned R Change to: 2 = signed R
1. Introduction to Mastercam Post Processors A post processor (or "post") is the critical bridge between Mastercam's toolpath data (NCI file) and the specific numerical control (NC) code required by a particular CNC machine tool. Without a correct post, the most perfectly programmed toolpath is useless.
ptlchg$ #Tool change "M06", *t$, e$