2421
VB and the development of wizards / Re: macro for homing
« on: February 09, 2015, 03:02:16 AM »
Hi,
ok than let's try an other road:
Message ("ref. Z-axis")
DoOemButton(1024) 'Ref Z
Sleep(500)
While GetOemLed(809) = true 'wait normal reference to be finished
Sleep(200)
Wend
Message ("ref. Z-axis to index mark")
'here you can do your reference onto the index signal
Regards Thomas
ok than let's try an other road:
Message ("ref. Z-axis")
DoOemButton(1024) 'Ref Z
Sleep(500)
While GetOemLed(809) = true 'wait normal reference to be finished
Sleep(200)
Wend
Message ("ref. Z-axis to index mark")
'here you can do your reference onto the index signal
Regards Thomas