What's new
What's new

OSP7000 LB15 II - Program loads incorrectly into control

GibsonI

Aluminum
Joined
Jul 8, 2010
Location
Australia QLD
Hi All,

I have spent a few years restoring an LB15II and am now close to running it.

I have successfully transferred and run a few basic programs via floppy.

The most recent program I transfer shows no errors during the copy process yet when I open the program at the control, all the program below a certain line is mixed up. Some pieces are repeated and shifted around etc.

Any clues as to why this might be? Other programs have transferred fine between trying to get this one across.

Program pasted below - presume its a machine issue rather than program. Ive messed around with this a lot so format isn't great now.

Always before the red G85 line pasted below.

Thanks for any ideas.



(51mm tip #4)
(Material 60/40 4140 hollowbar)
(Bar 53.5mm out from jaws)
(Z0 15mm from jaw face)
(JAW PRESSURE 150)
(PROVEN AND BACKSAVED x)
G50 S2000
G90
G95
G40
M42
VZSHZ=15
DEF WORK
PS LC,[0,0],[54,60],4
PS LC,[0,0],[54,40],0
END
DRAW

NSTAR
G00 X400 Z800
T010101

(FACE)
G00 X65 Z37.4 M08
G96 G01 X35 M03 S100 F0.25
G00 X400 Z800 M09
T020202
G00 X65 Z36.92 M08
G96 G01 X35 M03 S150 F0.1
G00 Z50 M09
G00 X400 Z800

(ROUGH Internal CYC)
N0001 G00 X400 Z800
T060606
N0002 G96 M03 S100
N0003 G00 X38 Z38 M08
N0004 G85 NAT01 D3 F0.25 U0.3 W0.3

(FINISH Internal CYC)
N0101 G00 X400 Z800
T090909
N0102 G96 M03 S150
G00 X48 Z38
N0103 G87 NAT01 F0.15

(Int. CONTOUR)
NAT01 G81 G42
N0201 G01 X50.9 Z36.92
N0202 G01 X50.9 Z26.92
N0203 G01 X47.5 Z26.92
N0204 G01 X42.5 Z3
N0205 G01 X42.5 Z-4.5
G40
G80
G00 X35
G00 Z100
G00 X400 Z800

(EXT CYCLE 1)
G00 X400 Z800
T040404
G96 M03 S120
G00 X62 Z38 M08
G85 NAT02 D2 F0.2
M09

(EXT CONTOUR 1)
NAT02 G81 G42
N0401 X53.7 Z36.92
N0402 G01 X57.1 Z26.92
G40
G80

(EXT CYCLE 2)
N0502 G96 M03 S120
N0503 G00 X58 Z28 M08
N0504 G85 NAT03 D2 F0.2
M09

(EXT CONTOUR 2)
NAT03 G81 G42
N0601 X57.1 Z26.92
N0602 G01 X48.66 Z3.0
N0603 G01 X48.66 Z-1.5
G40
G80

(EXT FINISH 1&2)
G42
G00 X60 Z25
G00 Z38
G00 X52
G01 X52.5 Z36.92 F0.15
G01 X55.84 Z27.09
G03 X55.84 Z26.75 I-0.99 K-0.17
G01 X47.46 Z3.0
G01 X47.46 Z-1
G00 X55 Z3

(POINT CYCLE)
N0702 G96 M03 S150
N0703 G00 X48.5 Z5 M08
N0704 G85 NAT04 D1 F0.15
M09

(POINT CONTOUR)
NAT04 G81 G42
N0701 X47.46 Z3
N0702 G01 X44.0 Z0
G40
G80
G00 X60 Z28
M01 (CHECK OK FOR PARTING)

(PARTING)
G00 X400 Z800
T1212
M01 (PUT BAR IN FOR PARTS CATCHER T/S)
G00 X62 Z0 M08
M03 G96 S100
G01 X40 Z0 F0.1
M05
G00 X400 Z800 M09

(BAR RESET)
T101010
G00 X-10 Z38.5
M00 (PULL BAR)
G00 X400 Z8003
GOTO NSTAR
M02
%
 
Hi Guys,

I seem to have found the problem - sort of.

When I copied the program from MS Notepad into my forum question I had HEAPS of spaces that didn't show up in Notepad.

I deleted them in the forum window and then pasted back into notepad as a new program. Loaded into control and its perfect.

Not sure how to avoid this in future (hidden lines in notepad).

Great forum guys.

Regards, Iain.
 
First off for me is the G42 is cutter comp and should not be on the line where you name the contour / cycle
"NAT02 G81 G42
N0401 X53.7 Z36.92
N0402 G01 X57.1 Z26.92
G40
G80"


Program should be
NAT10 G85
G0 to start point
G1 G42 X Z first cutting point
G1 X Z
G80 end of cycle

This is for an OSP 5000 control but should be similar

Cheers
Bernard
 
Hi Bernard,

Thanks for your comments and suggestions.

As I came back with what I found to be the solution I didn't check back in, assuming there would be no replies.

Thanks for your time.

Iain.
 








 
Back
Top