CNC Machine Logo
CNC Machine forum Logo
Last update: 09/09/10 01:55
CNC Machine RSS Feed Computer Numerical Control
CNC Programming

'Plant Supervisor'


• For the ultimate in speed: Up to 4000 ft @ 115.2 kbaud 12 times faster! •

Post your related message now.
Industrial RSS Feeds
Local Directory



CNC Machine Forum --> Read New MessagesPost New Message &bull Forum Tips • • FAQ



(Login / Register)

Free Ad


Interact
  • Tweet This
  • Facebook This
  • Photo Gallery
If you have any questions or comments, please post a new message or a follow up.
Related Resources


Top Searches: • cnc machine programming plants • cnc programming do loop • cnc program loop •
More: CNC Programming

Plant Supervisor


Page 1 (Original Post)

Rick (24.150.29.64) -

I am trying to take the following program and machine it at multiple Origins.

I would like to machine this at my original G54, then G55, G56, G57. However i dont want to loop this program at the end, i would like to have it move to the new Work origin before the tool changes. Any help with a sub-program would be great. And I dont want to copy and past this at with new work origins since my full program is over 10, 000 lines long.

Thanks in advance

%

O22221

(TEST)

(G56=X, Y0.@ CENTRE - Z0. TOP OF PART)

(G57=X, Y0.@ CENTRE - Z0. TOP OF PART)

(G58=X, Y0.@ CENTRE - Z0. TOP OF PART)

(G59=X, Y0.@ CENTRE - Z0. TOP OF PART)

G20

G00 G17 G40 G49 G80 G90

(1/4 SPOTDRILL 90 DEG)

T1 M06

G00 G90 G56 X0. Y2.88 S4400 M03

G43 H01 Z3. M08

G98 G81 Z-0.075 R0.1 F15.

X1.44 Y2.4942

X2.4942 Y1.44

G80

M05

G91 G28 Z0. M09

G28 Y0.

M01

(.302 DRILL - COBALT)

T3 M06

G00 G90 G56 X0. Y2.88 S2200 M03

G43 H03 Z3. M08

G98 G81 Z-0.33 R0.1 F10.

X1.44 Y2.4942

X2.4942 Y1.44

G80

G00 Z2.

M05

G91 G28 Z0. M09

G28 Y0.

M30

%


Comment #1 Stevo1 from USA -

"example sub"

If you don’t want a loop then this would be the way to go. Take ¼” spotdrill data and put it into a subprogram. Take the.302 cobalt drill data and put that into a subprogram. Remove The G56 from the code that will go into the subs. Lets say that you make them subprogram 1000 and 1001. Now your code can go as follows.

O22221(main program)

M98P1000G54

M98P1000G55

M98P1000G56

M98P1000G57

M98P1001G54

M98P1001G55

M98P1001G56

M98P1001G57

What kind of control are you using? As I said this is the easiest way without doing a loop. Why do you not want to have a loop??

Stevo


Page 1 (Original Post)

You are not logged in. It is recommeded that you post messages and comments with a CNC Machine profile. You will be protected from spam and have more features. Registration is quick and easy. You can also post as a casual user with the form below. As a casual user your IP address will be published! You must be a registered used to include a link.

REPLY to this message:

Plant Supervisor; CNC Programming

OR

Post a NEW MESSAGE

33

Please submit a new reply here. HTML is not allowed and you are encouraged to seperate your paragraphs with a double blank line for readablity. Please make sure your message is relevant to , CNC Programming, and this message:

Plant Supervisor; CNC Programming
E-Mail:         
Your email address is required. It will not be published.

Everything you enter below will be published.

Name:            (required)

Title:           (required)

Message (do not enter emails or links or urls in the message!):

You must be registered and logged in to include a link with your message. Others will also be able to contact you without disclosing your email address.
Submit Reply. Please do not submit the same message more than once.



Have you added a link to us from your website? (3205):
  • <a href="http://forum.thecncforum.com">CNC Machine</a>
  • <a href="http://forum.thecncforum.com/cgi-bin">Plant Supervisor; CNC Programming</a>
Plant Supervisor; CNC Programming All trademarks, copyrights and brands are the property of their respective owners.


(wezuzeepzwwt)

Privacy & DMCA Policy -- Those who twitter us!
CNC Programming 'Plant Supervisor'