We've been asked a couple of times recently about calling a sub program with any filename from VR Milling v5.
Instead of having to name your program something like 9001.fnc you can use the [SUBPROGRAM directive which allows a number to be associated with any file
eg:
[SUBPROGRAM 9001 U:\Denford Subprograms\RectangularPocketSub
M98 P9001
Will define the file RectangularPocketSub.fnc located on the network drive: U:\Denford Subprograms\ to be the program called by M98 P9001
So, the file can be named anything you like, and located anywhere locally or externally (network)
Calling a sub program in VR Milling v5
Moderators: Martin, Steve, Mr Magoo
- Denford Admin
- Site Admin
- Posts: 3649
- Joined: Fri 10 Feb , 2006 12:40 pm
- Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can - it makes it easier for everyone to know what you're talking about then. - Location: Sunny Brighouse
- Contact: