cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy CL in subroutine

Highlighted
Newbie

Copy CL in subroutine


Can someone help me out? I am have a subroutine in my Pro/Nc. Whenever I check the Copy CL in the subroutines window then my tap file is very small (About 40 lines) but when I uncheck that option to have the post call up the subroutine (m98px) then my tap file go up to 5000 lines which it doesn't make any sense at all. This is what I have in my post

CIMFIL/ON, DEFSUB
SUBNUM = POSTF (7,4)
TPNUM = TEXT/'O',CONVF,SUBNUM,4,0,0,1,1,'$'
SEQNO/OFF
INSERT/TPNUM
SEQNO/10,INCR,1
CIMFIL/OFF
CIMFIL/ON, ENDSUB
INSERT/(TEXT/'M99$')
SEQNO/OFF
INSERT/(TEXT/' $')
SEQNO/ON
CIMFIL/OFF
CIMFIL/ON, CALSUB
CNUM = POSTF (7,4)
TPNUM = TEXT/'M98 P',CONVF,CNUM,4,0,0,1,3,'$'
INSERT/TPNUM
CIMFIL/OFF

I am very appreciated if anybody from the group able to point me in the right direction.

Sincerely,



Thanh Nghi

CAD Supervisor

First Technology Innovative Solutions

Phone #: 734-254-1261

Fax #: 734-451-9549