Hello Guest it is September 16, 2019, 09:08:04 AM

Author Topic: Reviving old machine using mach  (Read 22438 times)

0 Members and 1 Guest are viewing this topic.

Re: Reviving old machine using mach
« Reply #60 on: April 12, 2014, 02:57:39 AM »
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?

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #61 on: April 13, 2014, 04:12:19 AM »
does Flood/Mist control works as auto or i have to control it?

M7/M8/M9 control mist/flood

Hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #62 on: April 13, 2014, 04:14:05 AM »
what this user LED does? Can i consider those as Output ? I mean for example 86- x enabled - can i take this as feedback when x axis is enabled in mach?

Not really sure what you are meaning but you can use the LED for other VB if you wish.
Hood

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #63 on: April 13, 2014, 04:17:45 AM »
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

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #64 on: April 13, 2014, 04:20:04 AM »
I should say however that if you are using the Plugin for Modbus then I am not sure the GetInput() and SetModOutPut() will work.
I have a feeling that you cant use VB with the plugin directly and need to use User LEDs in your macro in conjunction with a Brain.
Hood
Re: Reviving old machine using mach
« Reply #65 on: May 24, 2014, 02:33:24 AM »
I am using one LPT port of mother board itself and second one is PCI port

PCI port showing addres E000 to E007

Do i need to remap this? I tried usiong 0xE000 but Mach is getting nothing

One more question - I am using 5 axis. I can Jog 4 from MPG of MACH(using TAB key of keyboard) but how to Jog 5th Axis?

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #66 on: May 24, 2014, 04:08:29 AM »
If you are using the PCI port then E000 is what you should enter.
You will need to add buttons to the screenset to jog other axes.
B axis is OEM 189
C axis is OEM 190

Hood
Reviving old machine using mach
« Reply #67 on: May 24, 2014, 06:42:46 AM »
You mean 0xE000?


Sent from my iPhone using Tapatalk
Reviving old machine using mach
« Reply #68 on: May 24, 2014, 11:54:12 AM »
And can i rotate spindle in jog mode? Manual?


Sent from my iPhone

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: Reviving old machine using mach
« Reply #69 on: May 25, 2014, 03:02:47 AM »
No I mean E000, you do not enter th 0x

If you are meaning Jog the spindle from MPG  then the only way would be to use SwapAxis() and treat it as an axis.
Hood