Hello Guest it is March 29, 2024, 06:33:37 AM

Author Topic: how can use input1 and input2 for stop the program and do something.?  (Read 4556 times)

0 Members and 1 Guest are viewing this topic.

I need to do with mach3 ;  I want to use input1 and input2 like filament absence dedector...

When input1  is low ( this input for my 1. filament absence dedector) ....I want to stop program  and record to registers X - Y - Z  - A - B from dro reads.... and go ...   g01 x150 y -150  z0 ......machine will wait filament remplacement  ....after loading remplacing the filament  ...I need one  filament change OK BUTTON to click  with a  script , for continue the program from where his stoped.....( I need to reload old A dro data and old B dro datas to  DRO's ....because at the time of changing filaments I need to +   or -   .axes A and B .....and continue )

When input2  is low ( this input for my 1. filament absence dedector) ....I want to stop program  and record to registers X - Y - Z  - A - B from dro reads.... and go ...   g01 x150 y -150  z0 ......machine will wait filament remplacement  ....after loading remplacing the filament  ...I need one  filament change OK BUTTON  with a  script , for continue the program from where his stoped.....( I need to reload old A dro data and old B dro datas to  DRO's ....because at the time of changing filaments I need to +   or -   .axes A and B .....and continue )

note: as you seen in the picture , I have led's for input 1  and input2 ...and when the inputs occurs I can see by leds..

thanks in advance
Re: how can use input1 and input2 for stop the program and do something.?
« Reply #1 on: September 06, 2016, 06:40:36 AM »
how can ı do that ?