That pretty much sums it up
I've got a mid 90's Cadet with a OSP 5020L. No igf, no graphic tracing...is LAP an option?
I've tried to use the bar turning canned cycle and I get errors every time.
I wrote the program from this thread
osp5020l can cycles
in, character by character and when it gets to the line with G85NLAP1, I get "414 Alarm-B Program bad Direct Sequence name 2"
I've got manuals, and they use NAT as opposed to LAP to call out the canned cycle, I've tried that but it still errors out.
Anybody have any ideas for programming a dinosaur?
Thanx,
Keith
Yes, put spaces. sorry I was in a hurry when I wrote that.
G85 NLAP1 D.05 F.01 U.01 W.003
NLAP1 G81
LAP stands for Lathe Auto Programming.
You could use NRGH1, N101, etc, max of 4 characters after "N".
"414 Alarm-B Program bad Direct Sequence name 2"
This alarm is referring to the fact that the program can not find the line "NLAP1"
I make sure that I always place a SPACE after any none number line number. Helps prevent this type of problem.
Check your data management card, usually stored in the electrical cabinet in a pocket on one of the doors. Have a look for any entries regarding LAP cycles.
You should have the ability to use standard canned cycles.
Can you please list any errors, besides the current error listed?
Thanks
Brian.
Thanks for the answers...I'll try adding spaces on Monday, when I'm back at work; and I'll post up any other error messages if the spaces don't work.
![]()
I would like to make a suggestion for your program. I do not know thE material that you are cutting but I cut inconnel on okumas and my depth of cut it's .200 so you should change your D.1 to D.2. also you have a line for the finish pass : G87NLAP1F.002(EXECUTE A FINISH PASS AT .002 FEED THROUGH CANNED CYCLE NLAP1) your feed should be at the Lap cycle (G1 Z0. F.002).
Morning,
I'll just be cutting crs when I can get the canned cycle to work. The depth of cut and feedrates are just placeholders at this point, trying to get the canned cycle to work.
That being said, I'm getting errors again this morning. I changed the G85 line to: G85 NLAP1 D.1 F.01 U.02 W.003
NLAP1 G81
Now I get this error: 512 Alarm-B LAP no spec.
I changed it to: G85 NLAP1D.1F.01U.02W.003
NLAP1 G81
I get this error: 414 Alarm-B program bad direct sequence name 2
I changed it to: G85 NAT1D.1F.01U.02W.003
NAT1 G81
I get this error: 511 Alarm-B Lap sequence No.
Hi Brian,
I just got the data management card out of the door, and there is nothing in the box behind LAP4 on it. :-(
There is a circle behind IEC auto door check, Tool nose radius comp., inch/metric switchable, expand auto chamfering, nc torque limiter, tape in/out for tool offset, spindle max speed inter., door interlock C, Flat panel and turret limit type B.
Good morning
I changed it to: G85 NAT1D.1F.01U.02W.003
NAT1 G81
try this
G85 NAT01 D.1F.01U.02W.003
NAT01 G81
you need to have spaces and you need 4 caracters after N
one of my programs
N1 G0X20Z20
N2 G50S2500
(TAILSTOCK MOVES FORWARD)
N3 M157
N4 M56
N5 G04F2.0
N6 M1
N7 G97 T0303 S655 M3 M8
N8 G0 X3.5 Z.0119
N9 G96 S600
N10 G85 NAT03 U.01 W.007 D.18 F.01
$ G84 XA=1. FA=.008 DA=.16
$ G84 XB=.75 FB=.005 DB=.14
NAT03 G81
N11 G0 X.6298 Z.0119
N12 G1 X3.3311 Z-3.2489
N13 X3.5
N14 G80
N15 G0 Z.0119
N16 G0 X20. Z20. M9
N17 M1( TOOL 4 = 35 DEG OD FINISH TOOL INSERT = VNGP331 )
I changed the program to read like that, and same ole same ole. I've pretty much come to the conclusion that whomever purchased this machine new didn't have the LAP option installed.
Kind of a pita. I've got Surfcam, but I've always found it easier and quicker to program a lathe using the canned cycles and a blueprint than to draw it on a cam program and toolpath it.
I ran your program in simulation and I did not get any alarms. I think your machine supports LAP cycles because if it does not you will get alarm 512= LAP no spec. and no other alarms. you are gettting 511 sequence name.