Hello Guest it is April 25, 2024, 04:56:30 AM

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

0 Members and 1 Guest are viewing this topic.

Offline mike^3

*
  •  116 116
    • 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,965 6,965
    • View Profile
YES check your email

(;-) TP