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 2009-11-23 13:36:49

dwepplo
Member
Registered: 2009-01-06
Posts: 3

Parsing order

Hi,

I'm trying to simulate some turning programs on a machine with a G & L 8000 control.  I'm trying to estimate cycle times and I'm having some problems modeling the high/low gear range.

I have two conditionals for my spindle start (M3 or M4) that checks the gear status and limits the max rpm.

The problem I have is most of our programs have the gear select on the same line and following the spindle start code.

N210 G96 S650 M03 M40

With the line above, if the machine was in high gear (M41) before this line - It will use the M3 with the M41 conditional.
I want it to process the M40/M41 before the M3.

Is there someway to do this, or is there a better way to simulate turning with transmissions?


Thanks,
Dan

Offline

#2 2009-12-01 00:06:03

SergeV
Senior Member
From: Irvine, CA
Registered: 2004-10-08
Posts: 507
Website

Re: Parsing order

Set your max speed with the M3 instead of M40 or M41.

Add a condition to M3 with M40 on the line. It will set the rpm, set the max speed then turn on the spindle.

Replace the macros called by M40 and M41 by NullMacro

Offline

Board footer