586,326 active members*
3,981 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > UG NX > MFG_Wire EDM_ARC OUTPUT
Results 1 to 17 of 17
  1. #1
    Join Date
    Jan 2008
    Posts
    63

    MFG_Wire EDM_ARC OUTPUT

    Hi all,

    Using NX 4.0.3.3. Our Wirecut machine's RS232 interface stopped working for unknown reasons and i want to print out the G code file so that we can type manually on the controller untill the DNC problem is solved.

    I have a ceated a 4-axis wirecut program, the problem is the length of program (too many blocks) and I figured out that the program generated by NX is in point-point format and is not outputting the arcs. however my option under Start/End Events>Arc output is checked ON. It is not the problem of postprocessor either because i am using the default WIRE_EDM post provided by UGS by changing the output units to MM. The same post will output arcs in the case of a 2-axis program. i am attaching a sample file for your perusal. Please have a look and advice me.

    For your info the motion format for our machine is X Y I J U V K L (XYIJ being programming plane co-ordinates and UVKL being auxillaryplane co-ordinates)

    Thanks in advance
    Attached Files Attached Files
    Ananth Kulkarni
    THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND

  2. #2
    Ananth,

    I ran your part file through NX6 and this is the G-code I got:


    N0010 G00 G90 X-1.0775 Y-.0984 U.3165 V0.0
    N0020 G42 G01 X-1.0869 Y-.0801
    N0030 X-1.0942 Y-.0608
    N0040 X-1.0996 Y-.0409
    N0050 X-1.1028 Y-.0206
    N0060 X-1.1039 Y0.0
    N0070 X-1.1023 Y.0582 U.316 V-.0167
    N0080 X-1.0977 Y.1163 U.3147 V-.0333
    N0090 X-1.0901 Y.1741 U.3125 V-.0499
    N0100 X-1.0794 Y.2313 U.3094 V-.0663
    N0110 X-1.0657 Y.2879 U.3055 V-.0825
    N0120 X-1.049 Y.3438 U.3007 V-.0986
    N0130 X-1.0294 Y.3986 U.2951 V-.1143
    N0140 X-1.0069 Y.4524 U.2887 V-.1297
    N0150 X-.9817 Y.5049 U.2814 V-.1447
    N0160 X-.9537 Y.5559 U.2734 V-.1594
    N0170 X-.923 Y.6055 U.2646 V-.1736
    N0180 X-.8898 Y.6533 U.2551 V-.1873
    N0190 X-.8541 Y.6994 U.2449 V-.2005
    N0200 X-.816 Y.7434 U.2339 V-.2131
    N0210 X-.7756 Y.7854 U.2224 V-.2252
    N0220 X-.7331 Y.8253 U.2102 V-.2366
    N0230 X-.6886 Y.8628 U.1974 V-.2474
    N0240 X-.6421 Y.8979 U.1841 V-.2574
    N0250 X-.5938 Y.9305 U.1702 V-.2668
    N0260 X-.5439 Y.9606 U.1559 V-.2754
    N0270 X-.4931 Y.9876 U.1414 V-.2831
    N0280 X-.4409 Y1.012 U.1264 V-.2901
    N0290 X-.3876 Y1.0336 U.1111 V-.2963
    N0300 X-.3332 Y1.0524 U.0955 V-.3017
    N0310 X-.2779 Y1.0683 U.0797 V-.3063
    N0320 X-.2218 Y1.0814 U.0636 V-.31
    N0330 X-.1651 Y1.0915 U.0473 V-.3129
    N0340 X-.108 Y1.0986 U.031 V-.315
    N0350 X-.0506 Y1.1027 U.0145 V-.3161
    N0360 X.0069 Y1.1039 U-.002 V-.3165
    N0370 X.0645 Y1.102 U-.0185 V-.3159
    N0380 X.1218 Y1.0971 U-.0349 V-.3145
    N0390 X.1788 Y1.0893 U-.0513 V-.3123
    N0400 X.2354 Y1.0785 U-.0675 V-.3092
    N0410 X.2913 Y1.0648 U-.0835 V-.3053
    N0420 X.3464 Y1.0481 U-.0993 V-.3005
    N0430 X.4006 Y1.0286 U-.1148 V-.2949
    N0440 X.4536 Y1.0064 U-.1301 V-.2885
    N0450 X.5055 Y.9813 U-.1449 V-.2813
    N0460 X.5559 Y.9537 U-.1594 V-.2734
    N0470 X.6049 Y.9234 U-.1734 V-.2647
    N0480 X.6522 Y.8906 U-.187 V-.2553
    N0490 X.6977 Y.8554 U-.2 V-.2452
    N0500 X.7414 Y.8179 U-.2126 V-.2345
    N0510 X.783 Y.7781 U-.2245 V-.2231
    N0520 X.8225 Y.7362 U-.2358 V-.2111
    N0530 X.8598 Y.6924 U-.2465 V-.1985
    N0540 X.8947 Y.6466 U-.2565 V-.1854
    N0550 X.9272 Y.5991 U-.2658 V-.1718
    N0560 X.9571 Y.5499 U-.2744 V-.1577
    N0570 X.9845 Y.4993 U-.2823 V-.1431
    N0580 X1.0092 Y.4473 U-.2893 V-.1282
    N0590 X1.0311 Y.3941 U-.2956 V-.113
    N0600 X1.0503 Y.3398 U-.3011 V-.0974
    N0610 X1.0666 Y.2846 U-.3058 V-.0816
    N0620 X1.0799 Y.2286 U-.3096 V-.0655
    N0630 X1.0904 Y.172 U-.3126 V-.0493
    N0640 X1.0979 Y.1149 U-.3148 V-.0329
    N0650 X1.1024 Y.0575 U-.316 V-.0165
    N0660 X1.1039 Y0.0 U-.3165 V0.0
    N0670 X1.1024 Y-.0575 U-.316 V.0165
    N0680 X1.0979 Y-.1149 U-.3148 V.0329
    N0690 X1.0904 Y-.172 U-.3126 V.0493
    N0700 X1.0799 Y-.2286 U-.3096 V.0655
    N0710 X1.0666 Y-.2846 U-.3058 V.0816
    N0720 X1.0503 Y-.3398 U-.3011 V.0974
    N0730 X1.0311 Y-.3941 U-.2956 V.113
    N0740 X1.0092 Y-.4473 U-.2893 V.1282
    N0750 X.9845 Y-.4993 U-.2823 V.1431
    N0760 X.9571 Y-.5499 U-.2744 V.1577
    N0770 X.9272 Y-.5991 U-.2658 V.1718
    N0780 X.8947 Y-.6466 U-.2565 V.1854
    N0790 X.8598 Y-.6924 U-.2465 V.1985
    N0800 X.8225 Y-.7362 U-.2358 V.2111
    N0810 X.783 Y-.7781 U-.2245 V.2231
    N0820 X.7414 Y-.8179 U-.2126 V.2345
    N0830 X.6977 Y-.8554 U-.2 V.2452
    N0840 X.6522 Y-.8906 U-.187 V.2553
    N0850 X.6049 Y-.9234 U-.1734 V.2647
    N0860 X.5559 Y-.9537 U-.1594 V.2734
    N0870 X.5055 Y-.9813 U-.1449 V.2813
    N0880 X.4536 Y-1.0064 U-.1301 V.2885
    N0890 X.4006 Y-1.0286 U-.1148 V.2949
    N0900 X.3464 Y-1.0481 U-.0993 V.3005
    N0910 X.2913 Y-1.0648 U-.0835 V.3053
    N0920 X.2354 Y-1.0785 U-.0675 V.3092
    N0930 X.1788 Y-1.0893 U-.0513 V.3123
    N0940 X.1218 Y-1.0971 U-.0349 V.3145
    N0950 X.0645 Y-1.102 U-.0185 V.3159
    N0960 X.0069 Y-1.1039 U-.002 V.3165
    N0970 X-.0506 Y-1.1027 U.0145 V.3161
    N0980 X-.108 Y-1.0986 U.031 V.315
    N0990 X-.1651 Y-1.0915 U.0473 V.3129
    N1000 X-.2218 Y-1.0814 U.0636 V.31
    N1010 X-.2779 Y-1.0683 U.0797 V.3063
    N1020 X-.3332 Y-1.0524 U.0955 V.3017
    N1030 X-.3876 Y-1.0336 U.1111 V.2963
    N1040 X-.4409 Y-1.012 U.1264 V.2901
    N1050 X-.4931 Y-.9876 U.1414 V.2831
    N1060 X-.5439 Y-.9606 U.1559 V.2754
    N1070 X-.5938 Y-.9305 U.1702 V.2668
    N1080 X-.6421 Y-.8979 U.1841 V.2574
    N1090 X-.6886 Y-.8628 U.1974 V.2474
    N1100 X-.7331 Y-.8253 U.2102 V.2366
    N1110 X-.7756 Y-.7854 U.2224 V.2252
    N1120 X-.816 Y-.7434 U.2339 V.2131
    N1130 X-.8541 Y-.6994 U.2449 V.2005
    N1140 X-.8898 Y-.6533 U.2551 V.1873
    N1150 X-.923 Y-.6055 U.2646 V.1736
    N1160 X-.9537 Y-.5559 U.2734 V.1594
    N1170 X-.9817 Y-.5049 U.2814 V.1447
    N1180 X-1.0069 Y-.4524 U.2887 V.1297
    N1190 X-1.0294 Y-.3986 U.2951 V.1143
    N1200 X-1.049 Y-.3438 U.3007 V.0986
    N1210 X-1.0657 Y-.2879 U.3055 V.0825
    N1220 X-1.0794 Y-.2313 U.3094 V.0663
    N1230 X-1.0901 Y-.1741 U.3125 V.0499
    N1240 X-1.0977 Y-.1163 U.3147 V.0333
    N1250 X-1.1023 Y-.0582 U.316 V.0167
    N1260 X-1.1039 Y0.0 U.3165 V0.0
    N1270 X-1.1028 Y.0206
    N1280 X-1.0996 Y.0409
    N1290 X-1.0942 Y.0608
    N1300 X-1.0869 Y.0801
    N1310 X-1.0775 Y.0984
    N1320 G00 X0.0 Y0.0 U0.0
    N1330 M02

    By the way 4 axis simultaneous motion like your cone part needs is always going to be linear (point to point.)

  3. #3
    Join Date
    May 2006
    Posts
    14
    Mike,
    Sorry if I fail to agree with you but any simultaneous motion should not be point to point. That is the whole purpose of simultaneous. I currently do five axis simultaneous and believe me if it was point to point, I would be extremely disappointed as this is not what I paid for.

  4. #4
    Quote Originally Posted by larrycoyle View Post
    Mike,
    Sorry if I fail to agree with you but any simultaneous motion should not be point to point. That is the whole purpose of simultaneous. I currently do five axis simultaneous and believe me if it was point to point, I would be extremely disappointed as this is not what I paid for.
    Interestingly put, but what on earth are you talking about? He is cutting a cone shape with a 4 axis wire EDM machine using 4 axis simulataneous linear interpolation. How would you code it newbie?

  5. #5
    Join Date
    Sep 2007
    Posts
    126

    Interesting

    Here is g-code I got , but had to change post's & some other setting's. Not real keen on NX5 Wire yet, but I will be !

    N0010 ()
    N0020 G00 G90 X-1.1039 Y0.0 G00 X-.7874 Y0.0
    N0030 G42 G02 X-.5439 Y.9606 I-1.1039 J0.0 G02 X-.388 Y.6852 I-.7874 J0.0
    N0040 G02 X1.1039 Y0.0 I-.5439 J.9606 G02 X.7874 Y0.0 I-.388 J.6852
    N0050 G02 X-.5439 Y-.9606 I1.1039 J0.0 G02 X-.388 Y-.6852 I.7874 J0.0
    N0060 G02 X-1.1039 Y0.0 I-.5439 J-.9606 G02 X-.7874 Y0.0 I-.388 J-.6852
    N0070 G01 Y.0049 G01 X-.7878 Y.0036
    N0080 G00 X0.0 Y0.0 G00 X0.0 Y0.0
    N0090 M02 Harold C.

  6. #6
    Yeah, you run that code H.C.

  7. #7
    Join Date
    Sep 2007
    Posts
    126

    Talking just because i can

    Don't plan on doing anything with it. If you remember what blmmdes posted, he was trying to get his code to post with arc's instead of linear movement so he could manually input it in wire. Just showing it can be done, didn't say it was correct. HAVE A NICE DAY.





    Harold C

  8. #8
    Actually Ananth said, "For your info the motion format for our machine is X Y I J U V K L (XYIJ being programming plane co-ordinates and UVKL being auxillaryplane co-ordinates)"

    Where are your UVKL codes? Posting something and saying it can be done but its not correct is worthless.

  9. #9
    Join Date
    Jan 2008
    Posts
    63

    Guys please...

    Hi guys,

    First of all thanks for your time spent on my problem.

    Mike,
    the output from NX6 is also in point to point format. i respect your preference of point to point output in 4axis simultanious moves but here the length of program is too long.

    Harold,
    Yes you got it right. thats the way i wanted. The first G02 in the block is programming plane co-ordinates and the next G02 in the same block is for auxillary plane co-ordinates. how did you achieved it? please explain. after postprocessing or before? i mean can you see coircular moves in the Listed *.cls file?

    Regards
    Ananth Kulkarni
    THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND

  10. #10
    Join Date
    Sep 2007
    Posts
    126

    Generate Arc's

    First I will say I think it is your post because I used the default 4th Axis post & got the same code Mike got. Having said that, go to your Operation Navigator, Right click on 4th axis & pick Edit\ Internal_Trim box -click Start/ End Events\ Machine Control box appears- check Start Events & open Edit \ User Defined Events box appears\ Highlight Set Modes- Click add\ Set Modes box appears\ under Arc Mode , change to circular & make any other changes that apply , & play. I hope this help's . Harold C

  11. #11
    Join Date
    Jan 2008
    Posts
    63

    Arc output

    Hello Harold,

    Please clarify...are you using the generic 4-axis post or its a customized one? Because i tried changing set mode>Circular but still my output is in linear moves.
    Are you trying to say that i have work on my post processor to achieve this?

    Thanks and Regards,
    Ananth Kulkarni
    THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND

  12. #12
    Join Date
    Sep 2007
    Posts
    126

    arc's

    This is the data path to post I used; c: program files=UGS=NX5.0=Mach=resource=Postprocessor=wedm_4 axis_iso.pui . That is post I used to get code. Have a great day . Harold c

  13. #13
    Join Date
    Jan 2008
    Posts
    63

    Thanks

    Thank you very much Harold, you made my day. I was unaware of a 4-axis wire post hidden in NX (since it was not appearing on my post dialog).
    I will take forward from here. Thanks again.
    Ananth Kulkarni
    THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND

  14. #14
    Join Date
    Jan 2008
    Posts
    63

    Wire cut programming problem

    Dear All,

    Attached is a NX4 prt file and the nc output. After I modified my 4-axis wireedm post i am getting this output.

    Just note the blocks in RED. why it is giving me 4 arc movements instaed of one. I mean after the liear movement

    G01 X-35.84 Y40 G01 U-15.84 V20

    cant i directly get

    G03 X40. Y35.84 I0 J5 G03 U-20 V15.84 K0 L5

    Normally programming directly on the machine follow this but whats wrong with NX4 or the post processor?

    Please note my post is nothing but a copy of UG ISO wireedm post with upper plane letters changed to U, V, K and L.

    Please advice.
    Attached Files Attached Files
    Ananth Kulkarni
    THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND

  15. #15
    Join Date
    Apr 2007
    Posts
    14
    did you check if the arc mode is quadrant or full circle?

  16. #16
    Join Date
    Jan 2008
    Posts
    63
    It was Full Circle. But chaning to Quadrant doesnot help either. Still thoses extra G03 blocks are apprearing.
    Ananth Kulkarni
    THE GREATEST OAK WAS ONCE A NUT WHO HELD ITS GROUND

  17. #17
    Join Date
    Apr 2007
    Posts
    14
    Most controllers do not accept full circle because there are two solutions in some instances. I suppose the only way around it is to change the postprocessor and combine the arcs.

Similar Threads

  1. Programmed RS-232 output
    By ghyman in forum G-Code Programing
    Replies: 17
    Last Post: 01-24-2020, 09:40 AM
  2. 2 steppers on 1 output
    By rippe in forum Open Source CNC Machine Designs
    Replies: 1
    Last Post: 04-06-2008, 05:47 PM
  3. DRO with serial output?
    By DennisCNC in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 12-16-2007, 11:57 PM
  4. Output arcs using R not I,J?
    By LongRat in forum SheetCam
    Replies: 2
    Last Post: 06-20-2007, 06:35 PM
  5. torodial output seems odd
    By trubleshtr in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 04-22-2005, 02:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •