![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| CNC Swiss Screw Machines Discuss CNC Swiss Screw Machines here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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
| |||
| |||
| 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' |
|
#5
| ||||
| ||||
|
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 |
| Sponsored Links |
|
#6
| |||
| |||
| 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
| |||
| |||
|
|
#8
| |||
| |||
| 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
| |||
| |||
![]() Though of course if you spend 2 days figuring out how to do that 2 second time savings then youre no farther ahead anyway. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- CNC Programming | bri008 | WoodWorking | 24 | 08-04-2009 07:41 AM |
| CAM programming | mallinathan | Diemaking and Diecutting | 0 | 10-19-2008 12:08 AM |
| CNC Programming | mikemill | General Metal Working Machines | 5 | 12-30-2007 02:05 AM |
| CNC Programming | qman | General CAM Discussion | 7 | 10-16-2007 01:34 PM |
| Programming | chakaloso | Haas Mills | 11 | 03-07-2007 04:34 PM |