Results 1 to 9 of 9

Thread: L20 programming

  1. #1
    Registered
    Join Date
    Mar 2009
    Location
    US
    Posts
    72
    Downloads
    0
    Uploads
    0

    L20 programming

    To all the seasoned citizen programmers out there....I've been working with STARS for 15 years and I'm considering moving to a shop that has mainly citizen L20's.
    I've worked with citizens in the past but it has been quite a few years. Could someone provided me with a complete part program for a citizen L20 with explanation of $1 $2 $3 and the wait codes etc...
    Also does citizen still set workpiece variables at the end of the program? If so could you provide an explanation of these.
    I am mostly interested in the format of the program. Also being that citizens machine from the opposite direction does that mean that circular inter. is reversed? If so is tool nose radius compensation reversed also?
    If its easier to do so you could email me. I know this is a lot to ask so thank you in advance.


  2. #2
    Registered
    Join Date
    Oct 2009
    Location
    Canada
    Posts
    84
    Downloads
    0
    Uploads
    0
    Well, I'm not that seasoned and I cant provide you with any template as I have none but I can answer some of your questions.

    $1, $2, $3 etc are simply your head1 head2 etc, only you cannot run the heads separately. For wait codes either a mode change or an exclamation !L1, the L1 just being a label, must be called in both $1 and $2, its the same as your M200+ codes (there are actually a few ways to use the exclamation and iirc you can simply use !). The L20s are programmed in both the G800 mode codes and newer G600 codes which I know better to be honest. G610 is single $ machining with the gang tools, G620 is simultaneous ID/OD working with the back spindle z axis superimposed onto the main z axis, G630 is for simultaneous work on the front and on the back, G640 isnt really used and is for a double ended front drilling holder if i recall. G650 is your pick off mode and G600 cancels your modes and is pretty much the same as G610. You must have the mode calls in each $, or head if you will.

    The variables at the end you refer to are $0, or the machining data in a program you will see downloaded from the machine. In the machining data you set things such as the bar diameter, the positioning point (how far above the material to index to rapidly as the tool is called usually .05'), cut off feed rate and speed, part length (this sets your starting position). Coming from a star which I am just learning, the part length which sets the z axis start position is set with #2601 in the program, but with a citizen you tell the machine the part length, and after you manually cut off the bar and move to start position then you can start your program - the machine automatically calculates the distance from the guide bushing to start from. In your program at the end you just move the axis back the required length, thats one difference between the two.

    Citizens machine from the opposite direction but the cutting face of the tools face you as you are looking into the machine, so the direction of G2/G3 is still the same, just imagine you are standing on the other side of your star. I personally cannot 100% tell you if tool nose rad comp is any different as I havnt used it much in my time yet.

    The rest is just learning the M and G code differences. One star/citizen difference is that you must specify which spindle you wish to turn on, ie S1=2000 M3; S2=2000 M23;. S2=2000 M3 would not start the back spindle, M23/24/25 is for/rev/off respectively for the sub. You can command the sub spindle from $1 though in this manner.

    As I said before you cannot run each heads program independently as you can on a star since it is loaded as one, but there is a "last part program" section at the end of a program that allows the sub spindle to do its work if last part is selected and the machine is in single cycle. At the end of every citizen program youll see the code

    G999;
    ;
    N999;
    M2;
    M99;

    In $2 inbetween G999 and N999 you either use a goto and have it go to the top of $2 to finish the part in the sub spindle, or you just copy all the code about the G999 into the space between (which isnt smart really). This is how you can finish a part that is in the sub spindle without running the main.

    Another major difference is the use of G50Z instead of G120 to set absolute Z zero. Then you use G50W to shift the z zero for your tooling rather than in tool geometry and the axis specificed adjusts accordingly. As far as ive read so far you cannot command a G50 shift when G120 is set on a star, and it is not used in the star programming on our machine which I am very new to, so forgive me if Ive made some errors.

    I cant really think of any more glaring differences, ive noticed that a lot of people program in a bunch of different ways though so I hope I helped a bit,

    Cheers'


  3. #3
    Registered
    Join Date
    Jan 2005
    Location
    USA
    Posts
    277
    Downloads
    0
    Uploads
    0
    Here is a labeled program to view. see attached file.
    Attached Files Attached Files


  4. #4
    Registered
    Join Date
    Mar 2009
    Location
    US
    Posts
    72
    Downloads
    0
    Uploads
    0

    Thanks

    Good information, I appreciate it


  • #5
    Registered MikeMc's Avatar
    Join Date
    Oct 2008
    Location
    USA
    Posts
    102
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by cogsman1 View Post
    Here is a labeled program to view. see attached file.
    I find it strange that you do M140/M141 at every ID tool call. I leave the ram forward and use all the ID tools before sending it home.
    www.atmswiss.com


  • #6
    Registered
    Join Date
    Jan 2005
    Location
    USA
    Posts
    277
    Downloads
    0
    Uploads
    0
    I agree! That was done due to a new operator not setting tools very well and doing damage when the index happened. The way you see makes the slide move all the way home , index and then come back in. That was a special request, I didn't realize that was the one I selected to upload.


  • #7
    Registered
    Join Date
    Oct 2009
    Location
    Canada
    Posts
    84
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by cogsman1 View Post
    I agree! That was done due to a new operator not setting tools very well and doing damage when the index happened. The way you see makes the slide move all the way home , index and then come back in. That was a special request, I didn't realize that was the one I selected to upload.
    Wouldnt it have been much faster to just set the tools correctly?.. and especially over a production run


  • #8
    Registered
    Join Date
    Jan 2005
    Location
    USA
    Posts
    277
    Downloads
    0
    Uploads
    0
    Well after he first had the problem he was very worried and afraid of the machine so I added this. The added cycle time was only 2 seconds total, so it made no difference anyway. This was the only time it was needed, by the time this job was done he was much more comfortable with the machine. I got better production once he was more relaxed so it was woth it.


  • #9
    Registered
    Join Date
    Oct 2009
    Location
    Canada
    Posts
    84
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by cogsman1 View Post
    Well after he first had the problem he was very worried and afraid of the machine so I added this. The added cycle time was only 2 seconds total, so it made no difference anyway. This was the only time it was needed, by the time this job was done he was much more comfortable with the machine. I got better production once he was more relaxed so it was woth it.
    Makes sense, the machines can surely give you a false sense of security sometimes. Just when you think youre fully comfortable..WHOOOMP, heh. Though to me 2 seconds to me is still a lot of time, I always try to reduce moves as much as I can. Depending on the size of the production run you can save up to a day or twos run time, which allows wiggle room for all the stupid little jobs the higher ups want you to switch a machine over for a run of 100 parts

    Though of course if you spend 2 days figuring out how to do that 2 second time savings then youre no farther ahead anyway.


  • Similar Threads

    1. Need Help!- CNC Programming
      By bri008 in forum WoodWorking
      Replies: 24
      Last Post: 08-04-2009, 08:41 AM
    2. CAM programming
      By mallinathan in forum Diemaking and Diecutting
      Replies: 0
      Last Post: 10-19-2008, 01:08 AM
    3. CNC Programming
      By mikemill in forum General Metal Working Machines
      Replies: 5
      Last Post: 12-30-2007, 03:05 AM
    4. CNC Programming
      By qman in forum General CAM Discussion
      Replies: 7
      Last Post: 10-16-2007, 02:34 PM
    5. Programming
      By chakaloso in forum Haas Mills
      Replies: 11
      Last Post: 03-07-2007, 05:34 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.