Hello Guest it is April 10, 2021, 10:07:12 AM

Author Topic: Can I make a script that only allows the tool changer to move in ONE direction?  (Read 1116 times)

0 Members and 1 Guest are viewing this topic.

Offline mike^3

*
  •  117 117
    • View Profile
Hello, here is a sample script

 If GetSelectedTool = 1 Then
  Code "G53 G0 A0"
 Code "G53 G0 A-5"
 Code"G92 A0"   
 While IsMoving()
 Wend
 End If

However, I only want the tool changer that I have (8 station) to rotate in ONE direction, positive, not negative. Where it stands right now it will rotate to the g0 a0. I would like for it to go forward until it goes to the tool no matter where (360 degrees) it is at. Forward direction only, is this possible?

Thanks!

Offline BR549

*
  •  6,952 6,952
    • View Profile
YES check your email

(;-) TP