Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro program location
#1
Where should the programs called by a G65 Pxxxx be located?
What folder?
Reply
#2
it should be in prog 1000

G-Codes
To handle machine-tool-style G-codes, which provide direct access to part programs created by
CAD/CAM programs, Turbo PMAC treats a Gnn statement as CALL 1000.nn000. The following
values on the line (e.g. X1000) can be treated as parameters to be passed, as for a canned cycle, or the
subprogram can execute without arguments, return, and execute the rest of the line (as for a modal Gcode).
The machine tool designer writes Program 1000 to implement the G-codes as he wishes, allowing
customization and enhancements. Delta Tau provides a sample file implementing all of the standard Gcodes.
M, S, T, and D codes are similarly implemented.
Reply
#3
In the same folder as the main NC program. See the Pro2 NC manual in the section for "Parametric Programming":
http://www.deltatau.com/manuals/pdfs/PMA...3277989394
Reply
#4
(06-21-2016, 10:01 AM)steve.milici Wrote: In the same folder as the main NC program. See the Pro2 NC manual in the section for "Parametric Programming":
http://www.deltatau.com/manuals/pdfs/PMA...3277989394

Are you saying the same folder as the calling program?
I read the manual. I did not read anywhere its states where to store the called macro program.

See attached error image.


Attached Files Image(s)
   
Reply
#5
Yes, they must all reside in the same directory.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)