What's new
What's new

Illegal Condition In Spindle Sync (Puma 2600 SYB)

Ez_DuzIt123

Plastic
Joined
Feb 24, 2019
I am looking for some guidance on this alarm we have been getting on our Doosan Puma 2600 SYB. Recently, this program that we have ran before is giving us alarms when the sub spindle pulls the bar and then try's to rotate synced with the main spindle. When the M3 code is read you can see the sub spindle rotate clockwise just a hair then it goes back to it's original position almost like it is trying to rotate without the help of the main spindle and then torques out (just a guess). This happened a few days ago and I was able to get the program running by shutting the machine down completely in the back and then rebooting. It ran all day yesterday after a weekend of sitting just fine. But this morning the very first part would not run through. This lathe is only three months old and I would like to make sure the NC code is correct for what I am trying to do before I get Doosan in here to fix it. I am not familiar with lathe NC code and wanted to some more experienced people to look over the code and make sure it looks correct. I have highlighted the line where the machine faults at.

N21 (SOLIDTURN - THREADING)
G0 G18 G40 G80 G97 G98
G54
G0 G28 U0 V0
G0 G53 Z20.
T1212 (THREAD IN TOOL)
M34
G50 S2000
G97 S352 M3 P11
G96 S100
M8
Z.5
X1.0848 Y0
Z-.00418
X1.3248
G18
G32 Z-.48551 F.0833
G0 X1.0848
Z-.01572
X1.3648
G32 Z-.49706 F.0833
G0 X1.0848
Z-.01578
X1.365
G32 Z-.49711 F.0833
G0 X1.0848
Z-.01578
X1.375
G32 Z-.49711 F.0833
G0 X1.0848
M5 P11
M9
Z.5
G28 U0 V0
G53 Z20.
M1
N22 (PICKUP)
M110
M108
M131
M31
M169
G97 S0 M5 P13
G0 G54 B1.3
M87
G1 G98 B-1.3 F150.
M168
M9
M31
M110
M69
G1 G98 B[#5044+3.138] F150.
M68

N23 (SOLIDTURN - CUTOFF)
G0 G18 G40 G80 G97 G99
G54
G0 G28 U0 V0
G0 G53 Z20.
T0303 (TGTBQ CUTOFF TOOL .118 WIDE)
M34
M134
G50 S1500
G97 S208 M203 P11
G96 S150
M8
M14
M114
G52 X0. Y0. Z3.138
Z-3.128
X2.75 Y0
G1 X2.05 F.015
G0 X2.07
G1 X1.55
G0 X1.57
G1 X1.05
G0 X1.07
G1 X.65
M205 P11
M5 P13
G0 G53 G28 B0
M9
M109 (Thru spindle coolant off)
M205 P11
G52 X0 Y0 Z0
G28 U0 V0 M9
M15
M115
 
This worked before?
I used to teach the classes at Doosan, and I always recommended that the spindles be sync-ed and rotating before grabbing the part. This way, momentum and torque are on your side.
I also recommend using phase sync (M213) rather than merely speed sync (M203).
 
This worked before?
I used to teach the classes at Doosan, and I always recommended that the spindles be sync-ed and rotating before grabbing the part. This way, momentum and torque are on your side.
I also recommend using phase sync (M213) rather than merely speed sync (M203).

It has worked for this program and a few others. Like I said, I am new to programming lathes. What you are saying about the spindles rotating during a pickup makes a lot of sense though. I just happen to pick the default option in the CAM software of not spinning. If I chose to rotate while pulling the rod wont the machine give me an alarm since I need to unclamp each spindle?

Also do you have any info on the differences between M203 and M213? The manual is pretty vague. Just trying to understand why one is better than the other and what the proper scenario for using either or would be.
 
I also have a method of sync and part off I prefer and that I taught.

Something like this:

O1250(SAMPLE)
G50 S2000(SPEED MAX)
G0 G40 G54 G99 T1010(PART OFF TOOL)
G28 U0(HOME X)
G0 Z-1.125(PART OFF POS)
G97 S1000 M213 P11(SPEED + PHASE SYNC MAIN SPDL CNTRL)
M131( SUB INTERLOCK BYPASS ON)
M169(SUB CHK OPEN)
G0 B.5 (SUB POS)
M86(TORQUE SKIP FUNC ON)
G31 G98 B-.75 P99 F20.(B AXIS ADVANCE)
M168(SUB CHK CLOSE)
G0 X2.375(X POS)
G1 G99 X0 F.004(PART OFF OP)
G4 U1.(1 SEC DWELL)
G0X2.375
G28 U0(HOME X)
G1G98B.5F30.(B AXIS CLEAR)
M87 (TORQUE SKIP CANCEL)
G53 G28 B0 (HOME B AXIS)
G28 W0 (HOME Z)
M206(SYNC CANCEL)
M5 P11 (MAIN SPDL STOP)
G96 S500 M3 P13 (SUB SPINDLE CSS FWD)
(MACHINE SUB SPDL)
M30
%

If you want I can send the class manuals I wrote, no charge. PM me.
 
It has worked for this program and a few others. Like I said, I am new to programming lathes. What you are saying about the spindles rotating during a pickup makes a lot of sense though. I just happen to pick the default option in the CAM software of not spinning. If I chose to rotate while pulling the rod wont the machine give me an alarm since I need to unclamp each spindle?

Also do you have any info on the differences between M203 and M213? The manual is pretty vague. Just trying to understand why one is better than the other and what the proper scenario for using either or would be.

M203 is speed sync, the spindles are rotating at the same speed.
M213 is phase sync, the spindles are rotating at the same speed AND the spindles are in the same rotational phase, meaning that C0 on the main is located with C0 on the sub.

As I said, I have them spinning before I grab the part.
 
Sure enough rotating the spindles synced before the pickup worked out. I will say, one thing I was having an issue with was alarming out (spindle sync malfunction) because I did not have an M169 BEFORE the M213. Even though the sub spindle was already unclamped the machine would not run unless I put the M169 in there before starting the spindles. Not sure if that is a parameter issue or what.
 
Sure enough rotating the spindles synced before the pickup worked out. I will say, one thing I was having an issue with was alarming out (spindle sync malfunction) because I did not have an M169 BEFORE the M213. Even though the sub spindle was already unclamped the machine would not run unless I put the M169 in there before starting the spindles. Not sure if that is a parameter issue or what.

I believe it's in the ladder. All good!
 








 
Back
Top