help on toolist EC editor camworks


Results 1 to 10 of 10

Thread: help on toolist EC editor camworks

  1. #1
    Registered
    Join Date
    Nov 2004
    Location
    usa
    Posts
    70
    Downloads
    0
    Uploads
    0

    Default help on toolist EC editor camworks

    i had my toollist post out in the begin of the program, however;
    i need to put the semicolon in front of the bracket of each tool.
    I looKed in the lib. file and master.art mill. file. can't find it. please help

    :C: GETTOOLS(2,SYSTEM)
    POST OUT
    G90 G20
    N2F
    ;N3********* TOOLLIST**********
    ( STATION TOOL TYPE DIAMETER CORNER RADIUS DESCRIPTION )
    ( ------- --------- -------- ------------- -------------------- )
    ( 001 ENDMILL 00.500 .505 RT )
    ( 002 ENDMILL 00.250 .EM )
    N5 G00 G90 G70 G40
    N6G79 Z0
    N7G16XY
    N8M51 M52
    N9M41;M42
    N10;(DAN,YV)
    N11;(UDA,Y/V)
    N12(UTO,1,X-.5,Y.5,Z1)

    THIS IS WHAT I WANT
    ;N3********* TOOLLIST**********
    ;( STATION TOOL TYPE DIAMETER CORNER RADIUS DESCRIPTION )
    ;( ------- --------- -------- ------------- -------------------- )
    ;( 001 ENDMILL 00.500 .505 RT )
    ;( 002 ENDMILL 00.250 .EM )

    SEMICOLON IN FRONT

    Similar Threads:


  2. #2
    Member vincent.pomerleau's Avatar
    Join Date
    Feb 2010
    Location
    Canada
    Posts
    69
    Downloads
    3
    Uploads
    0

    Default Re: help on toolist EC editor camworks

    change your gettools command in the lib,try

    :C: GETTOOLS(2,OUTPUT_TOOL_LIST)

    add a section to configure your output in the .src

    :SECTION=OUTPUT_TOOL_LIST
    :T: <SEMICOLON><LEFT_PAR>T<"%2LNT":TOOL>=<TOOL_COMMENT ><RIGHT_PAR><EOL>

    Add semicolon to your mill.lib file
    :ATTRNAME=SEMICOLON
    :ATTRTYPE=POST
    :ATTREMARK=
    :CODETYPE=HARDCODE
    :CODE=;
    :ATTREND

    Let me know if it worked!



  3. #3
    Registered
    Join Date
    Nov 2004
    Location
    usa
    Posts
    70
    Downloads
    0
    Uploads
    0

    Default Re: help on toolist EC editor camworks

    worked perfectly thanks you



  4. #4
    Registered
    Join Date
    Nov 2004
    Location
    usa
    Posts
    70
    Downloads
    0
    Uploads
    0

    Default Re: help on toolist EC editor camworks

    HI
    i got my toollist working, moreover; i need to add the tool protrusion ( stickout ) in the tool list help please anybody

    (AKIRA SEIKI 2017)
    (********* TOOLLIST**********)
    ( T01= 5.4MM JOBBER DRILL )
    ( T02= .25 4 FLUTE CRB EM .)

    THIS WHAT IS NEED TO ADD TO THE TOOL LIST
    (AKIRA SEIKI 2017)
    (********* TOOLLIST**********)
    ( T01= 5.4MM JOBBER DRILL . STICKOUT 3.8 )
    ( T02= .25 4 FLUTE CRB EM . STICKOUT 2.5 )




    TOOL_PROTRUSION
    N_TOOL_PROTRUSION
    NC_TOOL_PROTRUSION


    Type
    DECIMAL

    Usage
    This variable stores the tool protrusion from the bottom of the tool holder to the end of a mill tool or a drill tool.





    :ATTRNAME=INI TOOL PROTRUSION
    :ATTRTYPE=POST
    :ATTRVTYPE=DECIMAL
    :ATTREMARK=Z World Coordinate
    :ATTREND



  5. #5
    Member vincent.pomerleau's Avatar
    Join Date
    Feb 2010
    Location
    Canada
    Posts
    69
    Downloads
    3
    Uploads
    0

    Default Re: help on toolist EC editor camworks

    :SECTION=OUTPUT_TOOL_LIST
    :T: <SEMICOLON><LEFT_PAR>T<"%2LNT":TOOL>=<TOOL_COMMENT > STICKOUT <"#1.3":TOOL_PROTRUSION><RIGHT_PAR><EOL>



  6. #6
    Registered
    Join Date
    Nov 2004
    Location
    usa
    Posts
    70
    Downloads
    0
    Uploads
    0

    Default Re: help on toolist EC editor camworks

    THANK YOU



  7. #7
    Member DJ1's Avatar
    Join Date
    Nov 2018
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default EC editor camworks

    Hello I am new to this forum but have been using CamWorks for 5 years and now I have a homemade CNC 5 Axis mill that I need help with federate.

    I am familiar with G93 inverse feed but I want to put that in my .SRC file or I was wondering if I could get help with writing an "IF" command somewhere in the .SRC file. IE (IF A or B THEN F x 5= F) so it would then take the F100 x 5 for F500???

    What happens as you probably know, my rotation is snail speed as F100 in IPM turns to 100 DPM so over 3 1/2 minutes for a full rotation!

    I am also using Mach3 Software to run the mill.
    I have hand edited a file once where I had F100 as the default and every first line of a group that has an A, B move I ended it with F500. I was milling on a .5" Radius part. Any line that did not have an axis move I ended with F100 again.
    That took about 15 entries on a 2000 line file but I want this automated somehow.

    Any help would be appreciated greatly.



  8. #8
    Member
    Join Date
    Dec 2010
    Location
    United States
    Posts
    126
    Downloads
    0
    Uploads
    0

    Default Re: EC editor camworks

    Quote Originally Posted by DJ1 View Post
    Hello I am new to this forum but have been using CamWorks for 5 years and now I have a homemade CNC 5 Axis mill that I need help with federate.

    I am familiar with G93 inverse feed but I want to put that in my .SRC file or I was wondering if I could get help with writing an "IF" command somewhere in the .SRC file. IE (IF A or B THEN F x 5= F) so it would then take the F100 x 5 for F500???

    What happens as you probably know, my rotation is snail speed as F100 in IPM turns to 100 DPM so over 3 1/2 minutes for a full rotation!

    I am also using Mach3 Software to run the mill.
    I have hand edited a file once where I had F100 as the default and every first line of a group that has an A, B move I ended it with F500. I was milling on a .5" Radius part. Any line that did not have an axis move I ended with F100 again.
    That took about 15 entries on a 2000 line file but I want this automated somehow.

    Any help would be appreciated greatly.
    You should start a new topic rather than reviving an old solved one. People will not know to look here for this solution...

    Read these posts for a better understanding of inverse time feed. It is crucial to understanding the math behind it and why your desired solution is not only extremely oversimplified but also potentially dangerous. Simply multiplying the feedrate isn't going to provide predictable results and certainly not so when you get into more complicated situations. You really need to implement the proper math to produce the appropriate desired feedrate.

    Inverse Time Feedrate for 4th Axis
    G93 Inverse Time Feed Move Explained

    Once you have an understanding of how this function truly works, then you can start experimenting with your post. I can't help you much with that aspect other than to point you to the CALC_REG_F section of your GENERAL.LIB file. Copy that section to your <POST>.LIB file and edit it accordingly. It likely already has some comments regarding G94 and G93 feedrates in it. You'll have to decipher how to alter the code logic to determine when to output inverse time feed rates and when not to, and also how to enable it thu the CAMWorks GUI. Post here if you get stuck and I can try to give you more details as you go.



  9. #9
    Member DJ1's Avatar
    Join Date
    Nov 2018
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default

    Japazo, Thank you for the quick reply and the .LIB tips, I will check into that.
    I'll read up on the two links you have here also.



  10. #10
    Member david_lelen01's Avatar
    Join Date
    May 2019
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default Re: help on toolist EC editor camworks

    Quote Originally Posted by plast744 View Post
    worked perfectly thanks you
    Hi Plast744,

    I was hoping you could help me out here. I am trying to do the same thing, i would like a list of the tools used in the code to be displayed at the beginning of the code in comments, but i cannot seem to add the correct sections. I added the section to the .src file and i modified the master mill.lib file, but i am getting an error and no code is being output. The error is "Error Adding Section - no name duplicate section name = ". I believe i have to add or modify a section in the master mill.lib file, but i do not know what to change.

    Could you provide me with any guidance?

    Thanks in advance.



  11. #11
    Member
    Join Date
    Dec 2010
    Location
    United States
    Posts
    126
    Downloads
    0
    Uploads
    0

    Default Re: help on toolist EC editor camworks

    I am quoting Brian from the CAMWorks forums at camworks.com, so all credit here goes to him. He has helped many people to get post issues straightened out over there.

    (QUOTE)
    In .src add the following sections with these variables in the :T:…

    :SECTION=START_OUTPUT_TOOL_LIST
    :T:<LEFT_PAR><TOOL_LIST_NUM><TOOL_LIST_TYPE><TOOL_ LIST_CRAD><TOOL_LIST_CWTOOLCOM><RIGHT_PAR>

    :SECTION=OUTPUT_TOOL_LIST
    :T:<LEFT_PAR><S_TOOL_NUM><S_TOOL_TYPE><S_TOOL_CRAD ><S_TOOL_COMMENT><RIGHT_PAR>

    In the .lib for the specific post add these variables
    *———————————–
    :ATTRNAME=TOOL LIST NUM
    :ATTRTYPE=POST
    :ATTREMARK=
    :CODETYPE=HARDCODE
    :CODE=TOOL
    :COLUMN=3
    :ATTRSPACES=YES
    :ATTREND
    *———————————–
    :ATTRNAME=TOOL LIST TYPE
    :ATTRTYPE=POST
    :ATTREMARK=
    :CODETYPE=HARDCODE
    :CODE=TOOL|TYPE
    :COLUMN=13
    :ATTRSPACES=YES
    :ATTREND
    *———————————–
    :ATTRNAME=TOOL LIST CRAD
    :ATTRTYPE=POST
    :ATTREMARK=
    :CODETYPE=HARDCODE
    :CODE=CORNER|RADIUS
    :COLUMN=29
    :ATTRSPACES=YES
    :ATTREND
    *———————————–
    :ATTRNAME=TOOL LIST CWTOOLCOM
    :ATTRTYPE=POST
    :ATTREMARK=
    :CODETYPE=HARDCODE
    :CODE=CAMWORKS|TOOL|COMMENT
    :COLUMN=50
    :ATTRSPACES=YES
    :ATTREND
    *———————————–
    *———————————–
    :ATTRNAME=S TOOL NUM
    :ATTRTYPE=POST
    :ATTRVTYPE=INTEGER
    :ATTRINLEN=5
    :ATTREMARK=
    :CODETYPE=FORMAT
    :VAR=TOOL
    :WORD_ADDRESS_BEF=
    :WORD_ADDRESS_AFT=
    :LEFT_PLACES=2
    :RIGHT_PLACES=0
    :UNITFLAG=NON_CONVERT
    :ATTRSPACES=YES
    :MODAL=NO
    :ATTRUSED=1
    :COLUMN=5
    :ATTREND
    *———————————–
    :ATTRNAME=S TOOL TYPE
    :ATTRTYPE=POST
    :ATTRVTYPE=INTEGER
    :ATTREMARK=
    :CODETYPE=SELECT
    :VAR=TOOL_TYPE
    :SELECT=201
    :CODE=|FLAT ENDMILL|||||||
    :SELECT=202
    :CODE=|BALLNOSE ENDMILL|||
    :SELECT=203
    :CODE=|HOGNOSE ENDMILL||||
    :SELECT=221
    :CODE=|TAPERED ENDMILL||||
    :SELECT=222
    :CODE=|TAPERED BALLNOSE|||
    :SELECT=223
    :CODE=|TAPERED HOGNOSE||||
    :SELECT=204
    :CODE=|DRILL||||||||||||||
    :SELECT=205
    :CODE=|BORE|||||||||||||||
    :SELECT=206
    :CODE=|REAMER|||||||||||||
    :SELECT=207
    :CODE=|TAP||||||||||||||||
    :SELECT=208
    :CODE=|CENTER DRILL|||||||
    :SELECT=209
    :CODE=|CORNER ROUNDING EM|
    :SELECT=210
    :CODE=|COUNTERSINK||||||||
    :SELECT=211
    :CODE=|SINGLE PT THREAD MILL|
    :SELECT=212
    :CODE=|MULT. PT THREAD MILL||
    :SELECT=213
    :CODE=|DOVETAIL|||||||||||
    :SELECT=214
    :CODE=|KEYWAY|||||||||||||
    :SELECT=215
    :CODE=|UNKNOWN||||||||||||
    :SELECT=216
    :CODE=|LOLLIPOP|||||||||||
    :SELECT=217
    :CODE=|FACEMILL|||||||||||
    :SELECT=218
    :CODE=|UNKNOWN||||||||||||
    :SELECT=301
    :CODE=|ROUND INSERT|||||||
    :SELECT=302
    :CODE=|SQUARE INSERT||||||
    :SELECT=303
    :CODE=|TRIANGLE INSERT||||
    :SELECT=304
    :CODE=|35 DEG. DIAMOND||||
    :SELECT=305
    :CODE=|55 DEG. DIAMOND||||
    :SELECT=306
    :CODE=|80 DEG. DIAMOND||||
    :SELECT=315
    :CODE=|DIAMOND INSERT|||||
    :SELECT=316
    :CODE=|THREAD INSERT||||||
    :SELECT=308
    :CODE=|GROOVE INSERT||||||
    :SELECT=309
    :CODE=|DRILL||||||||||||||
    :SELECT=310
    :CODE=|CENTER DRILL|||||||
    :SELECT=311
    :CODE=|TAP||||||||||||||||
    :SELECT=317
    :CODE=|TRIGON INSERT||||||
    :SELECT=318
    :CODE=|HEXAGON INSERT|||||
    :COLUMN=10
    :ATTRUSED=1
    :ATTREND
    *———————————–
    :ATTRNAME=S TOOL CRAD
    :ATTRTYPE=POST
    :ATTRVTYPE=DECIMAL
    :ATTRINLEN=6
    :ATTREMARK=
    :CODETYPE=FORMAT
    :VAR=TOOL_CORNER_RADIUS
    :WORD_ADDRESS_BEF=
    :WORD_ADDRESS_AFT=
    :LEFT_PLACES=1
    :RIGHT_PLACES=3
    :MUST_BE_LEADING
    :MUST_BE_TRAILING
    :MUST_BE_DECIMAL
    :UNITFLAG=NON_CONVERT
    :ATTRSPACES=YES
    :MODAL=NO
    :ATTRUSED=1
    :COLUMN=33
    :ATTREND
    *———————————–
    :ATTRNAME=S TOOL COMMENT
    :ATTRTYPE=POST
    :ATTRVTYPE=CHARACTER
    :ATTRINLEN=100
    :ATTREMARK=
    :CODETYPE=FORMAT
    :WORD_ADDRESS_BEF=
    :VAR=TOOL COMMENT
    :WORD_ADDRESS_AFT=
    :LEFT_PLACES=0
    :RIGHT_PLACES=0
    :UNITFLAG=NON_CONVERT
    :ATTRSPACES=YES
    :MODAL=NO
    :ATTRUSED=1
    :COLUMN=45
    :ATTREND
    *———————————–

    Then if you don’t have the CALC_START_OF_TAPE section in your .lib for your specific post, copy it from the lathe.lib and add it.
    Then before it calls the section… IF SECTION EXIST(START_OF_TAPE) THEN CALL(START_OF_TAPE)

    Add this:
    :C: CALL(START_OUTPUT_TOOL_LIST)
    :C: GETTOOLS(2,CALC_OUTPUT_TOOL_LIST)

    Then somewhere in that .lib file, after the CALC_START_OF_TAPE add this…

    :SECTION=CALC_OUTPUT_TOOL_LIST
    :C: CALL(OUTPUT_TOOL_LIST)

    Essentially that will call a tool list header —- the START_OUTPUT_TOOL_LIST, then it will run and get tooling info for each tool and output it in the “OUTPUT_TOOL_LIST” section and keep looking for each tool there is used in that posted program.

    There are other “tool” variables you can setup in there as well, look them up in the UPG. Setup them like I did the “S_xxxxxx” variables, changing the “VAR=” to that system variable. You can then use the “FORMATS” like these:
    :WORD_ADDRESS_BEF=
    :WORD_ADDRESS_AFT=
    :LEFT_PLACES=1
    :RIGHT_PLACES=3
    :MUST_BE_LEADING
    :MUST_BE_TRAILING
    :MUST_BE_DECIMAL

    to kind of put things in before or after the “value” and to make them have leading zero, etc and the number of decimal places.

    The COLUMN= for each variable can be used to align the outputs. It essentially the number of spaces from the left side on where to write that info.
    (END QUOTE)

    I can elaborate on some of this if you still need help with it. Just let me know.



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

help on toolist   EC editor camworks

help on toolist   EC editor camworks