Machsupport Forum
		Mach Discussion => VB and the development of wizards => Topic started by: tantan on August 11, 2013, 10:05:04 AM
		
			
			- 
				what i want is swinging the a-axis while the z-axis is moving to a position. how is that posible in vb?
 i made this but this wil move the z-axis first and then swing the a-axis. i want this simultaneously
 
 counter = 0
 code "g1 z90 f100"
 
 While counter < 20
 code "g0 a0.5"
 While ismoving()
 Wend
 code "g0 a-0.5"
 While ismoving()
 Wend
 counter=counter+1
 Wend
 
 thank you for your reply.
 
 tantan
- 
				counter = 0
 While counter < 20
 code "g1 z45 A0.5 f100"
 While ismoving()
 Wend
 code "g1 z90 A-0.5 f100"
 While ismoving()
 Wend
 counter=counter+1
 Wend
 End
 
 (;-) TP
 
- 
				hi,
 
 tnx for your fast reply, but this is not the effect i want, i will try to explain what i need.
 
 the z-axis has to move to z90 with f100
 while the z-axis is moving the a-axis has to swing with rapid speed (G0) between -0.5 and +0.5 degrees.
 
 i hope this will help to become a sollution.
 
 tnx tantan
- 
				That is not going to happen (;-)  Mach3 is a machine tool controller with all axis interpolated. That meaning you cannot seperate individual moves at the same time.
 
 (;-) TP
- 
				Hi,
 Oke tnx, but hw is that done with 3d milling, i assume all axis are moving seperately with their own feedrate?
 Tnx tantan
- 
				NO they are interpolated at the same feedrate and each axis is adjusted internally to arrive at the end point at the same time. You cannot have 1 axis doing a rapid and another doing feedrate at the same time.
 
 (;-) TP
- 
				Oke its clear now,
 Thanks for your reply and your explanation
 Tantan