VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2011-12-22 02:16:45

IHLjr
Member
Registered: 2011-12-21
Posts: 3

Setting up Gcode to custom Macro

I am a new user on Vericut 7.1. I am trying to setup G913 to call macro program O9011 for a custom threadmill cycle.

I am trying to use "CallNCMacro" under G913 in the G-code processing but however I try to configure it  it comes up with “Error: Cannot locate subroutine None for call”. I can run the macro calling G65P9011… ok.
If G65P8025, for example, is called earlier in the program and then G913 is run, G913 runs macro 8025.
I have looked extensively through help files and forum and have tried many different ways to setup G913 in the G-code processing but I have had no luck.

Can someone point me in the right direction to correctly configure the G913 for Fanuc 31i control.

Is there any documentation that details this process?

Offline

#2 2011-12-22 14:36:20

moudy
Member
Registered: 2004-11-11
Posts: 19

Re: Setting up Gcode to custom Macro

Try using Configuration... Adv. Options... Substitute tab... Click Add, if you have entries it will copy the last one... Make the Input text G913 and the output text G65P9011.

Offline

#3 2011-12-26 07:52:24

MustaphaC
VERICUT Specialist
From: Le Mans, France
Registered: 2004-10-14
Posts: 130
Website

Re: Setting up Gcode to custom Macro

Thanks Moudy!
If you want to make G913 to call subroutine O9011 you have to:
1- Configure Word/Address G 913 to call macro CallSubName, Value 9011
[attachment=0:395l55fy]<!-- ia0 -->G913_1.jpg<!-- ia0 -->[/attachment:395l55fy]
2- Add link to your subroutine O9011. Their 3 places for subroutines (Project, Control, Machine). As this looks to be a subroutine specific to the machine go to menu Machine > Machine Settings... > Subroutines tab, add the path to the subroutine, for example "C:\Users\mchahid\Documents\9011.sub"
[attachment=1:395l55fy]<!-- ia1 -->G913_2.jpg<!-- ia1 -->[/attachment:395l55fy]


Mustapha

Offline

#4 2012-01-10 22:19:52

IHLjr
Member
Registered: 2011-12-21
Posts: 3

Re: Setting up Gcode to custom Macro

Thanks, the CallSubName was what I was searching for.

Offline

Board footer