Hello Guest it is April 19, 2024, 12:42:44 AM

Author Topic: Help my with > #1 = Z2.000  (Read 2408 times)

0 Members and 1 Guest are viewing this topic.

Help my with > #1 = Z2.000
« on: January 06, 2013, 09:31:02 AM »
Hello.
how can I when I make a loop with the M98 code
the Z-axis always lowered 0.1 mm per loop. example:

(-- START MOTION --)
M98 P1000 L3 (-- 3 Times the Sub Program)
G90
M30
(-- END MOTION --)

(-- SUB PROGRAM --)
O1000
#2 = #2 -0.1 (--this is not working-- :()
G00 G42 X-1.6 Y-9.87
G01 Z#2 F200 M03
G03 X-3.54 Y-9.37 R2
G02 X-15.76 Y-20.12 R14.52
G03 X-16.65 Y-23.74 R2.0
G03 X0.0 Y-29.0 R29.0
G03 X0.0 Y-8.0 R10.5
G02 X-1.28 Y-7.9 R8.0
G03 X-3.54 Y-9.39 R2.0
G03 X-1.6 Y-9.87 R2.0
G00 Z#1
G00 X8.89 Y-4.57
M99

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Help my with > #1 = Z2.000
« Reply #1 on: January 06, 2013, 12:06:01 PM »
First nowhere did you define the starting values of #2 or #1

#2= 1 (for example)

AND the #2=#2-0.1 should read as

#2=[#2-0.1]

Lastly you need to add % after you M99 to insure you have an added line or (carrage return) after the M99

Just a thought, (;-) TP
Re: Help my with > #1 = Z2.000
« Reply #2 on: January 06, 2013, 12:28:34 PM »
Thanks....
It works fine now.
 :) :) :)
Re: Help my with > #1 = Z2.000
« Reply #3 on: February 28, 2013, 03:57:58 PM »
Hello guys,

I'm searching a Pp for alphacam but in 4 axis X,Y,Z and C.

Do you know where i can found it?


sorry for my bad english i'm swiss


Thanks