I watched tutotrial about tool change.. its a long script written for m6 but nothing written in my software. do i need to write it manually? i am going to use PLC for tool change. Which command i should transfer plc?
You will need to write your own M6 macro,
mine is below, as you can see its relatively simple but that is because all it is doing is sending a signal to the PLC and waiting for one back.
'Toolchange macro for Chiron FZ12S
If GetSelectedTool()= GetCurrentTool() Then
End
End If
Code "G53G0Y310Z-5M3S200"
While IsMoving()
Wend
SetTool =GetSelectedTool()
tool = GetSelectedTool() Mod 12
If Tool = 0 Then
Tool = 12
End If
Do
Call SetModOutput (tool,1)
If GetInput (tool) Then Exit Do
Sleep 10
Loop
Call SetModOutput (tool,0)
SetCurrentTool( SetTool )
Hood