hi, i don't have time to check your code, but i will give you a nice code if you share specific details : tool, drawing before and after the operation, etc / kindly
Hi Guys,
I need some help if possible I am trying to write a loop program for our C-axis lathe to mill a diameter of a part from 9.5 inches down to 7.5 Inches. I want to be able to have the operator adjust those diameters based on Customer specs.
I tried writing a loop program but I am getting nowhere.
Can someone take a look at my code and tell me what I am doing wrong?
I want to take a .04 depth of cut each pass until it reaches 7.5 diameter.
NT7
( .875 MILL)
T0707
(7/8 MILL)
G136 ( Y Axis Mode/Coordinate Conversion:ON)
M110 ( C-Axis Joint:ON)
SB=3400 M13
M175
CALL OTURN XX=9.5 XXX=7.5
M09
M12
M109
X20
Z30
M30
OTURN
NLOOP
G0 Z-.88
G0 C180
G0 X10.25
M08
M15
G0 X=XX
XST=XX
XDT=-.04
G01 G91 X[XDT] F.02
XDT=XDT+XST
G90
G01 G91 C359 F.03
G90
G01 Z-1.4
M16
G91
G01 C209
G90
G01 Z-1.875
M15
G91
G01 C170
G90
G01 Z-2.301
M16
G91
G01 C170
G90
G01 Z-2.7
M15
G91
G01 C170
G90
G01 Z-3.1
M16
G91
G01 C170
G90
G01 Z-3.5
M15
G91
G01 C359
G90
IF[XDT GE XXX]NLOOP
G00 X10.25
RTS
Similar Threads:
- Newbie- Closed loop servo vs real close loop in motion controller
- Closed loop microstepping - similar torque penalties to open loop? Questions...
- Need Help!- Closing the loop with Path Pilot. Possibly dual (global) closed loop?
- Need Help!- Trying to program a loop cycle
- question on closed loop vs open loop (servo systems)
hi, i don't have time to check your code, but i will give you a nice code if you share specific details : tool, drawing before and after the operation, etc / kindly
we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...
Using C axis to rough mill a diameter from X9.5 to X7.5 taking .04 depth of cut using a 5/8 endmill going from -1 to -3 in Z axis Rocking back and forth 170 degrees.
XDT=XDT+XST is wrong
https://www.facebook.com/okuma.tuning
You are also looping to the wrong spot. You essentially reset your XST with every loop. Move NLOOP down in the code to after XST=XX.
Best regards,
Experience is what you get just after you needed it.
hi / i am sorry, i can't draw your part; at least i tried ( check attached )
to deliver a nice thing, i need a technical drawing, or at least a nice sketch
i can help you, to make it parametric / kindly
we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...
Awesome Thank you Okuma Wiz that did it!