101 Intro To The MP Post Guide
101 Intro To The MP Post Guide
101 Intro To The MP Post Guide
MP Post Processor
Reference Guide
V olume 1
Basic MP Post Processing
Volume 1
Table of Contents
1 How to Use the MP Post Processor Reference Guide.................................................... 1-1
How to contact CNC Software ....................................................................................... 1-1
Additional resources ...................................................................................................... 1-2
2 Introduction to MP Post Processors................................................................................ 2-1
What is an MP post? ...................................................................................................... 2-1
How does an MP post work? ......................................................................................... 2-2
Post processing in greater detail.............................................................................. 2-3
Reading the NCI file................................................................................................. 2-3
Postblocks................................................................................................................ 2-4
What files do I need for the posting process? ................................................................ 2-5
The post customization file (*.PST).......................................................................... 2-5
The post text file (*.TXT) .......................................................................................... 2-5
The post bin file (*.PSB)........................................................................................... 2-6
The post executable file (*.DLL)............................................................................... 2-6
What are the components of the MP language?............................................................ 2-6
Variables .................................................................................................................. 2-7
String literals ............................................................................................................ 2-7
Command variables ................................................................................................. 2-8
Postblocks................................................................................................................ 2-8
Postlines .................................................................................................................. 2-8
Conditional branching ............................................................................................ 2-10
Mathematical operators ......................................................................................... 2-10
Formula functions .................................................................................................. 2-10
User prompts ......................................................................................................... 2-10
Post comments ...................................................................................................... 2-11
String select function.............................................................................................. 2-11
Lookup tables......................................................................................................... 2-11
Buffer files .............................................................................................................. 2-12
Support for subprograms and canned cycles ........................................................ 2-12
System numbered questions ................................................................................. 2-12
How is an MP post organized? .................................................................................... 2-12
Definition area........................................................................................................ 2-13
Postblock area ....................................................................................................... 2-14
System numbered question area ........................................................................... 2-14
February 2004
Volume 1
February 2004
Volume 1
Volume 1
February 2004
Volume 1
Volume 1
February 2004
Volume 1
Volume 1
February 2004
Volume 1
February 2004
Volume 1
February 2004
Address
Phone
(860) 875-5006
Fax
(860) 872-1565
Internet Address
http://www.mastercam.com
support@mastercam.com
Volume 1
Additional resources
Please email any comments, suggests and/or corrections to the MP Post documentation to
posts@mastercam.com
For an ongoing discussion of Mastercam-related topics, visit the eMastercam online forum at
www.emastercam.com
February 2004