Post Processor
- Edit Post Processor
- Feed Customization
- Line Numeration
- Custom Decimal Count
- Template List
- File Auto-Generation
- RS232 Communication
- Canned Cycles Templates
- G-Codes
- Example 1 - Lathe Axis C Customization
Post Processor Overview :
You can consider the nc-program as a sequence of phases , each phase has it's own template :
1. Initialization G-Code
1. Then for each operation
1. Tool change
2. Tool approach
3. List of movements that make up the toolpath, or in some cases macros (drilling, tapping, etc ..)
4. Tool disengagement
5. Finalization G-Code
For each of these phase it is called a template and a dictionary, from the union of these two elements I get the final code.
Templates List
Example :
Template :
{EMPTY_LINE}
{LINE_N}
({OP_DESC})
{RADIUS_COMP_INFO}
({TOOL_LABEL})
T{TOOL_POS}M6
{NEXT_TOOL_POS}
{FEED_MODE}
S{SPEED_VALUE}{SPINDLE_ORIENTATION}
{ORIGIN}
{COOLANT_CODE}
Dictionary :
LINE_N = N5
....
...
....
TOOL_POS = 15
NEXT_TOOL_POS = 10
FEED_MODE = G98
SPEED_VALUE = 2387
SPEED_ORIENTATION = M3
ORIGIN = G54
COOLANT_CODE= M8
Output Finale Code:
N5
(CONTOUR - ROUGHING)
(COMP COMPUTER - RADIUS COR VALUE 10)
(R390 D 20MM)
T15M6
T10
G98
S2387M3
G54
M8
Dictionary Convention :
To facilitate understanding of the parameters available in the dictionary , it has been used a convention for naming .
Suffix _CODE :
These are complete codes of both the literal and numeric part.
{FEED_CODE } => F.3
{SPEED_CODE } => S100
Suffix _VALUE :
In these entries it is only the numeric part.
{FEED_VALUE} => .3
{SPEED_VALUE} => 100