Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Inverse feedrate trouble


Bruce Caulley
 Share

Recommended Posts

Hello all, (for the third time today!!)

 

I have set the control definition to output inverse feedrates for 4th and 5th axis for both linear and rotary output, but it isn't outputting. I have turned invers feedrates on in the post switch, but the variables below may be my problem:

 

code:

 #Feedrate calculation variables

frdelta : 0 #Calculation for deg/min

frinv : 0 #Feedrate inverse time

frdeg : 0 #Feedrate deg/min actual

prvfrdeg : 0 #Feedrate deg/min actual

ldelta : 0 #Calculation for deg/min, linear

cldelta : 0 #Calculation for deg/min, linear and rotary

circum : 0 #Calculation for deg/min

circuma : 0 #Calculation for deg/min

circumc : 0 #Calculation for deg/min

ipr_type : 2 #Feedrate for Rotary, 0 = UPM, 1 = DPM, 2 = Inverse

rotary_arm : 0 #Calculation for deg/min

tilt_arm : 0 #Calculation for deg/min


Should any of the other values be something other than 0??

 

Bruce

Link to comment
Share on other sites

Thanks John, but no dice.

 

This is what I get no matter what:

 

code:

 0  BEGIN PGM  1003 MM

1 ; PROGRAM NAME - 1003

2 ; DATE=DD-MM-YY - 17-12-05 TIME=HH:MM - 10:36

3 ; POST LICENSE - Ferra Engineering

4 ;

5 ; DEFINE TOOL NAMES

6 M129

7 ;

8 L Z-1 F MAX M91

9 L X-495 Y-350 R0 F MAX M91

10 ;

11 TOOL CALL 50 Z S1010

12 ;

13 CYCL DEF 32.0 TOLERANCE

14 CYCL DEF 32.1 T0.01

15 ;

16 CYCL DEF 7.0 DATUM SHIFT

17 CYCL DEF 7.1 # 0

18 ;

19 CYCL DEF 10.0 ROTATION

20 CYCL DEF 10.1 ROT 0

21 ;

22 CYCL DEF 19.0 WORKING PLANE

23 CYCL DEF 19.1 A+0 B+0 C+0

24 L B+Q121 C+Q122 F MAX M126

25 ;

26 ;

27 ; TOOLPATH - FINISH5

28 ; STOCK LEFT ON DRIVE SURFS = +0

29 CYCL DEF 19.0 WORKING PLANE

30 CYCL DEF 19.1

31 M128

32 L X-80.175 Y-52.67 F MAX ; CLEARANCE FOR TABLE ROTATION

33 L Z+2.611 F MAX ; CLEARANCE FOR TABLE ROTATION

34 L B+180 C+301.54 F MAX

35 L X-37.561 Y-26.515 Z+2.611 R0 F MAX M13

36 L X-24.777 Y-18.669 F MAX

37 G94 L X-20.032 Y-17.7 Z+1.368 F400

38 L X-20.168 Y-17.849 Z+1.506 C+305.125 F300

39 L X-20.306 Y-18.01 Z+1.632 C+308.886

40 L X-20.434 Y-18.173 Z+1.741 C+312.588

41 L X-20.558 Y-18.346 Z+1.838 C+316.349

42 L X-20.677 Y-18.532 Z+1.923 C+320.209

43 L X-20.781 Y-18.718 Z+1.991 C+323.892

44 L X-20.874 Y-18.912 Z+2.046 C+327.536

45 L X-20.953 Y-19.095 Z+2.085 C+330.88

46 L X-21.028 Y-19.294 Z+2.115 C+334.411

47 L X-21.098 Y-19.509 Z+2.133 C+338.094

48 L X-21.157 Y-19.738 Z+2.139 C+341.889

49 L X-21.2 Y-19.955 Z+2.133 C+345.369

50 L X-21.231 Y-20.183 Z+2.115 C+348.936

51 L X-21.251 Y-20.425 Z+2.084 C+352.623

52 L X-21.255 Y-20.672 Z+2.04 C+356.321

53 L X-21.246 Y-20.923 Z+1.983 C+360.032

54 L X-21.221 Y-21.189 Z+1.91 C+363.919

55 L X-21.178 Y-21.445 Z+1.827 C+367.642

56 L X-21.116 Y-21.698 Z+1.733 C+371.301

57 L X-21.035 Y-21.949 Z+1.627 C+374.973

58 L X-20.934 Y-22.201 Z+1.505 C+378.712

59 L X-20.814 Y-22.456 Z+1.367 C+382.568

60 L X-20.674 Y-22.703 Z+1.216 C+386.434

61 L X-20.516 Y-22.937 Z+1.054 C+390.258

62 L X-20.34 Y-23.159 Z+.88 C+394.077

63 L X-20.147 Y-23.368 Z+.694 C+397.925

64 L X-19.937 Y-23.565 Z+.493 C+401.837

65 L X-19.715 Y-23.741 Z+.285 C+405.715

66 L X-19.486 Y-23.893 Z+.073 C+409.483

67 L X-19.251 Y-24.024 Z-.144 C+413.216

68 L X-19.008 Y-24.135 Z-.367 C+416.957

69 L X-18.764 Y-24.224 Z-.592 C+420.647

70 L X-18.52 Y-24.294 Z-.821 C+424.335

71 L X-18.265 Y-24.348 Z-1.063 C+428.207

72 L X-18.019 Y-24.379 Z-1.298 C+431.944

73 L X-17.774 Y-24.389 Z-1.534 C+435.723

74 L X-17.543 Y-24.381 Z-1.759 C+439.346

75 L X-17.325 Y-24.357 Z-1.972 C+442.834

76 L X-17.098 Y-24.317 Z-2.198 C+446.607

77 L X-16.884 Y-24.266 Z-2.414 C+450.301

78 L X-16.684 Y-24.204 Z-2.616 C+453.877

79 L X-16.5 Y-24.133 Z-2.802 C+457.302

80 L X-16.332 Y-24.056 Z-2.971 C+460.545

81 L X-16.154 Y-23.962 Z-3.149 C+464.121

82 L X-15.978 Y-23.858 Z-3.323 C+467.825

83 L X-15.802 Y-23.742 Z-3.493 C+471.684

84 L X-15.639 Y-23.621 Z-3.645 C+475.43

Not a change in feedrate to be found anywhere. headscratch.gif I get the same result with 4 or 5 axis output.

 

I might have to do this in V9 afterall.

Bruce

Link to comment
Share on other sites

Just noticed the G94 on line 37 above. This the ancestor of this post is ISO/Fanuc it looks like I need to substiture this with the Heidenhain M code for inverse feed. I tried using M116, but that can only be used in one plane and not with M128 active. (true?)

 

Anyone know what the M code for inverse feed is on a TNC430 controller?

 

Any suggestions????

 

Bruce

Link to comment
Share on other sites

Thanks Sleepy and Pip, but I need the heidi equivalent of G93/G94. It should be an M code, but since this post must have been modified from an ISO one I think a couple of the less used functions weren't converted over. Looking through the manual I don't see anything other than M116 which only works in one plane, so can't really be what I am after. I will send an email off to Dave Thompson first thing in the morning.

 

Bruce

Link to comment
Share on other sites

Remember that a pre-X post may not use all control def variables.

 

I believe that the M128 TCPM 5-Axis comp is tied directly to the interpretation of the linear mm/min feed based on the kinematic model of the machine as defined by parameters on your control. To disable this feed interpretation, you'd need to disable M128. Your post is not configured for this from a coordinate mapping standpoint, or a tangential velocity standpoint (used in the calculation of inverse feeds).

 

To get inverse feeds in our posts, in a post that supports them, and on a control that supports them, you'd need these settings:

 

use_frinv : 1

rot_feed : 1

 

With rot_feed set to 0, use_frinv has no effect.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...