Post Processor
Post Processor
CAM
Post-processor for VISI 2024.3
Macro language variables
1
Post Processor
CAM.......................................................................................................................................................................... 1
Post-processor for VISI 2024.3 ................................................................................................................................ 1
Macro-language variables in Vero Post Processor........................................................................................ 6
Various ..................................................................................................................................................................... 6
Operation type - TYPM............................................................................................................................................. 9
Operation subtype - OPTYPE ................................................................................................................................ 12
General coordinates variables ............................................................................................................................... 14
General WorkFile & Project information variables ................................................................................................. 14
Fixed cycles variables ............................................................................................................................................ 15
Gun drilling parameters. ......................................................................................................................................... 16
Tools variables ....................................................................................................................................................... 21
Tooling Magazine Handling .................................................................................................................................... 24
Cutting condition variables ..................................................................................................................................... 26
Feed table in NC file. .............................................................................................................................................. 27
Face variables and management ........................................................................................................................... 30
Operation variables. ............................................................................................................................................... 38
MACOUT and MDRILL functions. .......................................................................................................................... 39
Mathematical function in macro-language and main syntax rules. ........................................................................ 46
String variable ........................................................................................................................................................ 49
Free user Variables ................................................................................................................................................ 50
Sub-program and label management ..................................................................................................................... 50
Drill group management SPLITD and DSPPRI ...................................................................................................... 52
Split the drill cycle SPLITG ..................................................................................................................................... 53
Commands for file management in VP .................................................................................................................. 54
Vero Post Processor rules to assign a name to NC file. ........................................................................................ 57
Vero Post Processor section list $..... . .................................................................................................................. 64
Vero Post Processor setting variables. .................................................................................................................. 68
Python use in Vero Post Processor. ...................................................................................................................... 69
Bounding box variable sets. ................................................................................................................................... 73
Tool-path bounding box: ........................................................................................................................... 73
Stock bounding box .................................................................................................................................. 74
First tool-path point ................................................................................................................................... 75
Helix variables. ....................................................................................................................................................... 77
Setting in Vero Post Processor ...................................................................................................................... 80
Range for spindle speed management. ................................................................................................................. 80
Arc Helix management Vp_Arc_Small_Tolerance, MAXRD, SPLITC. .................................................................. 81
NEW VARIABLES STARTING FROM VERSION 10.1 .................................................................................... 83
New SPLITD variable (for Drilling Obstacle Management) .................................................................................... 83
New ASSREF variable ........................................................................................................................................... 83
New MAXRD variable............................................................................................................................................. 83
New SISTER_TOOL Section ................................................................................................................................. 83
New Variable ENHWPL.......................................................................................................................................... 84
New VARIABILI XCX XCY XCZ YCX YCY YCZ ZCX ZCY ZCZ ........................................................................... 85
NEW VARIABLES STARTING FROM VERSION 11.2 .................................................................................... 86
New Variables HTOLL VTOLL ............................................................................................................................... 86
New Variables AXAXIS ABSREF ......................................................................................................................... 86
New Variable REMARK......................................................................................................................................... 86
NEW VARIABLES STARTING FROM VERSION 11.3 .................................................................................... 86
New Variable ASSREF .......................................................................................................................................... 86
NEW VARIABLES STARTING FROM VERSION 12.1 .................................................................................... 86
New Variable GUIDEP .......................................................................................................................................... 87
New Variable VOVERS ......................................................................................................................................... 87
New Variable HSTEP ............................................................................................................................................ 87
New Variable VSTEP ............................................................................................................................................ 87
New Variable VSTEPL .......................................................................................................................................... 87
NEW VARIABLES STARTING FROM VERSION 13 ....................................................................................... 88
New Variables for Helix management ................................................................................................................... 88
NEW VARIABLES STARTING FROM VERSION 13 .1 SP1 ........................................................................... 89
2
Post Processor
NEW VARIABLES STARTING FROM VERSION 14.0.02.07 .......................................................................... 90
New Variables for Toolpath Bounding Box .......................................................................................................... 90
NEW VARIABLES STARTING FROM VERSION 14.0.03.07 .......................................................................... 91
New Variable “SPLITG” to spilt Drilling cycles output ............................................................................................ 91
NEW VARIABLES STARTING FROM VERSION 15.0.02.08 .......................................................................... 92
New Variable to print the “Bounding box”model box” information.......................................................................... 92
New Variable to print special information at the start of the NC file ....................................................................... 93
New Variable ANGMOD to switch on/off the standard calculate routine for the Face angle. ................................ 93
NEW VARIABLES STARTING FROM VERSION 16.0 .................................................................................... 93
Increase Tool position number. .............................................................................................................................. 93
New variables to print the sum of the all operations post processed. .................................................................... 93
New variables to print the next tool. ....................................................................................................................... 93
New variable to print the tool path operation length. .............................................................................................. 93
New variable TLSDUP to print the TLIST with the duplicate tool........................................................................... 93
New variable to know the machine setting. ............................................................................................................ 93
New Default for Variable “ANGMOD” ..................................................................................................................... 94
New Variables to manage the rotation angle A and B ........................................................................................... 94
New Variable DSPPRI to manage the priority to create a sub program in the Drill Cycle ..................................... 96
New Variables to print in absolute the first toolpath position ................................................................................. 98
New Variables to print in relative the first tool-path position .................................................................................. 99
New Variables AGNROT to print the Rotation angle around Z. ............................................................................. 99
NEW VARIABLES STARTING FROM VERSION 16.0.02.09 ........................................................................ 100
Improvement the compensation management in XYZ movement. ...................................................................... 100
Coordinates printed check.................................................................................................................................... 100
New variables TYPEOR . ..................................................................................................................................... 101
NEW VARIABLES STARTING FROM VERSION 16.0.03.09 ........................................................................ 101
New variables FANGA, FANGB . ......................................................................................................................... 101
NEW VARIABLES STARTING FROM VERSION 16.0.04.09 ........................................................................ 102
New section sequence between drill cycle........................................................................................................... 102
NEW VARIABLES STARTING FROM VERSION 17.0 .................................................................................. 103
Improvement the sections checked by the “Coordinates printed check” . ........................................................... 103
Improvement the Helix approach for the Pock operation. .................................................................................... 104
Restored the section “$GOTO_Z_WRK” called in the Z approach move in Mill . ................................................ 105
Restored the tool change setting – TCM variables in the macro-language. ........................................................ 106
Restored the VAOPT management. .................................................................................................................... 107
Eliminate the assignment for the variables XT YT ZT in the section $STARTFACE . ......................................... 107
Add a new section $REMARK. ............................................................................................................................ 108
Add a new function to manage the operation sub-program STYPO. ................................................................... 108
Add a new function CHKOUT to disable the check of the Coordinates printed check. ....................................... 109
Add a new variables TLMES to print the tool name. ............................................................................................ 109
NEW VARIABLES STARTING FROM VERSION 17.0.09.09 ........................................................................ 110
Improvement to generate a empty line. ................................................................................................................ 110
NEW VARIABLES STARTING FROM VERSION 17.0.10.09 ........................................................................ 110
Feed table in NC file. ............................................................................................................................................ 110
Improvement in the function STYPO. ................................................................................................................... 114
Changed the default value on CHKOUT variable. ............................................................................................... 114
NEW VARIABLES STARTING FROM VERSION 17.0.11.09 ........................................................................ 115
New variable SNOANG – value of relative origin number. .................................................................................. 115
Restore the variable NBPTS. ............................................................................................................................... 115
New variable NBTETH. ........................................................................................................................................ 116
Restored the reset of Z value for a sub program manage by STYPM=1 or 2. .................................................... 116
NEW VARIABLES STARTING FROM VERSION 17.0.02.10 ........................................................................ 117
Improvement in variable TYPM. ........................................................................................................................... 117
New variables to define the approach\retract type – APPMET \ RETMET. ......................................................... 118
Improvement the unit check for the Vero Post interface. ..................................................................................... 119
Bug-fixing for the variables NSTA. ....................................................................................................................... 119
NEW VARIABLES STARTING FROM VERSION 17.0.03.10 ........................................................................ 120
Improvement in the stock bounding box management. ....................................................................................... 120
Chamfering improvement in ZL and XL. .............................................................................................................. 121
3
Post Processor
Improvement a new free customer variables in the macro-language. ................................................................. 121
Bug-fixing when elaborate a Drill operation that used a Mill Tool. ....................................................................... 121
New variable OFMODE. ....................................................................................................................................... 122
New variable INSPRG. ......................................................................................................................................... 123
Improvement the variable HOVERS, VOVERS, HSTEP, VSTEP and VSTEPL for the ISO Machining and
5axis operation. .................................................................................................................................................... 123
Improvement in the variables PARTMT. .............................................................................................................. 123
NEW VARIABLES STARTING FROM VERSION 17.0.04.10 ........................................................................ 124
New variables EDISRD. ....................................................................................................................................... 124
Bug-fixing in the feed-rate table functionality. ...................................................................................................... 124
NEW VARIABLES STARTING FROM VERSION 17.0.06.10 ........................................................................ 124
Bug-fixing for the project Stock bounding box calculation. .................................................................................. 124
NEW VARIABLES STARTING FROM VERSION 18.0 .................................................................................. 125
New functionality “MACOUT” to manage CNC pock/mill cycles. ......................................................................... 125
Extend the functionality of ZS and ZR to the milling operation. ........................................................................... 134
Restored the Drill Cycle management without the Face management. ............................................................... 135
Improvement in variable SPLITD. ........................................................................................................................ 136
New warning message box. ................................................................................................................................. 138
APPMET and RETMET improvement. ................................................................................................................. 140
NEW VARIABLES STARTING FROM VERSION 18.0.09.10 ........................................................................ 141
Improvement in the main sub-program management. ......................................................................................... 141
Improve to store the NC output filename . ........................................................................................................... 145
Improve in the function SPLITD. .......................................................................................................................... 146
Improve in the function MDRILL. .......................................................................................................................... 148
Improvement the SPLITD=2 in the function STYPC. ........................................................................................... 151
Improve a new variable “CYCRAP“ to print\don’t print the GOTO_xx_RAP in the Drill & MillDrill operations. .... 152
Improvement a new parameter, to manage a maximum value, for a split arc tolerance. .................................... 152
Bug-fixing in the variable NEXTT. ........................................................................................................................ 153
Link to NC Speed stand alone. ............................................................................................................................ 154
NEW VARIABLES STARTING FROM VERSION 18.0.11.10 ........................................................................ 158
Bug-fixing for the variables NBS. ......................................................................................................................... 158
Improvement the variable MACTOL for the new Aggregate operation. ............................................................... 158
Bug fixing for the drill cycle variables XL ZL. ....................................................................................................... 158
NEW VARIABLES STARTING FROM VERSION 18.0.02.11 ........................................................................ 158
New variables MINALN in macro-language. ........................................................................................................ 158
NEW VARIABLES STARTING FROM VERSION 19.0 .................................................................................. 159
Improvement in function SPLID=2. ...................................................................................................................... 159
New variable CYCCLE. ........................................................................................................................................ 160
Bug-fixing on T variable printed in channel #18 @18. ......................................................................................... 160
New parameter to change the default NC filename. ............................................................................................ 160
New group management functionality. ................................................................................................................. 162
New variable SECSEQ......................................................................................................................................... 165
Improvement in the command WRT_FORM. New variable LINNUM. ................................................................ 166
Improvement in the command TLSDUP. ............................................................................................................. 166
Modify in SPLITD and DSPPRI management. ..................................................................................................... 167
Add a safety check, test if value exceed the limit for given channel. ................................................................... 167
NEW VARIABLES STARTING FROM VERSION 19.0.09.11 ........................................................................ 168
Improvement in function MACOUT. ..................................................................................................................... 168
Improvement the string variables available in macro-language. .......................................................................... 169
New variable CCFUNC. ....................................................................................................................................... 169
NEW VARIABLES STARTING FROM VERSION 19.0.11.11 ........................................................................ 169
Improvement in function MACTOL. ...................................................................................................................... 169
New parameter TAPPTY. ..................................................................................................................................... 169
New parameter CDIAM. ....................................................................................................................................... 169
NEW VARIABLES STARTING FROM VERSION 19.0.02.12 ........................................................................ 170
Improvement a new parameter NOCHANCHK. ................................................................................................... 170
Improvement in DELETE and RENAME command . ........................................................................................... 170
Bug fixing in recall $STARTFACE. ....................................................................................................................... 170
Bug fixing in Store NC name. ............................................................................................................................... 170
4
Post Processor
Bug fixing to print integer figure when "number of integer figures”>7. ................................................................. 170
NEW VARIABLES STARTING FROM VERSION 20.0 .................................................................................. 171
Improvement Python call in macro-language. ...................................................................................................... 171
Improvement in STYPM=1 or 2. ........................................................................................................................... 171
C store filename automatically manage the extension change............................................................................ 172
Improvement in CLOSE command. ..................................................................................................................... 172
New section EXITPP. ........................................................................................................................................... 172
Bug-fixing in TTIME, PTIME, TTIMEA and PTIMEA. ........................................................................................... 172
Improvement in time calculation, for rapid and 3D rapid movements in tool-path. .............................................. 173
New variables RTIME,MTIME and LENR. ........................................................................................................... 173
Bug-fixing in WRT_FORM. ................................................................................................................................... 174
Improvement the new 5axis tool type. .................................................................................................................. 174
Improvement in variable R . ................................................................................................................................. 174
Improvement in NBPTS........................................................................................................................................ 174
Improvement in Post Processor DEBUG mode. .................................................................................................. 174
Add a new variable OPTYPE. .............................................................................................................................. 175
Bug-fixing in Drill Cycle management in ABS reference. ..................................................................................... 175
NEW VARIABLES STARTING FROM VERSION 20.0.11.12 ........................................................................ 176
Improvement in CAM Setup and project information. .......................................................................................... 176
NEW VARIABLES STARTING FROM VERSION 21.0 .................................................................................. 178
Improvement, to generate sub-programs, also with only one repetition. ............................................................. 178
Improvement for the incremental coordinates managements. ............................................................................. 178
Improvement for sub-programs managements. ................................................................................................... 179
New variable RTCP to manage this machine configuration. ................................................................................ 179
New value for TLSDUP. ....................................................................................................................................... 180
NEW VARIABLES STARTING FROM VERSION 2016 R1 ........................................................................... 180
Improvement in function STYPM. ........................................................................................................................ 180
Extended the value management functionality in incremental mode. .................................................................. 180
NEW VARIABLES STARTING FROM VERSION 2016 R2 ........................................................................... 181
Bug-fixing in variables ZL. .................................................................................................................................... 181
Improvement in alert message. ............................................................................................................................ 181
NEW VARIABLES STARTING FROM VERSION 2017 R1 ........................................................................... 181
Enhancement MACTOL for 2.5axis operation. .................................................................................................... 181
Enhancement for incremental programming. ....................................................................................................... 182
NEW VARIABLES STARTING FROM VERSION 2017 R2 ........................................................................... 182
Enhancement new parameter for MACOUT and MDRILL management. ............................................................ 182
NEW VARIABLES STARTING FROM VERSION 2019 R1 ........................................................................... 182
Change in debug parameter DEBDP behaviour. ................................................................................................. 182
New parameter CMPTOL. .................................................................................................................................... 183
Bug-fixing for “SPLITG” parameter. .................................................................................................................... 184
MAXRD function improve also for helix geometry. .............................................................................................. 184
Bug fixing for Chamfering parameter in macro language. ................................................................................... 185
NEW VARIABLES STARTING FROM VERSION 2020.0 .............................................................................. 185
New flag parameter MOVNMG. ........................................................................................................................... 185
Bug fixing for Helix feed table management. ....................................................................................................... 186
New parameters KINBAS, NAXES and AXCONF. .............................................................................................. 186
NEW VARIABLES STARTING FROM VERSION 2020.1 .............................................................................. 188
New parameter for gun drilling option. ................................................................................................................. 188
NEW VARIABLES STARTING FROM VERSION 2021.0 .............................................................................. 191
New parameter for gun drilling option. ................................................................................................................. 191
NEW VARIABLES STARTING FROM VERSION 2023.1.2328 ..................................................................... 196
New parameter for print Workf information. ......................................................................................................... 196
NEW VARIABLES STARTING FROM VERSION 2024.3 .............................................................................. 196
New parameter for print machining tolerance and side and bottom allowance for 3to5 and autotilting
operation. ............................................................................................................................................................. 196
5
Post Processor
6
Post Processor
56 manual technology
99 null
ZMIN minimum Z level, reached by tool. This variable print the minimum Z reached by the tools from
starting to the current toolpath position, so its value depends also on operations before the
current one.
LENW total working tool length (cutting LENgth Working). In this value is also called the 3D rapid
movement length and not the normally rapid movements (print from a following variable).
LENR total rapid tool length (cutting LENgth Rapid).
LEN length of a last movement. Normally used in $GOTO_... sections or other movement sections.
Store only the length of one movement.
TTIME Total time. When generate a NC file, Vero Post Processor calculates and store the tool feed
time in this variable. Manage also the 3D rapid in feed mode.
To print the all operations tool feed time, we must used item on the “$ENDPP” section. If you
use this variable, at the end of operation, you print the partial time. We can’t use this variables
with “SPLITC=1 or 2” and “SPLITM=1 or 2”, the value print is wrong.
The advice sections to use this variable are:
• $OPERATION_END – print the partial tool feed time, up to that operation.
• $ENDPP – print the total tool feed time.
• $END – print the total tool feed time.
RTIME Rapid Time. When generate a NC file, Vero Post Processor calculates and store the tool rapid
time in this variable. The rapid feed used is store in the machine parameters.
To print the all operations tool feed time, we must used item on the “$ENDPP” section. The
advice sections to use this variable are:
• $OPERATION_END – print the partial tool rapid time, up to that operation.
• $ENDPP – print the total tool rapid time.
• $END – print the total tool rapid time.
MTIME Machining Total time. When generate a NC file, Vero Post Processor calculates and store the
tool feed time + 3D rapid time + rapid time.
To print the all operations total machining time, we must used item on the “$ENDPP” section. If
you use this variable, at the end of operation, you print the partial time.
The advice sections to use this variable are:
• $OPERATION_END – print the partial tool feed time, up to that operation.
• $ENDPP – print the total tool feed time.
• $END – print the total tool feed time.
PTIME Partial time. This variable is equal to the TTIME, but it’s reset each tool change (its value is
reset in the $STARTOOL section). We can’t use this variables with “SPLITC=1 or 2” and
“SPLITM=1 or 2”, the value print is wrong. Manage also the 3D rapid in feed mode.
The advice sections to use this variable are:
• $ENDTOOL – print the partial tool feed time
• $END – print the partial tool feed time
• $OPERATION_END – print the partial tool feed time
TIME machining sequential time (block by block). To print the total\tool time at the start of NC file,
you must use the following parameters:
7
Post Processor
PTIMEA contains the single operation tool feed time, read from a tool-path. This value is equal to the
Visi-Machining tool-path query “?”. The advice sections to use this variable are:
• $STARTPP – print the first operation feed time
• $OPERATION_BEGIN – print the next operation feed time
TTIMEA contains the sum of all operations time, read from a tool-path. This value is equal to the Visi-
Machining tool-path query “?”.The advice section to use this variable is:
• $STARTPP – print the total feed time
DATE print the data of NC file creation with next format day/month/year.
If we need to print the date in different format for example month/day/year we can use the
next macro-language line commands.
STRPRINT(STRNA,DATE[4-6],DATE[1-3],DATE[7-]);
@1N "(PROGRAMMED DATE : " STRNA ")";
8
Post Processor
9
Post Processor
Complex surface machining (ex 336 Available from 13.1 – Expired in 16
undercut) 62
ISO-Machining 336
Adaptive Roughing 147 64 Available from 14
Engraving Machining 63 Available from 14 – Expired in 19
Expired in 16
Milling By Successive Passes 3
241 Expired in 16
Pocketing Spiral
807 Available from 16 – expired in 21
Hs pocketing
808 Available from 16 – expired in 21
Hs face mill
241 Available from 21
Pocket classic D45 4
259 Available from 21– expired in VISI 2019
Facemill classic D45
4006 R1
Facemill
4001 Available from VISI 2019 R1
Pocketing
Available from 2017 R1
Gen Pocketing Zig Zag 241 4 Available from 16 – expired in 21
Gen Pocketing not Zig Zag 241 5 Available from 16 – expired in 21
Pocketing Zig Zag 241 5 Expired in 16
Quick Pocketing 241 6 Expired in 16
Facemill Spiral 241 7 Expired in 16
Facemill Zig Zag 241 8 Expired in 16
Facemill by Points
9 Expired in 16
Manual operation
10
Post Processor
Drilling Cycles 150 10
Gun Drilling 150 50 From release 12.2
Plane Section 244 Expired in 16
Gen Plane Section 244 11 Available from 16 – expired in 21
Gen Profile & section D45 263 Available from 21
Revolution 257 Expired in 16
Gen Revolution 257 12 Available from 16 – expired in 21
Gen Revolution D45 257 Available from 21
Open Pock 241 13 Expired in 16
Extrusion 256 Expired in 16
Gen Extrusion 256 14 Available from 16 – expired in 21
Gen Extrusion D45 256 Available from 21
Helicoidal Mill 255 Expired in 16
15
GEN Helicoidal Mill 255 Available from 16 – expired in 21
Mill Thread 258 Expired in 16
Gen Mill Thread 258 Available from 16 – expired in 21
16
HS Mill Thread 809 Available from 16 – expired in 21
Mill Thread D45 258 Available from 21
Blending 242 Expired in 16
Gen Blending 242 17 Available from 16 – expired in 21
Gen Blending D45 263 Available from 21
Chamfer 243 Expired in 16
Gen Chamfer 243 Available from 16 – expired in 21
18
Gen Chamfer D45 262 Available from 21
Chamfering 4005 Available from 2018 R1
Mill Drill 240 19 Expired in 16
11
Post Processor
3D
Roughing V21 562 Available from 21.0
HM rib machining 2102 Available from 19.0.09.11
HM roughing 2103 Available from 19.0.09.11
HM constant Z 2104 Available from 19.0.09.11
Adaptive roughing 147
12
Post Processor
Waterline evo V21 501 Available from 21.0
Const Z hybrid V21 2104 Available from 21.0
Planar V21 544 Available from 21.0
Constant step V21 522 Available from 21.0
ISO-Machining 336
Raster restV21 561 Available from 21.0
Waterline rest V21 560 Available from 21.0
Rest material 401
Pencil 402
Advanced rest mat 2106 Available from 2018 R2 (preview) and released in 2022.1
Converted to
299
CxCyCz
5axis 333
4axis 334
Auto tilting
335
Converted to 5ax
3to5 axis (beta) 2109 Available from 2022.1
Advanced Raster
2107 Available from 2022.1
(beta)
Advanced Waterline
2110 Available from 2022.1
(beta)
Standard 3D operation
Rough 148
Deep Cavity-
Roughing
Raster 149
Constant Z 125
Deep Cavity-
Constant Z
Planar faces 144
Aggregate 2000
Constant stepover 122
Tracing 3D 119
-Relatedtopics-
#Add a new variable OPTYPE.
13
Post Processor
Various
General coordinates variables
14
Post Processor
n.b.
The coordinates XS,YS,ZS,XL,YL,ZL,XR,YR,ZR are calculate in the ABS plane.
-Related topics-
#Bug fixing for the drill cycle variables XL ZL.
#Restored the Drill Cycle management without the Face management.
15
Post Processor
GDRILL = Gun DRILL method 0=Never (default value) 1=Always or ratio (when gun drilling is
activated). The combo box has 3 value but this parameter is used to indicate if gun drilling is
ON or OFF.
GDRSPH = Gun Drill Reduce Speed in Pilot Hole flag
GDSPIL = Gun Drill Speed in PILot hole
GDREVP = Gun Drill REVersed rotation in Pilot hole
EDISRD = gun drill Entry DIStance at ReDuced f/s ( % )
GDSLOD = Gun Drill SLOwing Distance (%)
GDSPED = Gun Drill SPEeding Distance (%)
GDESPD = Gun Drill Extra SPeeding Distance
GDRFSD = Gun Drill Reduce Feed within Speeding Distance flag
GDSLOF = Gun Drill SLOwing delta F (%)
GDSLOS = Gun Drill SLOwing delta S (%)
GDRFHB = Gun Drill Reduce Feed at Hole Bottom flag
GDSDHB = Gun Drill Slowing Distance at Hole Bottom (%)
GDDHBF = Gun Drill Disengage Hole Bottom Flag
GDTDHB = Gun Drill Tool Disengage Hole Bottom
GDRCOF = Gun Drill Retraction Coolant Off Flag
GDRCOD = Gun Drill Retraction Coolant Off Distance (%)
GDFFRF = Gun Drill Feed in Final Retraction Flag
GDPOPT = Gun Drill Points OPTimisation
16
Post Processor
The geometric feature and the tool-path parameters are print in macro language section
“$GUNDRILLING_START”.
17
Post Processor
$GUNDRILLING_START
18
Post Processor
$GUNDRILLING_DRILL
19
Post Processor
$GUNDRILLING_END
-Related topics-
New variables EDISRD.
New parameter for gun drilling option 2020.1.
New parameter for gun drilling option 2021.0.
20
Post Processor
Tools variables
ALFA is used in the different sections to print always description (tool name, operation type, remark
etc.).
ASSREF print in the ISO file the “Tool Holder Assembly” name.
D tool diameter.
CANG tool tip angle
CDIAM tool tip diameter
CH tool safety distance.
CLNT coolant type of coolant.
0 = off
1 = Jet
2 = Fog
3 = Center
4 = Jet + Fog + Cent
5 = Jet + Fog
6 = Jet + Cent
7 = Fog + Cent
8--->xxx free user define
CORRD diameter corrector number.
CORRL length corrector number.
GUIDEP print in the ISO the information about the Tool guide point.
=0 means Tool Tip
=1 means Tool Centre
T tool number.
TCM indicator of tool change 0=manual / 1=automatic.
TLEN tool length.
NBTCH total number of tool changes.
NEXTT next tool number.
NTLRF print the value of TLREF for the next tool
NTLRFB print the value of TLREFB for the next tool
R tool radius. Print a tool tip fillet radius for a following tools type:
7,Corner rounding cutter. DBT_MILL_CORNER_ROUND
8,Ball nose cutter. DBT_MILL_BALL_NOSE
9,Radiused cutter. DBT_MILL_RADIUSED
16,Ball conic cutter DBT_MILL_BALL_CONIC
17,Lollipop cutter DBT_MILL_LOLLIPOP
18,Radiused T-slot cutter DBT_MILL_RADIUSED_TSLOT
19,Bull conic cutter DBT_MILL_BULL_CONIC
20,Radiused Dove cutter DBT_MILL_RADIUSED_DOVE
21,Barrel cutter DBT_MILL_BARREL
22,Convex Tip cutter DBT_MILL_CONVEX_TIP
23,Radiused chamfer cutter DBT_MILL_RADIUSED_CHAMFER
21
Post Processor
TLIST print the list of all used tool in the NC file. The Tool is sort for position number. In the macro-
language we must create the section $TOOLLIST.
TLSDUP change the function of TLIST.
= 0 – TLIST print the tool list without the duplicate tools, sort in ascending
= 1 – TLIST print the tool list with the duplicate tools, sort in ascending
= 2 – TLIST print the tool list with the duplicate tools, sort equal to CAM Navigator tree
= 3 – TLIST print the tool list without the duplicate tools, sort equal to CAM Navigator
tree
= 4 - TLIST print the tool list of project tool crib
TLREF print the internal code1 (Tool_InternalCode1)
TLREFB print the internal code2 (Tool_InternalCode2)
TLSUPP print the tool supplier code 1 (Tool_SupplierCode1)
TOOLMT print tool material
TOVERH print the value associated to the “Overhang length” variable.
TPRSET print the value associated to the “ Presetting length” of the tool.
TLMES print the tool name when the variable ALFA have other message called.
TLTS tool subtype.
for drilling.
0,Centre drill DBT_DRILL_CENTRE
1,Drill DBT_DRILL_HELICOIDAL
2,Chamfering drill DBT_DRILL_POINTER
3,Flat bottom drill DBT_DRILL_PLANE
4,Drill 2 diameters DBT_DRILL_TWODIAM
5,U drill DBT_DRILL_SPADE
6,Spade drill DBT_DRILL_MAXTYPES
for milling
0,Face mill – insert DBT_MILL_MILLCUT_EI
1,Facemill DBT_MILL_MILLCUT_SEI
2,Slot drill. DBT_MILL_SLOT_DRILL
3,End mill. DBT_MILL_END_MILL
4,T-Slot cutter. DBT_MILL_T_SLOT
5,Counterbore cutter. DBT_MILL_COUNTERBORE
6,Chamfering cutter. DBT_MILL_CHAMFER
7,Corner rounding cutter. DBT_MILL_CORNER_ROUND
8,Ball nose cutter. DBT_MILL_BALL_NOSE
9,Radiused cutter. DBT_MILL_RADIUSED
10,Diesinking cutter. DBT_MILL_CONIC
11,Routing cutter. DBT_MILL_ROUTER
12,Special. DBT_MILL_SPECIAL1
13,Back spotfacing cutter. DBT_MILL_BACKSPOT
14,Dovetail cutter. DBT_MILL_REV_CONIC
15,Rip-r cutter. DBT_MILL_SLOT_DRILL_ROUGH
16,Ball conic cutter DBT_MILL_BALL_CONIC
17,Lollipop cutter DBT_MILL_LOLLIPOP
18,Radiused T-slot cutter DBT_MILL_RADIUSED_TSLOT
22
Post Processor
for reamer.
0,Reamer DBT_REAM_FIXEDDIAM
1,Adjustable reamer DBT_REAM_ADJDIAM
2,Boring bar DBT_REAM_BORINGBAR
for tapping
0,Tap DBT_TAPP_TAPPING
1,Mill thread DBT_TAPP_MILLTHREAD
23
Post Processor
Generalised Post Processor give the possibility to choose how organise a specific tooling magazine
for each machine by yourself.
To organise it you need a special file where you save all the information associated to each tool that
you are going to use.
This file should be call with the same name of the file configuration that you are using, but with a
different extension “.TEC”:
i.e.
the configuration file FANUC0M.CFG can read only a file called FANUC0M.TEC
...same name, different extension.
How take this information inside the post processor file configuration?
Suppose that we need a file like follow:
In $STARTTOOL section, if the file XXX.TEC exist and the variable TFILE=1 automatically the
program initialise the following variables with the data stated
24
Post Processor
TLCG => position 7 value
TLCH => position 8 value
TLCI => position 9 value
TLCL => position 10 value
Example:
If we are using the tool with reference E20100CN , TLCA will be 8, TLCB will be 7 and TLCC will be
18
25
Post Processor
Rough TFUNC =1
Semi Finishing TFUNC =2
Rough + Semi Finishing TFUNC =4
Finishing TFUNC =3
Rough + Finishing TFUNC =4
Semi Finishing + Finishing TFUNC =4
Rough + Semi Finishing + Finishing TFUNC =4
If customer manually create the tool and don’t load item from Vero Tool DB, TFUNC=0.
CCFUNC - print the value of TOOL setting stored in the operation cutting conditions.
Roughing CCFUNC = 1
semi-finishing CCFUNC = 2
Finishing CCFUNC = 3
26
Post Processor
$FEEDLIST
'Automaticaly numbering
'@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR ";" "(" #50 @50FMOV ")"
'Automaticaly numbering without remark for the movement type
'@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR ";"
'write the variables with a notes of the movement type
'assignement to FIDX a customization value for the FMOV type, vara is a security value to manage the double
Working Feed
(FMOV==19)? FIDX=1 'Feed into material - Approch feed in Z
(FMOV==16)? FIDX=2 'Approch feed
(FMOV==01)?( vara==0)? FIDX=3 'Working feed
(FMOV==01)?( vara>0)? FIDX=VFI+10 'Working feed
(FMOV==03)? FIDX=7 '5axis Transition feed
(FMOV==32)? FIDX=4 'Retract feed
(FMOV==33)? FIDX=5 'Retract feed in Z
(FMOV==09)? FIDX=6 'Optimized rapid feed
(FMOV==01)? vara= vara +1
(FMOV==19)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Feed into material - Approch feed in Z : "
(FMOV==16)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Approch feed :"
(FMOV==01)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Working feed :"
(FMOV==03)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; 5Axis Transition Feed :"
(FMOV==32)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Retract feed :"
(FMOV==33)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Retract feed in Z :"
(FMOV==09)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Optimized rapid feed :"
27
Post Processor
1: Feed (mm\min)
Than you will need to print the feed-rate variables where needed:
$GOTO_XY_WRK
@1N #2 @2(0) @5X @6Y @35(0) @16F @50FIDX
You must remove the old command to print the feed and add the new channel and variables.
28
Post Processor
The channels #50, #51 and #52 use in the example, to print the feed-rate variables and the values aren’t
obligatory they are only an advice.
Note
The Vero Post Processor check the feed-rate sated in the NC file and automatically assign the incremental
number by the variable FIDX. Not all operation uses the same type of feed.
The manual feed change adds in the tool-path by the command “Edith tool-path” are elaborate in the
execution sequence.
You can use the variable TYPM to activate\deactivate the feed table function for a different operation type.
29
Post Processor
Plane management
The Cam Setup parameter “Work-plane relative coordinates” manage the call of the different
“Function and format plane”.
XY Z- = plane 0 G17
YZ X- = plane 1 G19
XZ Y- = plane 2 G18
XY Z+ = plane 3
YZ X+ = plane 4
XZ Y+ = plane 5
30
Post Processor
$START_PF_COR_LFT
(AXES>=0)?(AXES<=2)? VP=41
(AXES>=3)?(AXES<=5)? VP=42
@1N @2(1) @3(VP) @5X @6Y @7(Z) @30(CORRD+VB) FEED SPEED
VP=0
$START_PF_COR_RGT
(AXES>=0)?(AXES<=2)? VP=42
(AXES>=3)?(AXES<=5)? VP=41
@1N @2(1) @3(VP) @5X @6Y @7(Z) @30(CORRD+VB) FEED SPEED
VP=0
$PF_ARC_XY_CCW
(AXES>=0)?(AXES<=2)? VP=3
(AXES>=3)?(AXES<=5)? VP=2
@1N #2 @2(VP) #5 @5X #6 @6Y #21 @21(XC-XOLD) #22 @22(YC-YOLD) FEED SPEED
VP=0
$PF_ARC_XY_CW
(AXES>=0)?(AXES<=2)? VP=2
(AXES>=3)?(AXES<=5)? VP=3
@1N #2 @2(VP) #5 @5X #6 @6Y #21 @21(XC-XOLD) #22 @22(YC-YOLD) SPEED FEED
VP=0
Project parameters.
REFWPF
REFWP
31
Post Processor
Machine parameters.
These parameters allow to know the main machine parameters setting.
They are useful to change the NC output according to the machine configuration.
KINBAS
NAXEX AXCONF
32
Post Processor
VAOPT Virtual angle method
ZX [quadrant] =0
ZY [quadrant] =1
Z(-X) [quadrant] =2
Z(-Y) [quadrant] =3
ZX =4
ZY =5
Z(-X) = 6
Z(-Y) = 7
The VAOPT default value is 0.
With these 2 variables, it’s possible to control directly the parameters available in the machine configuration.
These new parameters have priority to the following machine setting, present in the version V15 and
following.
ABSREF
RTCP
Tool parameters
33
Post Processor
XT YT ZT
34
Post Processor
35
Post Processor
VAOPT
ALFA
ORIG
SNOANG
AXES
MECANG
A B
AERR BERR
ANGSYN
AV BV
AGNROT
REFWS
36
Post Processor
The 3 angles that describe the orientation of CAM setup in the Cartesian space (Euler angles) are print in the
follow parameters. In VISI user can display this angle with the command “Tip data”.
-Related topics-
#New VARIABILI XCX XCY XCZ YCX YCY YCZ ZCX ZCY ZCZ
#New Variables AXAXIS ABSREF
#New Variable ASSREF
#New Variables ANGROT to print the Rotation angle around Z.
#New variable to know the machine setting.
#New Default for Variable “ANGMOD”
#New Variables to manage the rotation angle A and B
#New Variables to print the Virtual angles pair.
#Restored the VAOPT management.
#Eliminate the assignment for the variables XT YT ZT in the section $STARTFACE .
#New variable SNOANG.
37
Post Processor
Operation variables.
The variable “REMARK” allows to print in the ISO file the operation Comment
The variable “HOVERS” allows to print in the ISO file the value set for “side allowance”.
The variable “VOVERS” allows to print in the ISO file the value set for “bottom allowance”.
The variable “HSTEP” allows to print in the ISO file the value set for “Horizontal Step over”.
The variable “VSTEP” allows to print in the ISO file the value set for “Vertical Step down”.
The variable “VSTEPL” allows to print in the ISO file the value set for “Last Pass Z” . Please not that this is
used only by 2D operations.
The variable “MACTOL” allows to print in the ISO file the value set for “V3AX_StepMachTolerance” and
“V2AX_StepMachTolerance”.
This information is useful for a CNC machine that need to optimized the speed and feed on tool-path
generated as curves.
This parameter is available on all 3 axis operations and on new 2.5 axis operations.
• Pocketing. OPTYPE=4001
• Profiling. OPTYPE=4002
• Remachining. OPTYPE=4004
• Chamfering. OPTYPE=4005
-Related topics-
#New Variable HOVERS
#Improvement the variable HOVERS, VOVERS, HSTEP, VSTEP and VSTEPL for the ISO Machining and
5axis operation.
38
Post Processor
$CYC_MDRILL_PIC
This function generates a special NC output file that calls a pock/mill macro using the CNC language.
This is useful to transform a standard tool-path for a
figure (rectangle, slot and hole) in a single CNC
macro.
Using this NC output the machine worker can easily
modify the main operation parameter (step over, step
down, oversize, tool diameter etc.).
Some new macro-language variables have been created to allow the generation and personalization of pock
machine cycles:
MACOUT MACro OUTput: 0 or 1
0=macro disable
1=macro enabled
You can insert this variable in the macro-language or in the PP INFO of the operation cutting condition.
39
Post Processor
CHAMFER (in this case the variables ZL describe the chamfer depth) (this operation call the Mill macro
sections)
FILLET (this operation call the Mill macro sections)
When Cam can’t compute a toolpath for all features, Vero Post can anyway create the macro for all features,
but a warning message box is displayed to indicate this critical condition. Obviously in this case the needed
sections must be present to generate a valid output.
If there aren’t the needed sections in the macro-language, the Vero Post will output the standard toolpath
movements.
The Mill multi-passes use a specific section, if the CNC macro doesn’t manage the mill multi-passes, we can
remove these sections to obtain a normal output without macro management.
40
Post Processor
0=BLIND
1=THROUGH
4=CONIC TIP
5=BOTTOM RADIUS
-Related topics-
Improvement in function MACOUT.
Enhancement new parameter for MACOUT and MDRILL management.
41
Post Processor
42
Post Processor
PocK ReFerence 'O' point (left bottom point before the rotation)
PKRFOX
PKRFOY
PKRFOZ
43
Post Processor
Slot parameters:
PKLEN PocK LENgth
PKWIDT PocK WIDTh
PKDPTH PocK DePTH
PKROT PocK ROTation angle
44
Post Processor
Circular parameters:
PKDIAM PocK DIAMeter (circular pock)
PKDPTH PocK DePTH
45
Post Processor
NODEF is a numerical user free variable, usually is set equal to 999999. Value that indicate that a
parameter is not defined. This variable is used to make macrolanguage test more
understandable.
For example tool change position has not been set it is possible to test
NODEF=999999
. . . . .
(ZT=NODEF)?
46
Post Processor
The following INSTRUCTIONS are specific statements to indicate the FUNCTIONS output for block
generation.
@ nnVAR or @nn(mm)
Combines numerical values with an output symbol which is associated by a specific channel.
@ symbol to indicate a channel.
nn channel number to be recalled.
VAR numeric variable whose value has to be combined with the
recalled channel function
(mm) constant value to be combined with the recalled channel function.
EXAMPLE:
The channel 5 is combined with the symbol X .
@5(100) the post processor produces X100
@5X The variable X represents a PROCESSOR co-ordinate
X ( eg.X=20).
the post processor produces X20
#nn
Forces the output in the next block @nn(mm) or @nnVAR for the function and the value combined
by a specific channel(nn). This is the case of non modal functions that must be outputted also if they are
the same as the previous.
# character to select the channel.
nn channel number to force the output.
EXAMPLE.
@5(100) the post processor produces X100
#5 @5(100) the post processor again produces X100
#nn=VAR or #nn=mm
Forces the value combined with channel nn to the value mm or a specifiied variable value. This is
a case where you know that there is a function that will be generated because it has a different value with
respect to the previous one but you do not want to output it.
# character to select the channel.
nn channel number to be forced.
= assignment.
VAR numeric variable whose value is assigned to the specified channel.
(mm) numeric value to assign to the specified channel.
EXAMPLE.
#5=7 @5(7) in the post processor the symbol X combined with the
value 7 will not be generated because the channel 5 has already been
assigned the value 7 with the instruction #7=5.
47
Post Processor
VAR=#nn
Assignment of a variable to the last numeric value used by the
channel nn (old value of nn).
VAR generic variable to which the old value of the channel nn will
be assigned.
= assignment.
#nn old value for the nn code nn.
“xxxx”
Generation of a string by a fixed set of characters.
‘ comment
the ‘ character indentifies the start of a comment.
Example:
Check if a value of Z has a decimal or is an entire number
((INT(Z))==Z)?"print the following command if it’s ENTIRE number"#7 @7(Z)
((INT(Z))<Z)? "print the following command if it isn’t ENTIRE number"#7 @7(Z)
or you can write in this other mode
((INT(Z))==Z)?”if it’s entire”… : “if it isn’t entire”;
-Related topics-
New parameter CMPTOL.
48
Post Processor
String variable
ALFA is used in the different sections to print always description (tool name, operation type, remark
etc.).
EDIT print a remark input by customer during the Post Processor execution. This command can be
inserting in middle to other command. Ex. @28VT "(" EDIT "-" WORKF ")"
During the pp execution, Post Processor ask the input string and display the previous line |
O1 ( |
TLMES print the tool name when the variable ALFA have other message called.
STRPRINT This command allows to create in the ISO code a personalised string taking the information
from the fixed variables WORKF, PRJ, GRPNAM, “…user string…”.
As for the “Main filename” also for the STPRINT command it is possible to identify the
character to extract from the original string using the instruction [from-to] (example:
[3]extract the 3rd character, [-3] extract from start to 3rd character, [3-] extract from 4th
character to end.
It is possible to define 3 different string in the same macro-language by using the following
variables:
STRNA STRNB STRNC STRND STRNE STRNF STRNG STRNH STRNI STRNK STRNJ
STRNL STRNM STRNN STRNO STRNP
STRPRINT(STRNA, PRJ[3],"00-
99\",PRJ[5],"_cam\",PRJ[9],"\",PRJ,"_",GRPNAM,".jt")
STRINA: defines the first available string
PRJ[3]: extracts the 3rd letter from the project name (“A”)
“00-99\”: print exactly this (user) string
PRJ[5]: extracts the 5th letter from the project name (“6”)
“_cam\”: print exactly this (user) string
PRJ[9]: extracts the 9th letter from the project name (“3”)
“\”: print exactly this (user) string
PRJ: extracts the all letters from the project name (“P-AA6MOD3”)
“_”: print exactly this (user) string
GRPNAM: extracts the all letters from the group name (“TOP-PIECE”)
“.jt”: print exactly this (user) string
A00-996_cam\3\P-AA6MOD3_TOP-PIECE.jt
49
Post Processor
-Related topics-
#Improvement a new free customer variables in the macro-language.
0 1 2 3 4
STYPC only for no labels on cycle subprogram on
drill operation label/subprogra cycle
m
STYPM only for no labels on subprogram on labels on subprogram on
mill operation label/subprogra mill/pock mill/pock mill/pock mill/pock
m
STYPM function manage specific section in macro language to create label/sub-program for 2.5axis mill and
pock operation type.
There are 2 type of tool-path the mill/pock D45 (start from VISI 2016 R1) and mill/profiling/pocketing.
The value 1 and 2 use the following sections for mill/profiling/pocketing.
$START_SUB_MILL
$END_SUB_MILL
$CALL_SUB_MILL
For mil/pock D45 is used the following sections. If there is not these sections label/sub-program are not
manage.
$START_SUB_MILL_ENH
$END_SUB_MILL_ENH
$CALL_SUB_MILL_ENH
The value 3 and 4 use the following sections for all tool-path type.
$START_SUB_MILL
$END_SUB_MILL
$CALL_SUB_MILL
50
Post Processor
Note.
Main rules to use the function STYPC, STYPM and STYPO:
• These variables must be set in 'OPERATION_BEGIN' section (or before)
• These variables can’t be modified between 'OPERATION_BEGIN' and 'OPERATION_END' sections.
• During the same Vero Post execution these variables can be set to 1 or to 2; options can’t be mixed
together.
• If these variable is set to 2 and then is modified during execution, it must be set again to 2 in ‘ENDPP’
section (or before). If variable is set to 1, is not necessary set it again to 1 in 'ENDPP' because it is
managed differently.
-Related topics-
#Drill group management SPLITD and DSPPRI
#Improvement in the function STYPO.
#Restored the reset of Z value for a sub program manage by STYPM=1 or 2.
#New Variable to manage the priority to create a sub program in the Drill Cycle
#New variable INSPRG.
#Bug-fixing for the variables NBS.
# Improvement in STYPM=1 or 2.
# Improvement for sub-programs managements.
# Improvement in function STYPM.
#Modify in the STYPM, STYPC and SPLITD.
51
Post Processor
-Related topics-
#New Variable DSPPRI to manage the priority to create a sub program in the Drill Cycle
#New SPLITD variable (for Drilling Obstacle Management)
#Improve a new variable “CYCRAP“ to print\don’t print the GOTO_xx_RAP in the Drill & MillDrill operations.
#Improve in the function SPLITD.
#Improve in the function MDRILL.
#Sub-program and label management
#Improvement in function SPLID=2.
#Improvement the SPLITD=2 in the function STYPC.
#New variable CYCCLE.
#Modify in the STYPM, STYPC and SPLITD.
52
Post Processor
The variable “SPLITG” define the output type for drill cycles: use cnc macros or linear movements.
Rules.
• SPLITG (=1) is enabled by macrolanguage and disabled by operation parameter: SPLITG is enabled
and stays enabled at the end of the operation.
• SPLITG (=1) is enabled by macrolanguage and enabled by operation parameter: same condition than
before
• SPLITG (=0) is disabled by macrolanguage and enabled by operation parameter: SPLITG is enabled
and is disabled at the end of the operation.
• SPLITG (=0) is disabled by macrolanguage and disabled by operation parameter: SPLITG is disabled
• SPLITG (=2) is enabled by macrolanguage and the operation parameter: SPLITG is ignored.
-Related topics-
New Variable “SPLITG” to spilt Drilling cycles output
Bug-fixing for “SPLITG” parameter.
53
Post Processor
Temporary file; are automatically manage by macro language and we are created in the temporary cache
path, by macro language we can rename and save this files.
Ex. WRT_FORM(1,@18T) write in the file temporary1 the tool number
A usually use of this file is create a main file to call the NC sub-program file generate by DIVFIL command.
NC program files list; when Vero Post break the NC file and create a new file with the SPLIT or DIVFIL
command automatically assign a name to the new file from the original input NC filename.
Ex. Original file name is “PIECE_A.NC”, this file must be split in 5 NC file, the standard NC file list generated
by Vero Post is:
PIECE_A.NC
PIECE_A1.NC
PIECE_A2.NC
PIECE_A3.NC
PIECE_A4.NC
From the Visi 18.0.09.10 there is a new option to manage in a different way this list. #Improvement in the main
sub-program management.
Commands Description
DIVFIL Create a new NC program. The name of the new file
is automatically management by Vero Post
Processor. In macro-language this command call the
section $END_DIV_FILE and $START_DIV_FILE.
INPNAM Customer can edit the NOMP string during the Post
Processor execution.
Command to manage a temporary file
OPEN(filenumber) open a file
CLOSE(filenumber) close a file
READ(filenumber) read from a file
DELETE(filenumber) delete a temporary file or file
WRT_FORM(filenumber, @1N "TEST") write a format string on given file number
RENAME(filenumber,”O”,NOMP,".nc") Rename a temporary file and save item in the NC file
path
RD_FORM(filenumber) read from given file number and write in output NC
file (call the section "$APPEND_READ" and use item
to format the text)
$APPEND_READ called from "RD_FORM"; format a line in output
(using 'ALFA' variable)
%READFILE("drive:\\path\\filename") import a file inside NC
54
Post Processor
DIVFIL
Create a new program and after that all NC block are printed in the new sub-program. The NC file name is
automatically assigned by Vero Post Processor. In macro-language this command call the section
$END_DIV_FILE and $START_DIV_FILE.
DIVFIL or (macro language test)?DIVFIL
OPEN
Open a temporary file.
OPEN(1)
CLOSE
Close a temporary file. Before, to execute a RENAME or other command in the temporary file, we must close
the temporary file.
CLOSE(1)
CLOSE(NOMP,”.”,EXT)
CLOSE(0) close a main NC file. N.b. In new section $EXITPP main NC file is automatically close.
If the file is in the same path of NC file created, we can skip the path.
The deleted file must be closed by the command CLOSE.
READ
READ(..number..) read a temporary file.
READ(1)
READ(NOMP,”.”,EXT)
If the file is in the same path of NC file created, we can skip the path.
The deleted file must be closed by the command CLOSE.
DELETE
Delete a temporary file.
DELETE(1)
The deleted file must be closed by the command CLOSE.
Delete a file.
DELETE(…file name and path…)
DELETE(NOMP,”.”,EXT)
If the file is in the same path of NC file created, we can skip the path.
The deleted file must be closed by the command CLOSE.
WRT_FORM
Write instruction or a section result in a temporary file. The temporary files are automatically management by
Vero Post and are manage from macro language by a number (Ex. 2 manage the file temporary2 created in
the temporary cache path)
RENAME
RENAME(1,………………….) (only from 18.0.09.10) to rename the temporary file. Normally the temporary file
is the main NC file. This command is usually use in the section “$CLOSEDPP”.
Example :
RENAME(1,”O”,NOMP,".nc")
Rename the temporary file number 1 in “O NCfilename.nc”
In the previous expression you can use all variables normally manage in the macro-language (ex.
WKF=name of wkf file).
55
Post Processor
RD_FORM
Before this command we must close the temporary file.
RD_FORM(filenumber)
RD_FORM(1).
$APPEND_READ
This section is absolutely necessary for the previous function RD_FORM.
$APPEND_READ
ALFA
%READFILE
Import an Asci file inside the NC file.
%READFILE("drive:\\path\\filename")
%READFILE("C:\\VISI19\\POSTP\\MACRO.TXT")
%DECLARE
This function defines a string usable by %READFILE function.
%DECLARE string file="drive:\\path\\filename";
%READFILE(file);
ex.
%DECLARE string file=”%READFILE("C:\\VISI19\\POSTP\\MACRO.TXT"
%READFILE(file);
EXEC
Command for run an external programs.
EXEC(drive:\\path\\filename.exe)"
-Related topics-
#Improvement in DELETE and RENAME command .
56
Post Processor
Before Visi18 there is a fixed rule to generate the NC name of sub-programs; VP add an incremental number
at the end of proposed NC name.
Ex. If customer set NCname.nc as NC file and VP CFG macro-language, create a sub-programs with a
command DIVFIL, the generated file were:
NCname01.nc
NCname02.nc
NCname03.nc
….. the temporary file only can has a fixed name.
Now there are the following variable to manage the NC name in the macro-language:
NOMP:
defines the “Main filename” in the macro-language, read in the CFG “Main filename” parameter.
NCFNAM:
defines the “Path folder + Main filename” in the macro-language, read in the CFG “Main filename”
parameter.
SPNAME:
Defines the “Subprograms filename” in the macro-language, read in the CFG “Sub-program filename”
SPNUM:
Defines the “Subprograms filename” in the macro-language, with a incremental number.
In Visi18 and Visi19 were improved in the VP CFG file, a new parameters to increase the name management.
This improvement starts in Visi 18.0 and was complete in this update.
For some machine type (Makino or Yasda), is needed to generate a main program and one sub-program for
every tool or operation.
This management is indispensable when CNC has a small internal memory and use an external hard-disk to
store the programs. In this case the CNC call the main program inside its memory and then call the sub-
program inside the external disk (these names must follow specific rules).
With the previous macro-language version, we can create a temporary file with main information but we can’t
rename item and we had a limitation in the sub-program names (the incremental number is add at the end of
the input file name).
In the main program is useful print the following information:
- cutting condition (only if create one sub-program for operation)
- tool call
- face setting
- call of sub-program
Normally the sub-programs only can use numbers in them name and they must have a fixed number of
characters in them name. Frequently customer want manage automatically the increase of sub-programs
number.
57
Post Processor
To manage these new functionalities, there is a new menu in the Vero Post Processor
interface.
Alphanumeric + Numeric - NC file name is automatically set equal the WKF file name and Vero Post
Processor add at the end of this name, the number memorize in the parameter “First subprogram number”.
Customer can change this name, but must insert at the end the numbers set in “Filename numeric length”.
Numeric – NC file name is automatically set equal the number memorize in the parameter “First subprogram
number”. In this modality the first letter (default “O”) is always used as initial letter of the main and subprogram
file names. Customer must insert only a numbers in the NC file name.
“Numeric” option: Vero Post Processor reads numeric value from parameter “First subprogram number”. If
“Remember last subprogram number” parameter is activated, the “First subprogram number” is automatically
updated at every Post Processor execution and it’s stored the last created subprogram.
To restart or modify the “First subprogram number” customer can use the Vero Post Processor” menu or
modify the number at the end of the default suggested output file name.
58
Post Processor
Ex. PP suggests “Piece-01225” but customer can edit in “Piece-0001” or “Piece-1” to restart subprograms
number.
With the “Alphanumeric + numeric” option, customer can choose the output NC filename without restrictions.
The ”Numeric” option specifies that the last chars of filename must be composed only by numbers; Vero Post
Processor will reset subprogram number in case of a invalid filename.
N.b.
The numbers at the end of the NC file-name are obligatory (ex. To set the number 25 if “Filename numeric
length=4” customer must write ………….0025.nc).
If the “File total length” is smaller than “Filename numeric length”, the NC FILE length is free, Vero Post use
all WKF file name
59
Post Processor
N.b.
The input file name is always assign to the main program. If customer insert at the end of the input file name a
valid number, this number is used to start sub-programs, in other case Vero Post use the proposed number.
With “Main management=numeric” the first character “O” is automatically add.
60
Post Processor
In Visi19 was improve the group management and was increase the VP CFG setting to manage the NC
name.
It is possible to define how VP generates the NC file name in the “Main\sub-programs” window from the
“General configuration” parameters:
In the “Main filename” and “subprograms filename” fields it is possible to set the following variables:
• - empty line - :the main program (temporary file) is delete at the end of Post Processor. In
the macro-language the variable NOMAIN is set to 1.
• WORKF :NC filename is taken from the “work file” name
• PRJ :NC filename is taken from the Project name
• GRPNAM :NC filename is taken from the Group name
• SPNUM :NC filename is defined by an incremental number. The starting number is
defined in the parameter “First sub-program number”. If the option “Remember last sub-program
number” is switched on, then the number is automatically update to the last Sub-program number.
This value isn’t automatically increased if there is the “NC name” saved in the CAM Navigator
tree. This variable is type string; if you have need in the macro-language as same variable type
numeric you can use SPROGN Sub PROGram Number.
• “…user string…”: NC filename is defined by the user.
Only for “Main filename”:
• ENGINR : NC filename is taken from the “project author”
• LIBRAR : NC filename is taken from the “tool crib name”
• MACHIN : NC filename is taken from the “machine name”
• PARTMT : NC filename is taken from the “part material”
Only for “Subprograms filename”:
• ALFA : NC filename is taken from the “operation description in the cam
navigator tree”
• REMARK : NC filename is taken from the “operation comment”
• TLREF : NC filename is taken from the “tool internal code1”
• TLREFB : NC filename is taken from the “tool internal code2”
• ASSREF : NC filename is taken from the “tool assembly name”
• TLMES : NC filename is taken from the “tool name”
• TOOLMT : NC filename is taken from the “tool material”
VP allows to define more than one variable, allowing the generation of very complex strings, if necessary.
Each variable must be separated by the character “,” (comma).
61
Post Processor
Example:
Wkf filename=pippo
Project name= roger
Wanted NC filename= pippo__roger
Note:
“Main filename” field is not mandatory and can be empty for special application.
Consider that, if necessary, it is also possible to truncate the string taken from the system, allowing to
generate a very personalised NC filename.
For the fixed variables WORKF, PRJ, GRPNAM, it is possible to specify a special instruction that tell the
system how to manipulate the string.
Variable[“instruction”]
Where “instruction” is a range that identify the character to extract from the original string:
Wkf filename=pippo
NOMP:
defines the “Main filename” in the macro-language
SPNAME:
Defines the “Subprograms filename” in the macro-language
Available fixed variable for “main filename” and “subprograms filename”.
62
Post Processor
$GROUP_BEGIN:
This section is recalled when there is a group. It’s immediately recalled after the section $STARTPP.
Normally we can insert the command DIVFIL in this section, to manage sub-programs for group.
$GROUP_END :
This section close the group.
NOMAIN:
MAIN program Not generate – if the parameter “Main filename” is empty, the main program is delete
and this variable value is 1. This is useful to manage a test in the macro-language. Example:
(NOMAIN==1)?@1N #20 @20(30); -→ M30; close a program
(NOMAIN==0)?@1N #20 @20(99); -→ M99; close a sub-program
GRPMOD:
GRouP MODe – if =0 means that there are not groups. If =1 means that there are one or more
groups.
GRPOPE:
GRouP OPErations – represent the number of operations in the current group
-Related topics-
Visi18
#Improvement in the main sub-program management.
#Improve to store the NC output filename .
Visi19
#New parameter to change the default NC filename.
#New group management functionality.
63
Post Processor
$STARTPP
$ENDPP
$CLOSEDPP
$STARTTOOL
$ENDTOOL
$OPERATION_BEGIN
$OPERATION_END
$GOTO_XY_RAP
$GOTO_XY_WRK
$GOTO_Z_RAP
$GOTO_Z_WRK
$GOTO_XYZAB_RAP
$GOTO_XYZAB_WRK
$MVT_4AXES_RAP
$MVT_4AXES_WRK
$GOTO_XYZ_COS_RAP
$GOTO_XYZ_COS_WRK
$SISTER_TOOL
$START_PF_NO_COR
$END_PF_NO_COR
$START_PF_COR_LFT
$START_PF_COR_RGT
$END_PF_COR
$PF_SEGMENT
$PF_ARC_XY_CCW
$PF_ARC_XY_CW
$PF_ARC_XZ_CCW
64
Post Processor
$PF_ARC_XZ_CW
$PF_ARC_YZ_CCW
$PF_ARC_YZ_CW
$LOOP_HELICAL
$SPLIT_HELICAL
$END_HELICAL
$CYC_CENT
$CYC_DRILL
$CYC_DRILL_PIC
$CYC_DRILL_PEC
$CYC_C_BORE_IN
$CYC_C_BORE_OUT
$CYC_REAM_BORE_R
$CYC_REAM_BORE_SF
$CYC_REAM_BORE_F
$CYC_REAM_D_FIX_R
$CYC_REAM_D_FIX_SF
$CYC_REAM_D_FIX_F
$CYC_REAM_D_EXP_R
$CYC_REAM_D_EXP_SF
$CYC_REAM_D_EXP_F
$CYC_TAPP
$CICLI_MACH
$CYC_XY
$CYC_XY_RA
$CYC_END
65
Post Processor
$GUN_DRILL
Face management
$ORIGINI
$STARTFACE
$ENDFACE
$FACELIST
Tool management
$TOOL
$TOOLLIST
$SISTER_TOOL
$END_SUB_MILL
$CALL_SUB_MILL
$START_SUB_CYC
$END_SUB_CYC
$CALL_SUB_CYC
$SET_DIV_FILE
$START_DIV_FILE
$END_DIV_FILE
$GROUP_END
Special section
$REMARK
$SPECIAL
$COOLANTPP
66
Post Processor
$CIRCULAR_MILLDRILL
$RECTANGULAR_POCK
$CIRCULAR_POCK
$SLOT_POCK
$RECTANGULAR_MILL
$CIRCULAR_MILL
$SLOT_MILL
$RECTANGULAR_MILLMULTIPASS
$CIRCULAR_MILLMULTIPASS
$SLOT_MILLMULTIPASS
$FEEDLIST
67
Post Processor
68
Post Processor
Post Processor read the python functions in a new cfg section or in an external file *.py.
Post Processor looks python file with a same name of *.cfg file used (n.b. the names must have the same
uppercase/lowercase letters, not use a sub-path with character “.” ).
With a new Post Processor command “Setup\Macrolanguage and Python”, customer can edit the internal
python code. If there isn’t the internal python section, Post Processor found the external *.py file and integrate
this file in *.cfg file.
There is a new special section in macro-language, that call a python function, before the NC filename request.
In this section is available a variable NCFNAM, that store the NC filename and path. Python function can
change the path and NC filename generate for default by Visi.
$INITPP
python(py_INITPOST) ---------------- mandatory function to run python
PYTHON(VeroPostSetOutputNcFilename);
In other section you can read and write all macro-language variables.
69
Post Processor
- VEROPOST.EditVar(MYDict)
Ex.
def EditVariable():
MYDict = dict()
MYDict['COMMENT'] = 'test edit by python'
MYDict['VALUE'] = '1.234'
VEROPOST.EditVar(MYDict) # edit variable value
VAR = MYDict['VALUE']
VAR1 = '" '
VAR1 += VAR
VAR1 += ' "'
PP['STRNG'] = VAR
return 0L
Example files:
In the macro-language do you add the following commands to call the example python function:
$STARTPP
……………………………………………………..
PYTHON(print_data);
@1N STRNH;
PYTHON(WriteBlock);
…………
PYTHON(DisplayMessage);
70
Post Processor
Python example file:
Mandatory functions
71
Post Processor
VeroPostSetOutputNcFilename - begin
0 ('TLSDUP', 0.0)
1 ('CYCCLE', 0.0)
2 ('DELAY', 0.0)
3 ('STRNN', '')
……..
467 ('ZCZ', 0.0)
VeroPostSetOutputNcFilename - end
0 ('TLSDUP', 2.0)
1 ('CYCCLE', 0.0)
2 ('DELAY', 0.0)
3 ('STRNN', '')
………………
467 ('ZCZ', 1.0)
-Related topics-
#Improvement Python call in macro-language.
72
Post Processor
73
Post Processor
Note.
All these function does not manage the tool centre management. Z value is always refer to tool tip.
74
Post Processor
You can obtain the coordinate of the first toolpath position refer to the absolute origin and not to the toolpath
origin. You can use the following variables in the section "OPERATION_BEGIN".
It’s calculated for each operation, on the $OPERATION_BEGIN section.
FAMOVX coordinate X of the first toolpath point refer to the absolute origin
FAMOVY coordinate Y of the first toolpath point refer to the absolute origin
FAMOVZ coordinate Z of the first toolpath point refer to the absolute origin
You can obtain the coordinate of the first tool-path position refer to the relative origin and not to the tool-path
origin. You can use the following variables in the section "OPERATION_BEGIN".
It’s calculated for each operation, on the $OPERATION_BEGIN section.
FRMOVX coordinate X of the first tool-path point refer to the relative origin
FRMOVY coordinate Y of the first tool-path point refer to the relative origin
FRMOVZ coordinate Z of the first tool-path point refer to the relative origin
Note.
All these function does not manage the tool centre management. Z value is always refer to tool tip.
75
Post Processor
-Related topics-
#Improvement in the stock bounding box management.
#New Variables for Toolpath Bounding Box
#New Variable to print the “model box” information
#New Variables to print in absolute the first toolpath position
#New Variables to print in relative the first tool-path position
76
Post Processor
Helix variables.
In the way to manage helix in the output, it is necessary to add the section $HELICAL_XYZ.
If the section “$HELICAL_XYZ” is not present in the cfg, than the helix movement will be outputted in linear
interpolation.
List of variables for helix:
X,Y,Z : end helix coordinates
XC, YC : Helix centre coordinates
ZC : Toolpath end Z coordinate
RC : helix radius
NRIP : Number of pitches
TINT : helix direction. TINT=2 means CW, TINT=3 means CCW
SPLITH : allow to split or not the helix. If “SPLITH”=1 the output is G1
RHO : Polar coordinates “Module”
THETA : Polar coordinates “Angle”
STAN : Start angle
ENAN : End angle
For the 3D toolpath, the value print for the variable “ZC” is equal to the value print for the variable “Z”.
The angle value are expressed in “radiant” (RAD). To convert the value in “degrees” (DEG) it is necessary
use the following formula:
[Angle]DEG = [Angle]RAD*180/
= 3.141592653589
-Related topics-
#New Variables for Helix management
#Improvement the Helix approach for the Pock operation.
MAXRD function improve also for helix geometry.
77
Post Processor
78
Post Processor
Example of output with 4:
Calling section 'GOTO_XY_RAP' id:'9'.
$GOTO_XY_RAP
X =49.993
Y = 2.369
TYPG = 1.000
RHO =50.049
THETA = 0.047
FIDX =999999.000
FVAR =999999.000
FMOV =999999.000
DEBDP – DEBug Decimal Place – change the decimal number displayed in the variables value assigned.
In VISI 2019 R1 the variable has changed a little the meaning; before it was adding 2 decimal digits to the
values printed in debug, now it add a variable number of decimal digits depending on the variable itself; so if
DEBDP is set to 0, values printed in debug will show 3 digits in mm or 5 digits in inches, but using DEBDB is
possible add more digits to have a better idea of what is happening inside macrolanguage core
-Relatedtopics-
#Improvement in Post Processor DEBUG mode.
Change in debug parameter behaviour.
79
Post Processor
Vero post processor approximate for excess and print the “Machine code” set
for the speed approximated.
80
Post Processor
The Helixes are split by Visi Machining, you can see the split tool-path in tool-path laboratory.
by max radius:
In the macro-language you can set the variable “MAXRD” in the section “$STARTPP”.
MAXRD - check arch radius (if RC>MAXRD the arc will be split) default value=1000mm.
MAXRD = MAXimum RaDius allow in NC code
This function is activated for arcs and helix.
81
Post Processor
-Related topics-
#New variables MINALN in macro-language.
#Improvement a new parameter, to manage a maximum value, for a split arc tolerance.
MAXRD function improve also for helix geometry.
82
Post Processor
In this way it will be possible to correctly (and quickly) define the drill cycles for all the old CNC (for example
TNC) by setting the variable SPLITD to 1 in the $STARTPP section.
$STARTPP
SPLITD=1
When SPLITD variable is set to 1, the subprograms generation is not allowed. For this reason the STYPC
variable is automatically forced to 0.
Starting from release 10.1 the new operations 3D tool path computing can check the tool life to manage the
Sister Tool. After each tool path splitting due to tool life programmed with the sister tool management, the post
processor will recall a new section called $SISTER_TOOL. This new section could be useful to force a
Machine tool stop (M00) to allow the tool change.
Example:
$SISTER_TOOL
@1N "M00"
83
Post Processor
$CYC_MDRILL_PIC
-Related topics-
#Improve in the function MDRILL.
#Improve a new variable “CYCRAP“ to print\don’t print the GOTO_xx_RAP in the Drill & MillDrill operations.
#Improvement in function MACOUT.
84
Post Processor
New VARIABILI XCX XCY XCZ YCX YCY YCZ ZCX ZCY ZCZ
The variables “XCX” “XCY” “XCZ” “YCX” “YCY” “YCZ” “ZCX” “ZCY” “ZCZ” determine the directions of the 3
vectors which represents the rotated origin in the space.
Practically, the 3 elements on X (XCX, XCY,XCZ), gives the vectorial direction of the X axis of the face that is
post processed.
The same thing is for the Y and Z axis (YCX,YCY,YCZ e ZCX,ZCY,ZCZ)
-Related topics-
#Face variables and management
85
Post Processor
This new parameters have priority to the following machine setting, present in the version V15 and following.
-Related topics-
#Face variables and management
-Related topics-
#Face variables and management
86
Post Processor
New Variable GUIDEP
The variable “GUIDEP” allows to print in the ISO the information about the Tool guide point.
87
Post Processor
For the 3D toolpath, the value print for the variable “ZC” is equal to the value print for the variable “Z”.
The angle value are expressed in “radiant” (RAD). To convert the value in “degrees” (DEG) it is necessary
use the following formula:
[Angle]DEG = [Angle]RAD*180/
= 3.141592653589
88
Post Processor
TOVERH : allows to print the value associated to the “ Overhang length” variable.
TPRSET : allows to print the value associated to the “ Presetting length” of the tool.
By this 2 new variables it is also possible to compute the value for the “Gouge length”, very useful for the
Kinematic simulation when the option “True ISO code simulation” is selected.
See details in the below image to better understand the meaning of these variables:
89
Post Processor
Has been added 6 new variables, that allow printing the toolpath bounding box from the Absolute origin.
Note: the reference work plane for the variables BXMAX, BYMAX, … is the current work plane.
The reference work plane for the variables BOXMAX, BOYMAX, … is the work plane used by the operation.
-Related topics-
#Improvement in the stock bounding box management.
#Bounding box variable sets.
90
Post Processor
The variable “SPLITG” define the output type for drill cycles: use cnc macros or linear movements.
Rules.
• SPLITG (=1) is enabled by macrolanguage and disabled by operation parameter: SPLITG is enabled
and stays enabled at the end of the operation.
• SPLITG (=1) is enabled by macrolanguage and enabled by operation parameter: same condition than
before
• SPLITG (=0) is disabled by macrolanguage and enabled by operation parameter: SPLITG is enabled
and is disabled at the end of the operation.
• SPLITG (=0) is disabled by macrolanguage and disabled by operation parameter: SPLITG is disabled
• SPLITG (=2) is enabled by macrolanguage and the operation parameter: SPLITG is ignored.
-Related topics-
Split the drill cycle SPLITG
Bug-fixing for “SPLITG” parameter.
91
Post Processor
-Related topics-
#Improvement in the stock bounding box management.
#New Variables for Toolpath Bounding Box
92
Post Processor
New Variable ANGMOD to switch on/off the standard calculate routine for the Face angle.
Normal the Vero Post Processor use an internal routine to calculate the rotation face angle. The standard
routine isn’t ok for all cases, with the new parameter “ANGMOD” you can disable the standard calculate
routine and use a customizable routine in macro-language (in this case we must add a new routine).
ANGMOD=0 use default calculation routine
ANGMOD=1 turn off the standard calculation routine
New variables to print the sum of the all operations post processed.
NBOPE - number of operations.
New variable TLSDUP to print the TLIST with the duplicate tool.
TLSDUP - change the function of TLIST.
TLSDUP = 0 – TLIST print the tool list without the duplicate tools
TLSDUP = 1 – TLIST print the tool list with the duplicate tools
93
Post Processor
-Related topics-
#Face variables and management
-Related topics-
#Face variables and management
When in the machine configuration has been set then angle step (or index) for the rotation axis:
in the Cam-Setup property you can see the “Angle pair errors” .
example :
If the “Angle step=1.5” and “Current angle pair=-16.87” the “Angle pair errors” is equal (16.87-16.5=0.37). In
this case in the macro language the variable AERR=0.37. You can use these variables in the section
$STARTFACE.
94
Post Processor
“Virtual angle pair” is the geometrical angles need to generate the CAM Setup by the Absolute origin.
The “Virtual angles pair” change value with the parameter “Virtual angle method” in the “Machine
configuration”.
-Related topics-
#New Variables to print the Virtual angles pair.
#Face variables and management
95
Post Processor
New Variable DSPPRI to manage the priority to create a sub program in the Drill Cycle
Drill SubPrograms PRIority.
When in a CFG is activate the option “STYPC=1” or “STYPC=2” this variable manage the sub-program
creation.
The DSPPRI can have 2 value 1 or 2, the default value is 2.
DSPPRI=1 Vero post-processor read the list of point and create a sub-program when there are a group of
point with 2 or more drill operation.
DSPPRI=2 Vero post-processor have as priority to ask a sub-program a more often.
Example:
‘list operation
1’ operation - Centre
4’ operation – Bore
96
Post Processor
-Related topics-
#Drill group management SPLITD and DSPPRI
#Improvement in the function STYPO.
#Restored the reset of Z value for a sub program manage by STYPM=1 or 2.
#New Variable to manage the priority to create a sub program in the Drill Cycle
#New variable INSPRG.
97
Post Processor
98
Post Processor
-Related topics-
#New Variables to manage the rotation angle A and B
#Face variables and management
99
Post Processor
-Related topics-
Coordinates printed check.
-Related topics-
Improvement the sections checked by the “Coordinates printed check” .
100
Post Processor
$STARTFACE
…………………..
TYPEOR= 1.000
101
Post Processor
The sections $ GOTO_Z_RAP and $GOTO_XY_RAP are used to connect the previous operation to the
current ... the order in which are called depends on last Z of previous operation and first Z of current
operation.
Until release 16 this behaviour was valid for all operations but drill cycles ... starting from release 17 this
behaviour is valid also for drill cycles.
-Related topics-
#Improve a new variable “ “ to print\don’t print the GOTO_xx_RAP in the Drill operations.
102
Post Processor
$STARTPP $CYC_CENT
$ENDPP $CYC_DRILL
$CLOSEDPP $CYC_DRILL_PIC
$STARTTOOL $CYC_DRILL_PEC
$ENDTOOL $CYC_C_BORE_IN
$STARTFACE $CYC_C_BORE_OUT
$ENDFACE $CYC_TAPP
$TOOLLIST $CYC_REAM_BORE_R
$FACELIST $CYC_REAM_BORE_SF
$SPECIAL $CYC_REAM_BORE_F
$OPERATION_BEGIN $CYC_REAM_BORE_FI
$OPERATION_END $CYC_REAM_D_FIX_R
$START_SUB_MILL $CYC_REAM_D_FIX_SF
$END_SUB_MILL $CYC_REAM_D_FIX_F
$CALL_SUB_MILL $CYC_REAM_D_EXP_R
$GOTO_START_CYC $CYC_REAM_D_EXP_SF
$GOTO_END_CYC $CYC_REAM_D_EXP_F
$CYC_XY $END_SUB_CYC
$CYC_XY_RA $CALL_SUB_CYC
$CYC_END $START_DIV_FILE
$END_DIV_FILE
$FEEDLIST
This automatic check is extended to found error in the NC file generated by mistake in the macro-language.
This is a useful security check to prevent error in the NC file.
-Related topics-
Changed the default value on CHKOUT variable.
103
Post Processor
104
Post Processor
Note: the Helix movement translate in segment in Visi 17, are management by the section
“$GOTO_XYZAB_WRK”.
105
Post Processor
$QUESTIONS
……………………..
TCM = 1.000
In VISI 16.xx the tool change setting disappears from machine menu configuration.
In VISI 17 this setting is restored.
106
Post Processor
ZX [quadrant] =0
ZY [quadrant] =1
Z(-X) [quadrant] =2
Z(-Y) [quadrant] =3
ZX =4
ZY =5
Z(-X) =6
Z(-Y) =7
-Related topics-
#Face variables and management
107
Post Processor
$REMARK
"(FREE CUSTOMER REMARK: " ALFA “)”
- output file -
....
N14 G1 Z230.97 F750
(FREE CUSTOEMR REMARK: FIRST)
(FREE CUSTOEMR REMARK: SECOND)
N15 G17 X-95.671
....
N.b.
If in the section “Post-processor information” you write a NC code between “M00” it’s directly print in the NC
file. If you don’t use “…” you must write a variable use in the Vero Post Processor macro language to execute
a special function (ex. VA=1).
108
Post Processor
………
$GOTO_Z_RAP
$END_SUB_MILL
Note
When the option “STYPO” is activated the option “STYPM” and “STYPC” are automatically disable. The
“STYPO” have priority on the “STYPM” and “STYPC”.
This function run when in the Cam Setup is activated the Origin.
If the post processor check a distance between the first operation start position and the origin of Cam Setup, if
there are a difference between the main operation and the duplicated operation, the STYPO function is
disable.
For example if customer have duplicated some operations and after use the command “Move CAM-setup” can
disable the STYPO functionality.
-Related topics-
#Improvement in the function STYPO.
#Restored the reset of Z value for a sub program manage by STYPM=1 or 2.
#New Variable to manage the priority to create a sub program in the Drill Cycle
#New variable INSPRG.
Add a new function CHKOUT to disable the check of the Coordinates printed check.
In the Visi 17 was added a new security check Coordinates printed check, on the movement sections. This
check automatically verifies if all coordinate is formatted by the section. If one or more coordinate aren’t
formatted by a section, the Vero Post Processor generate an alarm same the following:
The default value for the variables CHKOUT is 1, check function activated. If you want disable this check you
must set in the macro-language CHKOUT=0 in the section “$STARTPP”.
Topic correlated.
-Related topics-
#Changed the default value on CHKOUT variable.
109
Post Processor
$FEEDLIST
'Automaticaly numbering
'@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR ";" "(" #50 @50FMOV ")"
'Automaticaly numbering without remark for the movement type
'@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR ";"
'write the variables with a notes of the movement type
'assignement to FIDX a customization value for the FMOV type, vara is a security value to manage the double
Working Feed
(FMOV==19)? FIDX=1 'Feed into material - Approch feed in Z
(FMOV==16)? FIDX=2 'Approch feed
(FMOV==01)?( vara==0)? FIDX=3 'Working feed
(FMOV==01)?( vara>0)? FIDX=VFI+10 'Working feed
(FMOV==03)? FIDX=7 '5axis Transition feed
(FMOV==32)? FIDX=4 'Retract feed
(FMOV==33)? FIDX=5 'Retract feed in Z
(FMOV==09)? FIDX=6 'Optimized rapid feed
(FMOV==01)? vara= vara +1
(FMOV==19)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Feed into material - Approch feed in Z : "
(FMOV==16)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Approch feed :"
(FMOV==01)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Working feed :"
(FMOV==03)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; 5Axis Transition Feed :"
(FMOV==32)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Retract feed :"
(FMOV==33)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Retract feed in Z :"
(FMOV==09)?@1N " FN 0 :" #51 @51FIDX " = " #52 @52FVAR "; Optimized rapid feed :"
110
Post Processor
1: Feed (mm\min)
111
Post Processor
30 L X-7,500 Y-50,000 FMAX
31 L Z+49,142 FMAX
……..
Than you will need to print the feed-rate variables where needed:
$GOTO_XY_WRK
@1N #2 @2(0) @5X @6Y @35(0) @16F @50FIDX
You must remove the old command to print the feed and add the new channel and variables.
The channels #50, #51 and #52 use in the example, to print the feed-rate variables and the values aren’t
obligatory they are only an advice.
112
Post Processor
Note
The Vero Post Processor check the feed-rate sated in the NC file and automatically assign the incremental
number by the variable FIDX. Not all operation use the same type of feed, for example :
- Drill use only:
o 19: Feed into material Entry feed (mm\min)
o 1: Feed (mm\min)
- 2D HS Face Mill use only:
o 19: Feed into material Entry feed (mm\min)
o 16: Entry feed (mm\min)
o 1: Feed (mm\min)
- 2D Pock use only:
o 19: Feed into material Entry feed (mm\min)
o 16: Entry feed (mm\min)
o 1: Feed (mm\min)
- 2D MILL use:
o 19: Feed into material Entry feed (mm\min)
o 16: Entry feed (mm\min)
o 1: Feed (mm\min)
o 32: Retract feed (mm\min)
o 33: Retract feed in Z (mm\min)
- 3D finishing use:
o 19: Feed into material Entry feed (mm\min)
o 16: Entry feed (mm\min)
o 1: Feed (mm\min)
o 32: Retract feed (mm\min)
o 33: Retract feed in Z (mm\min)
o 9: Optimized rapid feed (mm\min)
- etc….
The manual feed change adds in the tool-path by the command “Edith tool-path” are elaborate in the
execution sequence.
You can use the variable TYPM to activate\deactivate the feed table function for a different operation type.
N.B.
When in the Pock mill6 the parameter “V2AX-RoudingMethod” is activated, the Engine generate a second
“working feed” on the fillet generated on the tool-path.
113
Post Processor
-Related topics-
#Bug-fixing in the feed table functionality.
# Bug fixing for Helix feed table management.
-Related topics-
#Restored the reset of Z value for a sub program manage by STYPM=1 or 2.
#New Variable to manage the priority to create a sub program in the Drill Cycle
#New variable INSPRG.
-Related topics-
#Add a new function CHKOUT to disable the check of the Coordinates printed check.
114
Post Processor
SNOANG=999999.000
Don’t use the “$STARTFACE”.
SNOANG= 0.000
SNOANG= 1.000
SNOANG=999999.000
Does not use the “$STARTFACE”.
115
Post Processor
116
Post Processor
M98 P100
Z-4.
M98 P100
Z-5.
M98 P100
Z-6.
M98 P100
Z-7.
M98 P100
Z-8.
M98 P100
Z-9.
M98 P100
Z-10.
M98 P100
G0 Z10.
G80 M05
O100
G1 G17 G41 X5.745 Y37.321 D6
G3 X0. Y40. I-5.745 J-4.821
G1 Z-1. ----- in a Z level sub program, there should be Z value.
X-40. F2000
Y-40.
X40.
Y40.
X0.
G3 X-5.745 Y37.321 I0. J-7.5 F1000
G1 G40 X0. Y32.5
M99
G28 G91 Y0.
M30
%
Now Vero Post disables the Z format only for the Z level sub programs.
-Related topics-
#Improvement in the function STYPO.
#New Variable to manage the priority to create a sub program in the Drill Cycle
#New variable INSPRG.
117
Post Processor
118
Post Processor
Approach Method:
the new variable is APPMET (APProach METhod) and can hold one of this values:
Retract Method:
the new variable is RETMET (RETract METhod) and can hold one of this values:
-Related topics-
#APPMET and RETMET improvement.
[VEROPOST_mm]
# Max_Feedrate = 10000 ;
# Min_Feedrate = 0.1 ;
# Small_Arc_Tolerance = 0.1000000015 ;
# Split_Arc_Tolerance = 0.001 ;
[VEROPOST_inch]
# Max_Feedrate = 393.7007874 ;
# Min_Feedrate = 0.0039370079 ;
# Small_Arc_Tolerance = 0.0039370079 ;
# Split_Arc_Tolerance = 0.0000393701 ;
Before this update, Vero Post Processor correctly read these information when execute the post processor,
but in interface only write in the [VEROPOST_mm].
119
Post Processor
-Related topics-
#New Variables for Toolpath Bounding Box
#New Variable to print the “model box” information
120
Post Processor
ZL
XL
This variables is update in $STARTPP if the Chamfer operation is the first and in the $SPECIAL section
before the $OPERATION_BEGIN.
-Related topics-
#Free user Variables
121
Post Processor
New variable OFMODE.
The variable “OFMODE” allows to print in the ISO file the value set for “
When customer generates a mill or similar operation this variables print the following value to indicate the tool
offset application type:
Chamfer
1 = profile offset
2 = profile corrected
Mill thread
1 = profile offset
3 = none
HS Mill
1 = profile offset
3 = none
This variable is useful to print the right value, in the NC file, for the tool diameter. For example in the Selca iso
language the “G49 I…..” (G49 I….. normally is the tool diameter).
122
Post Processor
-Related topics-
#Restored the reset of Z value for a sub program manage by STYPM=1 or 2.
#New Variable to manage the priority to create a sub program in the Drill Cycle
Improvement the variable HOVERS, VOVERS, HSTEP, VSTEP and VSTEPL for the ISO
Machining and 5axis operation.
Now the variable “HOVERS”, “VOVERS”, “HSTEP”, “VSTEP” and “VSTEPL” also run for the ISO Machining
and 5axis operation.
-Related topics-
#New Variable HOVERS
#New Variable VOVERS
#New Variable HSTEP
#New Variable VSTEP
#New Variable VSTEPL
-Related topics-
#New Variable to print special information at the start of the NC file
123
Post Processor
-Related topics-
Gun drilling parameters.
New parameter for gun drilling option.
-Related topics-
#Feed-rate table in NC file.
-Related topics-
#New Variable to print the “model box” information
#New Variables for Toolpath Bounding Box
124
Post Processor
Some new macro-language variables have been created to allow the generation and personalization of pock
machine cycles:
MACOUT MACro OUTput: 0 or 1
0=macro disable
1=macro enabled
You can insert this variable in the macro-language or in the PP INFO of the operation cutting condition.
125
Post Processor
When Cam can’t compute a toolpath for all features, Vero Post can anyway create the macro for all features,
but a warning message box is displayed to indicate this critical condition. Obviously in this case the needed
sections must be present to generate a valid output.
If there aren’t the needed sections in the macro-language, the Vero Post will output the standard toolpath
movements.
The Mill multi-passes use a specific section, if the CNC macro doesn’t manage the mill multi-passes, we can
remove these sections to obtain a normal output without macro management.
126
Post Processor
127
Post Processor
PocK ReFerence 'O' point (left bottom point before the rotation)
PKRFOX
PKRFOY
PKRFOZ
128
Post Processor
Slot parameters:
PKLEN PocK LENgth
PKWIDT PocK WIDTh
PKROT PocK ROTation angle
129
Post Processor
Circular parameters:
PKDIAM PocK DIAMeter (circular pock)
130
Post Processor
$RECTANGULAR_POCK
SET_GOTO_ZR
VCI=251
VG=1 SETQ TYPECYC SUBPOCKREC VJ=2
@1N #2 @2(0) #5 @5X #6 @6Y @35(0) @16F SET_M VH=0 " ; - center of pock";
$SUBPOCKREC
@70(0) " ; TO BE IMPLEMENTED: - mode (0=finishing and roughing, 1=only roughing, 2=only finishing)";
@71(PKLEN) " ; - pocket length";
@72(PKWIDT) " ; - pocket width";
@73(PKCRAD) " ; - pocket corner radius";
@79(HOVERS) " ; - side oversize";
@75(PKROT) " ; - pocket rotation ";
" Q367=0 ; - always fix";
@69(F) " ; - plane feedrate";
(CUTMET==1)?@77(+1) : @77(-1)
" ; - climb or conventional";
@86(-(ABS(ZL))) " ; - pocket depth";
@87(VSTEP) " ; - z step";
@80(VOVERS) " ; - bottom oversize";
@90(F) " ; - entry feedrate";
@76(VSTEP) " ; - z-step for finishing";
@85(CH) " ; - safety distance";
@88(ZS-CH) "; - surface coordinates";
@89(ZR) " ; - 2 retract plane";
@81(0) " ; - toolpath overlapping";
@78(ENTMET) " ; - type of entry 0=vertical, 1=helical, 2=reciprocating";
@83(F) " ; - feedrate for finishing";
output:
11 CYCL DEF 251 RECTANGULAR POCK ~
Q215=0 ; TO BE IMPLEMENTED: - mode (0=finishing and roughing, 1=only roughing, 2=only finishing)
Q218=30 ; - pocket length (PKLEN)
Q219=8 ; - pocket width (PKWIDT)
Q220=3 ; - pocket corner radius (PKCRAD)
Q368=0 ; - side oversize (HOVERS)
Q224=0 ; - pocket rotation (PKROT)
Q367=0 ; - always fix
Q207=2500 ; - plane feedrate (F)
Q351=0 ; - climb or conventional (CUTMET)
Q201=-20 ; - pocket depth (-(ABS(ZL)))
Q202=2 ; - z step (VSTEP)
Q369=0 ; - bottom oversize (VOVERS)
Q206=2500 ; - entry feedrate (F)
Q338=2 ; - z-step for finishing (VSTEP)
Q200=2 ; - safety distance (CH)
Q203=+0; - surface coordinates (ZS-CH)
Q204=20 ; - 2 retract plane (ZR)
Q370=0 ; TO BE IMPLEMENTED: - toolpath overlapping
Q366=0 ; - type of entry 0=vertical, 1=helical, 2=ramping (ENTMET)
Q385=2500 ; - feedrate for finishing (F)
12 L X+78,531 Y-10,215 F2500 M99
$CIRCULAR_POCK
SET_GOTO_ZR
VCI=252
131
Post Processor
$SUBPOCKCIR
@70(0) " ; TO BE IMPLEMENTED: - mode (0=finishing and roughing, 1=only roughing, 2=only finishing)";
@74(PKDIAM) " ; - circle diameter";
@79(HOVERS) " ; - side oversize";
@69(F) " ; - plane feedrate";
(CUTMET==1)?@77(+1) : @77(-1)
" ; - climb or conventional";
@86(-(ABS(ZL))) " ; - pocket depth";
@87(VSTEP) " ; - z step";
@80(VOVERS) " ; - bottom oversize";
@90(F) " ; - entry feedrate";
@76(VSTEP) " ; - z-step for finishing";
@85(CH) " ; - safety distance";
@88(ZS-CH) "; - surface coordinates";
@89(ZR) " ; - 2 retract plane";
@81(0) " ; TO BE IMPLEMENTED: - toolpath overlapping";
@78(ENTMET) " ; - type of entry 0=vertical, 1=helical, 2=ramping";
@83(F) " ; - feedrate for finishing";
output:
11 CYCL DEF 252 CIRCULAR POCK ~
Q215=0 ; TO BE IMPLEMENTED: - mode (0=finishing and roughing, 1=only roughing, 2=only finishing)
Q223=45 ; - circle diameter (PKDIAM)
Q368=0 ; - side oversize (HOVERS)
Q207=2500 ; - plane feedrate (F)
Q351=+1 ; - climb or conventional (CUTMET)
Q201=-7 ; - pocket depth (-(ABS(ZL)))
Q202=2 ; - z step (VSTEP)
Q369=0 ; - bottom oversize (VOVERS)
Q206=2500 ; - entry feedrate (F)
Q338=2 ; - z-step for finishing (VSTEP)
Q200=2 ; - safety distance (CH)
Q203=+0; - surface coordinates (ZS-CH)
Q204=20 ; - 2 retract plane (ZR)
Q370=0 ; TO BE IMPLEMENTED: - toolpath overlapping
Q366=0 ; - type of entry 0=vertical, 1=helical, 2=ramping (ENTMET)
Q385=2500 ; - feedrate for finishing (F)
12 L X+408,976 Y-21,369 F2500 M99
$SLOT_POCK
SET_GOTO_ZR
VCI=253
VG=1 SETQ TYPECYC SUBPOCKSLOT VJ=2
@1N #2 @2(0) #5 @5X #6 @6Y @35(0) @16F SET_M VH=0 " ; - center of pock";
$SUBPOCKSLOT
@70(0) " ; TO BE IMPLEMENTED: - mode (0=finishing and roughing, 1=only roughing, 2=only finishing)";
@71(PKLEN) " ; - pocket length";
@72(PKWIDT) " ; - pocket width";
@79(HOVERS) " ; - side oversize";
@82(PKROT) " ; - pocket rotation ";
" Q367=2 ; - always fix";
@69(F) " ; - plane feedrate";
(CUTMET==1)?@77(+1) : @77(-1)
" ; - climb or conventional";
132
Post Processor
@86(-(ABS(ZL))) " ; - pocket depth";
@87(VSTEP) " ; - z step";
@80(VOVERS) " ; - bottom oversize";
@90(F) " ; - entry feedrate";
@76(VSTEP) " ; - z-step for finishing";
@85(CH) " ; - safety distance";
@88(ZS-CH) "; - surface coordinates";
@89(ZR) " ; - 2 retract plane";
@78(ENTMET) " ; - type of entry 0=vertical, 1=helical, 2=ramping";
@83(F) " ; - feedrate for finishing";
output:
11 CYCL DEF 253 SLOT POCK ~
Q215=0 ; TO BE IMPLEMENTED: - mode (0=finishing and roughing, 1=only roughing, 2=only finishing)
Q218=38,973 ; - pocket length (PKLEN)
Q219=10 ; - pocket width (PKWIDT)
Q368=0 ; - side oversize (HOVERS)
Q374=47,699 ; - pocket rotation (PKROT)
Q367=2 ; - always fix
Q207=2500 ; - plane feedrate (F)
Q351=+1 ; - climb or conventional (CUTMET)
Q201=-20 ; - pocket depth (-(ABS(ZL)))
Q202=2 ; - z step (VSTEP)
Q369=0 ; - bottom oversize (VOVERS)
Q206=2500 ; - entry feedrate (F)
Q338=2 ; - z-step for finishing (VSTEP)
Q200=2 ; - safety distance (CH)
Q203=+0; - surface coordinates (ZS-CH)
Q204=20 ; - 2 retract plane (ZR)
Q366=0 ; - type of entry 0=vertical, 1=helical, 2=ramping (ENTMET)
Q385=2500 ; - feedrate for finishing (F)
12 L X+143,960 Y+0,000 F2500 M99
$RECTANGULAR_POCK
(PKROT!=0)?"G68" #5 @5X #6 @6Y #24 @24PKROT ( center of pock )
"G328 " #5 @5PKRFAX #6 @6PKRFAY #7 @7(-ZL) #25 @25ZR #21 @21PKLEN #22 @22PKWIDT #23
@23HSTEP #27 @27VSTEP " C0." #38 @38PKCRAD #30 @30CORRD #60 @60F #11 @11S #12
@12FENTRY #16 @16F
$CIRCULAR_POCK
"G327 " #5 @5PKRFAX #6 @6PKRFAY #7 @7(-ZL) #25 @25ZR #21 @21(PKDIAM/2) " J0." #23
@23HSTEP #27 @27VSTEP #30 @30CORRD #60 @60F #11 @11S #12 @12FENTRY #16 @16F
output:
X445.45 Y0.
Z2.
133
Post Processor
G327 X445.45 Y0. Z-7.5 R20. I5. J0. K2. Q2. D5 U3000. V1250. F2500
$SLOT_POCK
"G329 " #5 @5PKRFAX #6 @6PKRFAY #7 @7(-ZL) #25 @25ZR #21 @21PKRFBX-PKRFAX #22
@22PKRFBY-PKRFAY " C0." #23 @23HSTEP #27 @27VSTEP #38 @38PKCRAD #30 @30CORRD #60
@60F #11 @11S #12 @12FENTRY #16 @16F
-Related topics-
#Improvement in function MACOUT.
134
Post Processor
135
Post Processor
To activate this NC output, customer must activate the option “Output from ABS coordinates” in the machine
configuration and disable the switch of “Relative origin number” in the cam-setup.
-Related topics-
#Fixed cycles variables
#Bug fixing for the drill cycle variables XL ZL.
#Bug-fixing in Drill Cycle management in ABS reference.
136
Post Processor
Vero Post Processor find all consecutive drill cycle with the same parameters and create a group. In NC files,
we can apply the same drill cycle on the point groups (ex. G81 ….. for a Fanuc).
The SPLITD parameter manage this functionality
SPLITD=0 useful to generate a drill group, for the CNC that manage in modal system the drill operation (ex.
CNC Selca Heidenhain Fidia can change the drill cycle parameters without split the point list).
SPLITD=1 always split the drill group in a single drill cycle, useful to manage the old Heidenhain.
SPLITD=2 (NEW option) is similar to 0 but split the point group when there is a change in the Z level to climb
over an obstacle or to change the Z start working. This is useful for the CNC (ex. Fanuc) that in this case must
re-define a new drill cycle in the NC file.
SPLITD=0 SPLITD=1 SPLITD=2
$SPECIAL $SPECIAL $SPECIAL
$STARTTOOL $STARTTOOL $STARTTOOL
$SPECIAL $SPECIAL $SPECIAL
$OPERATION_BEGIN $OPERATION_BEGIN $OPERATION_BEGIN
$SPECIAL $SPECIAL $SPECIAL
$GOTO_XY_RAP $GOTO_XY_RAP $GOTO_XY_RAP
$GOTO_Z_RAP $GOTO_Z_RAP $GOTO_Z_RAP
$SPECIAL $SPECIAL $SPECIAL
137
Post Processor
$CYC_END
------ obstacole ------ ------ obstacole ------ ------ obstacole ------
$CYC_XY_RA $GOTO_START_CYC $GOTO_XY_RAP
$CYC_DRILL $GOTO_Z_RAP
$SPECIAL $GOTO_START_CYC
$CYC_END $CYC_DRILL
$SPECIAL
$CYC_XY $GOTO_START_CYC $CYC_XY
$CYC_DRILL
$SPECIAL
$CYC_END
138
Post Processor
n.b.
This option is always active.
139
Post Processor
Approach Method:
the new variable is APPMET (APProach METhod) and can hold one of this values:
Retract Method:
the new variable is RETMET (RETract METhod) and can hold one of this values:
-Related topics-
#New variables to define the approach\retract type – APPMET \ RETMET.
140
Post Processor
To manage these new functionalities, there is a new menu in the Vero Post Processor interface.
141
Post Processor
Alphanumeric + Numeric - NC file name is automatically set equal the WKF file name and Vero Post
Processor add at the end of this name, the number memorize in the parameter “First subprogram number”.
Customer can change this name, but must insert at the end the numbers set in “Filename numeric length”.
Numeric – NC file name is automatically set equal the number memorize in the parameter “First subprogram
number”. In this modality the first letter (default “O”) is always used as initial letter of the main and subprogram
file names. Customer must insert only a numbers in the NC file name.
“Numeric” option: Vero Post Processor reads numeric value from parameter “First subprogram number”. If
“Remember last subprogram number” parameter is activated, the “First subprogram number” is automatically
updated at every Post Processor execution and it’s stored the last created subprogram.
To restart or modify the “First subprogram number” customer can use the Vero Post Processor” menu or
modify the number at the end of the default suggested output file name.
Ex. PP suggests “Piece-01225” but customer can edit in “Piece-0001” or “Piece-1” to restart subprograms
number.
With the “Alphanumeric + numeric” option, customer can choose the output NC filename without restrictions.
The ”Numeric” option specifies that the last chars of filename must be composed only by numbers; Vero Post
Processor will reset subprogram number in case of a invalid filename.
N.b.
The numbers at the end of the NC file-name are obligatory (ex. To set the number 25 if “Filename numeric
length=4” customer must write ………….0025.nc).
If the “File total length” is smaller than “Filename numeric length”, the NC FILE length is free, Vero Post use
all WKF file name
142
Post Processor
O12254 O1229 PIECE_A3C-1229
O12355 O1230 PIECE_A3C-1230
Save in NOMP Save in SPNAME Save in SPNAME
143
Post Processor
N.b.
The input file name is always assign to the main program. If customer insert at the end of the input file name a
valid number, this number is used to start sub-programs, in other case Vero Post use the proposed number.
With “Main management=numeric” the first character “O” is automatically add.
-Related topics-
#Vero Post Processor rules to assign a name to NC file.
144
Post Processor
Customer can also choose between 4 different options for the “Output path”:
- CFG directory - in the Post Processor configuration file, there is a parameter to set a default
directory. If this parameter is empty propose the fixed directory.
- WORKF directory - propose the same Visi work-file directory, if the customer hasn’t save the
work-file, propose the fixed directory.
- Last directory - the first execution propose the fixed directory, after the first execution propose the
last selected directory.
- Fixed directory - propose the fixed directory.
A correlated useful parameter is “Suppress filename request” that skip the NC output filename request. The
automatically NC filename rules don’t change, but customer can’t change the NC filename.
Now in the 18.0.09.10 update Visi-Machining can set a priority name for a path and for a NC output filename.
In the project properties of CAM Navigator tree, you can set “NC path”.
If this parameter is empty, the NC output path is choose by Vero Post Processor.
If customer choose a path (customer can use also the net address ex. //serverHD/fanuc) that has priority of
the Vero Post Processor set.
Now if customer activates the Visi-Machining configuration parameter “Store NC filename”, the NC output
filename is store in the operation information.
When the Vero Post Processor execute the NC file of operation with this information stored, Vero Post
Processor doesn’t use its set but propose the NC filename stored in the operation.
The path and NC filename are always display in the tool-tip operation and in the operation remark, if customer
activated the Visi-Machining parameter “Show NC name in operation node”.
145
Post Processor
Correlated useful parameter is “Automatically overwrite existing NC output files”, that skip the edit NC
filename and automatically create and re-write the NC file, without need a customer pick.
-Related topics-
∏ obstacole jump
┌ the Z start increase up
┐ the Z start increase down
DRILL operations
SPLITD=0 SPLITD=1 SPLITD=2
$SPECIAL $SPECIAL $SPECIAL
146
Post Processor
$GOTO_START_CYC $GOTO_START_CYC $GOTO_START_CYC
$CYC_END
-------------------┌ -------------------┌ -------------------┌
$CYC_XY_RA $GOTO_XY_RAP $GOTO_XY_RAP
$GOTO_START_CYC $GOTO_START_CYC
$CYC_DRILL $CYC_DRILL
$SPECIAL $SPECIAL
$CYC_END $CYC_XY
...... $CYC_XY
...... $CYC_END
$GOTO_START_CYC $GOTO_START_CYC
$CYC_DRILL $CYC_DRILL
$SPECIAL $SPECIAL
$CYC_END $CYC_XY
...... $CYC_XY
...... $CYC_END
147
Post Processor
$CYC_DRILL $CYC_DRILL
$SPECIAL $SPECIAL
$CYC_END $CYC_XY
...... $CYC_XY
...... $CYC_END
-Related topics-
#Improve in the function SPLITD=1.
#Improvement in variable SPLITD.
148
Post Processor
∏ obstacole jump
┌ the Z start increase up
┐ the Z start increase down
MDRILL operations
SPLITD=0 SPLITD=1 SPLITD=2
$SPECIAL $SPECIAL $SPECIAL
$STARTTOOL $STARTTOOL
$STARTTOOL
$SPECIAL $SPECIAL
$SPECIAL
$OPERATION_BEGIN $OPERATION_BEGIN
...... $CYC_END
-------------------┌ -------------------┌ -------------------┌
$CYC_XY_RA $GOTO_XY_RAP $GOTO_XY_RAP
$CYC_MDRILL_PIC $CYC_MDRILL_PIC
$CYC_DRILL $CYC_DRILL
$SPECIAL $SPECIAL
$CYC_END $CYC_XY
...... $CYC_XY
$CYC_END
149
Post Processor
------------------- ┐ ------------------- ┐ ------------------- ┐
$CYC_XY_RA $GOTO_XY_RAP $GOTO_XY_RAP
$CYC_MDRILL_PIC $CYC_MDRILL_PIC
$CYC_DRILL $CYC_DRILL
$SPECIAL $SPECIAL
$CYC_END $CYC_XY
………. $CYC_XY
$CYC_END
$CYC_DRILL $CYC_DRILL
$SPECIAL $SPECIAL
$CYC_END $CYC_XY
…………. $CYC_XY
$CYC_END
150
Post Processor
151
Post Processor
Improve a new variable “CYCRAP“ to print\don’t print the GOTO_xx_RAP in the Drill
& MillDrill operations.
CYCRAP cycle call section GOTO_..._RAP
0 don’t call the section …RAP, same to V15.0
1 call the section ….RAP
The default value is 1.
From the VISI 16.0.04.09 when SPLITD=0 Vero Post Processor ask before every drill cycle the section
$GOTO_XY_RAP and $GOTO_Z_RAP.
From version 17.0.09.10 this system is apply also in all other SPLITD value 1 and 2. With this new variables
“CYCRAP=0” the section $GOTO_XY_RAP and $GOTO_Z_RAP aren’t call same to the Visi 15 version.
This variable could be useful to easy and rapid update a old VISI 15 CFG file on the VISI 18 without
modification in the macro-language.
We obtain the same result with the MDRILL=1.
-Related topics-
#New section sequence between drill cycle.
#Improvement in function SPLID=2.
Improvement a new parameter, to manage a maximum value, for a split arc tolerance.
This parameter set a maximum limit for the “split arc tolerance” to avoid problem caused by accidental wrong
input of “split arc tolerance” value.
Now when Vero Post Processor call a new CFG verify some main parameters value.
152
Post Processor
# Max_Feedrate = 10000 ;
# Min_Feedrate = 0 ;
# Small_Arc_Tolerance = 0.01 ;
# Split_Arc_Tolerance = 0.001 ;
[VEROPOST_inch]
# Max_Feedrate = 393.7007874 ;
# Min_Feedrate = 0 ;
# Small_Arc_Tolerance = 0.0039370079 ;
# Split_Arc_Tolerance = 0.0000393701;
-Related topics-
#Arc Helix management Vp_Arc_Small_Tolerance, MAXRD, SPLITC.
#New variables MINALN in macro-language.
153
Post Processor
Now we can optimize all 2D and 3D cam operations with the same CAM Setup.
The drill operation can be elaborate together with the other able operations but isn’t optimized.
The 5axis operations aren’t manage.
Now we can only elaborate one NC file with all operations. Now isn’t improvement the optimised on the NC
file split by tool or operation.
This optional functionality is activated by the switch “Ask if available” or “Always if available”, in the Vero Post
Processor menu.
154
Post Processor
“Ask if available” – If the operations are optimized, Vero Post Processor ask if customer want executed the
optimization elaboration.
“Always if available” – If the operations are optimized, Vero Post Processor always run the optimization
elaboration.
The other parameters, in the “NC Optimiser” tab, are useful to change the elaboration procedure.
The parameters “NCSpeed program path” and “NCSpeed configuration path” are normally empty. These sets
are read by the windows register, if customer needs to use a specific NC Speed can use this parameters.
Customers can run a multiple optimizations at the same time. Each elaboration is stand alone.
On the NC file directory the optimization generate some auxiliary files and sub-directory.
The original NC file isn’t change, the optimised NC file is created in a sub-directory “..\opt”. In the sub-
directory “..\opt” there are the optimised NC file (with the same name of the original NC file) and one optimised
NC file for each operation.
In the original NC file directory there are some files useful to revise the optimization. If customer executes a
double-pick on the file “NC file name.prjx” can open the NC Speed interface and modify the need parameters
and revise the optimization process.
On the sub-directory “..\sim” there are the intermediate stock files “*.sim” for each operations. These
geometrical files are useful to reduce the time revise.
If customer executes a double-pick on the file “NC file name.XML” can display the report of the optimized
operation.
155
Post Processor
During the first optimization, Vero Post Processor ask a need setting that are memorize in the post processor
file configuration “*.CFG”.
The “NC Machine” and “Default value configuration\#Project wizard” are 2 setting need to NC Speed.
This files are generate by the NC Speed program and they are need to define:
- “NC Machine” mechanical tool machine performance
- “Default value configuration\#Project wizard” NC Speed general optimization parameters.
“NC format” is the type of NC language.
If customer need to change this parameters, must be open the Vero Post Processor interface menu and run
the menu “Setup \ Edit NC Speed settings”.
156
Post Processor
N.b.
NC Speed to elaborate a Helix movements in the ISO language, need to have the following coordinates
sequence:
G2/3 X…… Y…… Z…… I…… J……
In the CFG macro language sections we must set:
$SPLIT_HELICAL
………
@1N #2 @2(TINT) #5 @5X #6 @6Y @7(VHI) #21 @21(XC-XOLD) #22 @22(YC-YOLD) FEED SPEED ;
……
$END_HELICAL
………
@1N #2 @2(TINT) #5 @5X #6 @6Y @7(VHI) #21 @21(XC-XOLD) #22 @22(YC-YOLD) FEED SPEED ;
……
157
Post Processor
-Related topics-
#Sub-program and label management
-Related topics-
#Restored the Drill Cycle management without the Face management.
#Fixed cycles variables
158
Post Processor
-Related topics-
#Arc Helix management Vp_Arc_Small_Tolerance, MAXRD, SPLITC.
#Improvement a new parameter, to manage a maximum value, for a split arc tolerance.
-Related topics-
#Drill group management SPLITD and DSPPRI
#Improve a new variable “CYCRAP“ to print\don’t print the GOTO_xx_RAP in the Drill & MillDrill operations.
#Improvement the SPLITD=2 in the function STYPC.
#Improvement in variable SPLITD.
#New variable CYCCLE.
159
Post Processor
It is possible to define how VP generates the NC file name in the “Main\sub-programs” window from the
“General configuration” parameters:
In the “Main filename” and “subprograms filename” fields it is possible to set the following variables:
• - empty line - :the main program (temporary file) is delete at the end of Post Processor. In
the macro-language the variable NOMAIN is set to 1.
• WORKF :NC filename is taken from the “work file” name
• PRJ :NC filename is taken from the Project name
• GRPNAM :NC filename is taken from the Group name
• SPNUM :NC filename is defined by an incremental number. The starting number is
defined in the parameter “First sub-program number”. If the option “Remember last sub-program
number” is switched on, then the number is automatically update to the last Sub-program number.
This value isn’t automatically increased if there is the “NC name” saved in the CAM Navigator
tree. This variable is type string; if you have need in the macro-language as same variable type
numeric you can use SPROGN Sub PROGram Number.
• “…user string…”: NC filename is defined by the user.
Only for “Main filename”:
• ENGINR : NC filename is taken from the “project author”
• LIBRAR : NC filename is taken from the “tool crib name”
• MACHIN : NC filename is taken from the “machine name”
• PARTMT : NC filename is taken from the “part material”
Only for “Subprograms filename”:
• ALFA : NC filename is taken from the “operation description in the cam
navigator tree”
• REMARK : NC filename is taken from the “operation comment”
• TLREF : NC filename is taken from the “tool internal code1”
• TLREFB : NC filename is taken from the “tool internal code2”
160
Post Processor
VP allows to define more than one variable, allowing the generation of very complex strings, if necessary.
Each variable must be separated by the character “,” (comma).
Example:
Wkf filename=pippo
Project name= roger
Wanted NC filename= pippo__roger
Note:
“Main filename” field is not mandatory and can be empty for special application.
Consider that, if necessary, it is also possible to truncate the string taken from the system, allowing to
generate a very personalised NC filename.
For the fixed variables WORKF, PRJ, GRPNAM, it is possible to specify a special instruction that tell the
system how to manipulate the string.
Variable[“instruction”]
Where “instruction” is a range that identify the character to extract from the original string:
Wkf filename=pippo
-Related topics-
#Vero Post Processor rules to assign a name to NC file.
161
Post Processor
Ex. N.1
One main and one sub-program for each
group.
Ex. N.2
One sub-program, for each group,
without main.
162
Post Processor
The group management need to be set in macro-language and in VP “Main\sub-programs” tab from the
“General configuration” parameters window.
The generation of the sup-programs depends from the CAM-navigator modality (standard or group).
CAM-navigator CAM-navigator group
standard mode mode
Node to run the Vero Post Processor Post Processor group management
Run from Project NO YES
Run from Group NO YES
Run from CAM-setup NO Not execute VP
Run from CAM-setup (mixed selection) NO Not execute VP
Run from Operation NO YES
Run from Operation (mixed selection) NO YES
Run from Group (mixed selection) NO YES
(Mixed selection) = groups, cam-setup and operations assembly in the same selection.
When there is a mixed selection:
• In CAM-navigator group mode, VP automatically assigns a name to the operations not included in a
group (workf file + incremental number).
• The dynamic menu displays a command “Run Post Processor Mixed selection”.
In CAM-navigator standard mode, when customer run a Post Processor by a group, VP check if the group
operation sort is equal to the sort in standard mode. If they are different VP doesn’t execute the Post
Processor elaboration.
NOMP:
defines the “Main filename” in the macro-language
SPNAME:
Defines the “Subprograms filename” in the macro-language
Available fixed variable for “main filename” and “subprograms filename”.
$GROUP_BEGIN:
This section is recalled when there is a group. It’s immediately recalled after the section $STARTPP.
Normally we can insert the command DIVFIL in this section, to manage sub-programs for group.
$GROUP_END :
This section close the group.
NOMAIN:
MAIN program Not generate – if the parameter “Main filename” is empty, the main program is delete
and this variable value is 1. This is useful to manage a test in the macro-language. Example:
(NOMAIN==1)?@1N #20 @20(30); -→ M30; close a program
(NOMAIN==0)?@1N #20 @20(99); -→ M99; close a sub-program
163
Post Processor
GRPMOD:
GRouP MODe – if =0 means that there are not groups. If =1 means that there are one or more
groups.
GRPOPE:
GRouP OPErations – represent the number of operations in the current group
STRPRINT:
This command allows to create in the ISO code a personalised string taking the information from the fixed
variables WORKF, PRJ, GRPNAM, “…user string…”.
As for the “Main filename” also for the STPRINT command it is possible to identify the character to
extract from the original string using the instruction [from-to].
It is possible to define 3 different strings in the same macro-language by using the following variables:
STRNA
STRNB
STRNC
STRPRINT(STRNA, PRJ[3],"00-99\",PRJ[5],"_cam\",PRJ[9],"\",PRJ,"_",GRPNAM,".jt")
Where:
STRINA: defines the first available string
PRJ[3]: extracts the 3rd letter from the project name (“A”)
“00-99\”: print exactly this (user) string
PRJ[5]: extracts the 5th letter from the project name (“6”)
“_cam\”: print exactly this (user) string
PRJ[9]: extracts the 9th letter from the project name (“3”)
“\”: print exactly this (user) string
PRJ: extracts the all letters from the project name (“P-AA6MOD3”)
“_”: print exactly this (user) string
GRPNAM: extracts the all letters from the group name (“TOP-PIECE”)
“.jt”: print exactly this (user) string
A00-996_cam\3\P-AA6MOD3_TOP-PIECE.jt
-Related topics-
#Vero Post Processor rules to assign a name to NC file.
#Improvement the string variables available in macro-language.
164
Post Processor
SECSEQ=0 SECSEQ=1
$STARTPP $STARTPP
$GROUP_BEGIN $GROUP_BEGIN
$END_DIV_FILE $END_DIV_FILE
$START_DIV_FILE $START_DIV_FILE
$STARTFACE $STARTFACE
$STARTTOOL $STARTTOOL
$OPERATION_BEGIN $OPERATION_BEGIN
$OPERATION_END $OPERATION_END
$ENDTOOL $ENDTOOL
$STARTTOOL $STARTTOOL
$OPERATION_BEGIN $OPERATION_BEGIN
$OPERATION_END $OPERATION_END
----------------------- $ENDTOOL
$ENDFACE $ENDFACE
$GROUP_END $GROUP_END
$GROUP_BEGIN $GROUP_BEGIN
$END_DIV_FILE $END_DIV_FILE
$START_DIV_FILE $START_DIV_FILE
$STARTFACE $STARTFACE
$ENDTOOL -----------------------
$STARTTOOL $STARTTOOL
$OPERATION_BEGIN $OPERATION_BEGIN
$OPERATION_END $OPERATION_END
$ENDTOOL $ENDTOOL
$STARTTOOL $STARTTOOL
$OPERATION_BEGIN $OPERATION_BEGIN
$OPERATION_END $OPERATION_END
----------------------- $ENDTOOL
$ENDFACE $ENDFACE
$GROUP_END $GROUP_END
$GROUP_BEGIN $GROUP_BEGIN
$END_DIV_FILE $END_DIV_FILE
$START_DIV_FILE $START_DIV_FILE
$STARTFACE $STARTFACE
$ENDTOOL -----------------------
$STARTTOOL $STARTTOOL
$OPERATION_BEGIN $OPERATION_BEGIN
$OPERATION_END $OPERATION_END
$ENDTOOL $ENDTOOL
$STARTTOOL $STARTTOOL
$OPERATION_BEGIN $OPERATION_BEGIN
$OPERATION_END $OPERATION_END
$ENDTOOL $ENDTOOL
$ENDFACE $ENDFACE
$GROUP_END $GROUP_END
$ENDPP $ENDPP
$CLOSEDPP $CLOSEDPP
165
Post Processor
Improvement in the command WRT_FORM. New variable LINNUM.
There are some improvement in this command:
• In previous version can’t manage a separate block number increment, in the temporary file.
When in a macro-language the command WRT_FORM wrote a block, in the temporary file, the
command @1N was incremented with the same number of other macro-language block.
The new variable LINNUM can switch the old or new behaviour.
LINNUM stands for LINe NUMbering
LINNUM = 0 previous behaviour (default value) – all macro-language use the same block increment
for num block @1N.
LINNUM = 1 the temporary file as a separate increment for a num block @1N.
• Now WRT_FORM can call a macro-language user section.
• Now WRT_FORM can use the free user variables.
• Now if the WRT_FORM is before an other command doesn’t increase the @1N channel for other
command lines.
-Related topics-
-Related topics-
#New variable TLSDUP to print the TLIST with the duplicate tool.
#Tools variables
New value for TLSDUP.
166
Post Processor
-Related topics-
#Drill group management SPLITD and DSPPRI
Add a safety check, test if value exceed the limit for given channel.
All numeric value is print by a channel. All channels have a set that define a max number of integers.
In previous version there isn’t a safety check to stop this critical condition, post processor print the last
numbers of the value.
Ex.
X value equal 185669.36
the number of integer in X channel is 5
in NC file is print X85669.36
Now the post processor prints an error message in the NC file:
Warning: intercepted a value out of range! '………" ;' (channel …..=……..)
-Related topics-
Improvement a new parameter NOCHANCHK.
167
Post Processor
• Improve the ZR and ZS management, in the MACOUT sections (bug-zilla 21801). These is need to
create a CNC macro for a features at a different Z.
ZS = Z of start work
ZR = Z of final clearance position
• Bug-fixing a problem in the Z print by $GOTO_Z_RAP when the operation features have a different
ZR and ZS and have only one\more Z step (bug-zilla 21894).
• Improve a safety functionality, that call the section $GOTO_Z_RAP before the first feature and after
the last feature (bug-zilla 21894 and 21752). This is useful to print the operation start\end Z position.
Before this improvement the Z coordinate of points A and B aren’t correctly print.
• Now when MACOUT is set equal 1 but there isn’t a need section, to create a CNC macro, the NC
output file is equal to the output create with MACOUT=0 (bug-zilla 21540).
-Related topics-
#New functionality “MACOUT” to manage CNC pock/mill cycles.
168
Post Processor
-Related topics-
#STRING
-Related topics-
#Cutting condition variables
169
Post Processor
-Related topics-
Add a safety check, test if value exceed the limit for given channel.
170
Post Processor
Post Processor read the python functions in a new cfg section or in an external file *.py.
Post Processor looks python file with a same name of *.cfg file used (n.b. the names must have the same
uppercase/lowercase letters, not use a sub-path with character “.” ).
With a new Post Processor command “Setup\Macrolanguage and Python”, customer can edit the internal
python code. If there isn’t the internal python section, Post Processor found the external *.py file and integrate
this file in *.cfg file.
There is a new special section in macro-language that calls a python function, before the NC filename
request. In this section is available a variable NCFNAM, that store the NC filename and path. Python function
can change the path and NC filename generate for default by Visi.
$INITPP
PYTHON(VeroPostSetOutputNcFilename)
In other section you can read and write all macro-language variables.
-Related topics-
#Python use in Vero Post Processor.
Improvement in STYPM=1 or 2.
-Related topics-
#Improvement in the function STYPO.
#Restored the reset of Z value for a sub program manage by STYPM=1 or 2.
#Bug-fixing for the variables NBS.
#Modify in the STYPM, STYPC and SPLITD.
171
Post Processor
Before Visi 20, post processor doesn’t automatically manage the extension change.
This was a problem when Visi Machining use Store NC filename option and post processed the same
operation with different post processor CFG.
Now if customer post processed the same operations, with 2 different CFG, the NC file extension is
automatically changed.
Ex.
Post processed with fanuc0m.cfg generate a file ncfilename.NC
Post processed with tnc.cfg, proposed NC name is ncfilename.nc but Visi generate ncfilename.hnc, without
customer input.
When Post Processor execute a section $EXITPP, the main NC file is closed and the Post Processor function
can execute an operation on this NC file (ex. Merge file, move this files etc).
-Related topics-
#Various
#Improvement in PTIME and TTIME.
172
Post Processor
- rapid time -
Now in the machine parameters, there is a new variable that set the rapid feed, managed by machine. This
feed is useful to calculate the total machining time, see the following image with a new Visi query.
TTIME,PTIME,TTIMEA,PTIMEA – print a sum of feed and 3D rapid time (same as previous versions)
RTIME – print only the rapid time
MTIME – print the total machining time (rapid time + 3D rapid time + feed time)
LENR – print the rapid length
n.b.
This functionality isn’t available on tool-path build in previous version.
The dwell time isn’t managed in drill operation set in modality= chipping.
-Related topics-
#Various
#Bug-fixing in TTIME, PTIME, TTIMEA and PTIMEA.
173
Post Processor
Bug-fixing in WRT_FORM.
In the past the command WRT_FORM was use with a different syntax rules.
Ex.
(VFI==VW)?;WRT_FORM(1, #2 @2(0) @7(VU))
(VFI==VW)?WRT_FORM(1, #2 @2(0) @7(VU));
(VFI==VW)?WRT_FORM(1, #2 @2(0) @7(VU))
(VFI==VW)?;WRT_FORM(1, #2 @2(0) @7(VU));
In previous version there were some problems, to correctly print in the NC file the carriage return.
Now in Visi 20 all conditions are correctly manage.
(bug-zilla20988)
-Related topics-
#Tools variables
Improvement in variable R .
Now the variable R print also the tool tip fillet radius for a tool type:
“7,Corner rounding cutter. DBT_MILL_CORNER_ROUND” (Bug-zilla 22799).
-Related topics-
#Tools variables
Improvement in NBPTS.
In previous versions NBPTS prints only the number of hole machined by drill operation.
Now NBPTS must print also the feature number for a Mill operations. This value is available in the section
$OPERATION_BEGIN.
In tool sheet the NBPTS value is write by a "Op_NumMachinedFeatures" variable.
(bug-zilla 22134).
The variable DEB turn on\off the Post Processor debug mode.
In Visi 20 there is a new option. Now the old option 3 is managed by the option 4.
= 0 no debugging, NC output file is normally generated.
= 1 print in the NC output file the macro-language sections.
= 2 print in the NC output file the macro-language sections and variables.
= 3 print in the NC output file when a section is called and when is leaving from a section.
= 4 print in the NC output file all the information from parser, is useful to understand the flow of macro-
language code.
-Relatedtopics-
#Post Processor DEBUG mode.
174
Post Processor
-Relatedtopics-
#Operationtype-TYPM
#Operationtype-OPTYPE
-Related topics-
#Restored the Drill Cycle management without the Face management.
#Fixed cycles variables
#Bug fixing for the drill cycle variables XL ZL.
175
Post Processor
REFWPF
REFWP
176
Post Processor
MECANG
ANGSYN
REFWSF
REFWS
-Related topics-
#Face variables and management
177
Post Processor
-Related topics-
Improvement for sub-programs managements.
Improvement for the incremental coordinates managements.
178
Post Processor
Example of use:
?(RTCP==0)?”G43.4”;
-Related topics-
#Face variables and management
179
Post Processor
This option is useful when is need to print all tool crib tools.
-Related topics-
Tools variables
New variable TLSDUP to print the TLIST with the duplicate tool.
Improvement in the command TLSDUP.
To manage the VISI 2016 R1 sub-program for Z levels with STYPM 1 or 2 is need to add the next sections.
$START_SUB_MILL_ENH
$END_SUB_MILL_ENH
$CALL_SUB_MILL_ENH
With this configuration, macro-language can manage previous and VISI 2016 R1 ub-program for Z levels with
different sections. This is useful because approach\retract movements are manage in different mode between
previous version and VISI 2016R1.
180
Post Processor
In previous release, the incremental mode is not completely managed in all macro-language sections and in
all condition.
It’s advice to always force the print of channel when incremental mode is activated.
For example #5 @5(X);
The recovery of incremental error is warranted up to 3 decimal places.
There is only one management for XYZ coordinates and angular coordinates. For example the next angular
values will be management as normally coordinates mode.
For example the IPA angular
Input NC output value
Input angular value= +90° CP IPA90
Input angular value= +180° CP IPA90
Input angular value= +270° CP IPA90
Input angular value= +360° CP IPA90
Input angular value= +90° CP IPA-270
Input angular value= +180° CP IPA90
-Related topics-
Improvement for the incremental coordinates managements.
-Related topics-
Chamfering improvement in ZL and XL.
181
Post Processor
-Related topics-
Improvement for the incremental coordinates managements.
-Related topics-
MACOUT and MDRILL functions.
182
Post Processor
Next the previous behaviour that does not allow to set any decimal places.
DEBDP value Result in mm Result in inch
0 $GOTO_XY_RAP $GOTO_XY_RAP
X =49.992 X =49.99257
Y =2.369 Y =2.36916
In mm display 3 decimals. In inch display 5 decimals.
1 $GOTO_XY_RAP $GOTO_XY_RAP
X =49.99257 X =49.9925763
Y =2.36916 Y =2.3691645
In mm display 5 decimals. In inch display 7 decimals.
-Related topics-
Post Processor DEBUG mode
-Related topics-
Mathematical function in macro-language and main syntax rules.
183
Post Processor
When SPLITG =0 and the drill tool-path has activated the “split cycle in G01” flag, the effect of this flag is
limited on operation that has this flag=ON.
Rules.
• SPLITG (=1) is enabled by macrolanguage and disabled by operation parameter: SPLITG is enabled
and stays enabled at the end of the operation.
• SPLITG (=1) is enabled by macrolanguage and enabled by operation parameter: same condition than
before
• SPLITG (=0) is disabled by macrolanguage and enabled by operation parameter: SPLITG is enabled
and is disabled at the end of the operation.
• SPLITG (=0) is disabled by macrolanguage and disabled by operation parameter: SPLITG is disabled
• SPLITG (=2) is enabled by macrolanguage and the operation parameter: SPLITG is ignored.
-Related topics-
Split the drill cycle SPLITG
New Variable “SPLITG” to spilt Drilling cycles output
-Related topics-
Helix variables.
Arc Helix management Vp_Arc_Small_Tolerance, MAXRD, SPLITC.
184
Post Processor
-Related topics-
Improvement the variable HOVERS, VOVERS, HSTEP, VSTEP and VSTEPL for the ISO Machining and
5axis operation.
Chamfering improvement in ZL and XL.
Bug-fixing in variables ZL.
MOVNMG = 0; This is the default value; post processor uses the default value to define the type of
movement.
MOVNMG = 1; Post processor use the test based on normal angle value to define the type of movement.
185
Post Processor
KINBAS
NAXEX AXCONF
186
Post Processor
187
Post Processor
GDRILL = Gun DRILL method 0=Never (default value) 1=Always or ratio (when gun drilling is
activated). The combo box has 3 value but this parameter is used to indicate if gun drilling is
ON or OFF.
GDRSPH = Gun Drill Reduce Speed in Pilot Hole
GDSPIL = Gun Drill Speed in PILot hole
GDREVP = Gun Drill REVersed rotation in Pilot hole
EDISRD = gun drill Entry DIStance at ReDuced f/s ( % )
GDSLOD = Gun Drill SLOwing Distance (%)
GDSPED = Gun Drill SPEeding Distance (%)
GDESPD = Gun Drill Extra SPeeding Distance
GDRFSD = Gun Drill Reduce Feed within Speeding Distance
GDSLOF = Gun Drill SLOwing delta F (%)
GDSLOS = Gun Drill SLOwing delta S (%)
GDRFHB = Gun Drill Reduce Feed at Hole Bottom
GDSDHB = Gun Drill Slowing Distance at Hole Bottom (%)
GDPOPT = Gun Drill Points OPTimisation
188
Post Processor
In 1st gun drilling section $GOTO_Z_WRK are print the next parameters.
-Related topics-
Gun drilling parameters.
New variables EDISRD.
189
Post Processor
190
Post Processor
In post processor macro language is created a new section $COOLANTPP to manage the change of coolant.
This section is call every time when there is a code of change of coolant type.
191
Post Processor
The geometric feature and the tool-path parameters are print in macro language section
“$GUNDRILLING_START”.
In VISI 2021.0 are created a new post processor macro-language section to simplify the work to customize
the CFG post processor for user.
If there is not the new section, post processor manages the gun drilling tool-path with the previous logical.
This is useful to allow the dealer to update all user cfg files for a new added option.
Now the new option are correctly manage for a standard cfg files but if user has a post processor with hard
customization could have a side effect if use a new gun drilling option.
In post processor macro language is created a new section $COOLANTPP to manage the change of coolant.
This section is calling every time when there is a code of change of coolant type.
Now when there is a gun drilling tool-path following is the macro language section sequence.
$OPERATION_BEGIN
All the operation gun drilling parameter are define in this section.
$SPECIAL
$GOTO_XY_RAP
$GOTO_Z_RAP
$GUNDRILLING_START
$GUNDRILLING_DRILL
$GUNDRILLING_END
192
Post Processor
$GUNDRILLING_START
193
Post Processor
$GUNDRILLING_DRILL
194
Post Processor
$GUNDRILLING_END
-Related topics-
Gun drilling parameters.
195
Post Processor
New parameter for print machining tolerance and side and bottom allowance for 3to5 and
autotilting operation.
From VISI 2024.3, the post processor can print the following parameters MACTOL and HOVERS for 3to5 and
autotilting operation. The value of this parameters are read from main operation that is transformed by 3to5
and autotilting operation.
Operation variables.
Improvement the variable MACTOL for the new Aggregate operation.
Enhancement MACTOL for 2.5axis operation.
Improvement the variable HOVERS, VOVERS, HSTEP, VSTEP and VSTEPL for the ISO Machining and
5axis operation.
New Variable VOVERS
196