VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2015-04-02 13:58:27

matteo
Member
Registered: 2014-10-14
Posts: 2

Sinumerik 840D FOR TO ENDFOR

Hi all!
I want simulate the FOR sinumerik function
this a sample:

T1 L6
D1
G54G90Y0
FOR 1 TO 50
G91 Y1
ENDFOR

M30

How I can Do it in Vericut?

Bye

Offline

#2 2015-04-23 08:12:35

paehv
Senior Member
From: Eindhoven, Netherlands
Registered: 2005-01-17
Posts: 166
Website

Re: Sinumerik 840D FOR TO ENDFOR

Define the words FOR and ENDFOR as macro (subtype none)
Define the word TO as Conditional > SiemensToCondWord

In Configuration > G-code processing > Add in section Word/Adresses:
FOR > macro ForLoop
ENDFOR > macro ForEndLoop
TO > condition FOR > macro ForToValue

See sin840d.ctl in the Vericut Library

Last edited by paehv (2015-04-23 08:15:36)


Patrick Delisse
KMWE Aerospacehttps://www.kmwe.com
(Vericut V9.5, Siemens NX2206, Campost)

Offline

#3 2016-01-05 21:03:07

DaveF
Senior Member
From: Valencia, CA
Registered: 2005-08-20
Posts: 304

Re: Sinumerik 840D FOR TO ENDFOR

nice


Dave Frank
Aerospace Dynamics International, PCC
Valencia Ca
"Where else can you have this much fun,.......and get paid???."

Offline

Board footer