Hello Guest it is March 28, 2024, 10:55:39 AM

Author Topic: help with setting up control buttons  (Read 2947 times)

0 Members and 1 Guest are viewing this topic.

help with setting up control buttons
« on: September 23, 2015, 03:40:25 PM »
hi all

im trying to figure out how to write/construct a special jog-macro that involves 2 axis, 2 buttons and some dro's;


when input1 is active, the b axis should move (rotate) at an individual b-axis feedrate and stop on inactive (=button  released)

when input1 AND input2 is active, the z axis should move (together with b) at a individual z-axis feedrate until a pre-set distance is reached and stop even if the buttons are still pressed

if input/button1 is released both axis should stop, if input/button2 is released then z only should stop


is this doable?

/js



  

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: help with setting up control buttons
« Reply #1 on: September 23, 2015, 04:21:24 PM »
NOT in mach3 Mach4 maybe.

(;-) TP
Re: help with setting up control buttons
« Reply #2 on: September 23, 2015, 04:41:49 PM »
 :( :( :(
this is a safety issue thing on a special machine im workin with

i told the client it was doable... :-[

is it impossible or just tricky?

/js

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: help with setting up control buttons
« Reply #3 on: September 23, 2015, 06:30:20 PM »
Mach3 cannot move 2 axis at different feedrates at the same time also Mach3 does not have 2 state on/off actions on control functions.  Mach4 can have both of those but it is still very undeveloped.

So is it IMPOSSIBLE , maybe (;-)  You do not want to experiment with someone else's safety. OR your reputation if you get someone hurt.

What you need is to do it with PLCs. I would NOT trust Mach3 for an industrial device where YOU are responcible for someones safety and you would NEVER get it by safety regulators using a PC based DIY motion controller as a base. Lawyers would have a field day ,IF.

(;-) TP
« Last Edit: September 23, 2015, 06:37:46 PM by BR549 »
Re: help with setting up control buttons - CHANGED
« Reply #4 on: September 25, 2015, 03:59:57 PM »
hi again

iwe changed the concept;

is it possible to set up 2 external buttons so that a program starts and keep running as long as both buttons are pressed,

and if any of the buttons are released, the program should go into feed hold mode, then continue when both are pressed again?

/js

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: help with setting up control buttons
« Reply #5 on: September 25, 2015, 04:10:24 PM »
What exxactly are you trying to do ? It sounds like a 2 button safety or deadman device.

(;-) TP
Re: help with setting up control buttons
« Reply #6 on: September 25, 2015, 05:02:45 PM »
yep
sort of

its a special designed machine for grinding and honing big copper tubes of various shapes (high voltage breaker parts) prior silver plating, and before that some tape masking must be done,

a tape roll is attached on the machine´s head and the program positions the tape at the startpoint

then the operator has to manually pull out and attatch the tape´s end onto the workpiece and use both hands to press the 2 buttons so that no body parts are within the working zone

while the program winds on the tape, then stops and waits for the operator to cut of the tape, then press the buttons again to repeat the sequence for the next masking position


any ideas?
/js









Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: help with setting up control buttons
« Reply #7 on: September 25, 2015, 06:45:05 PM »
Sorry but there is nothing I can tell you that will make Mach3 safe for what you want to do. There is a specific criteria you must meet in order to even USE mach3 for what you are wanting to do AND mach3 will NEVER pass that criterea. The 2 button station also HAS to meet a specific criterea to be be used for a safety solution. Things such as both buttons MUST be independant from each other yet work together. You cannot just put both buttons in series and require that you push both for it to be safe.  On each cycle of start/ stop BOTH butons must go OPEN state to prove that you did not tape one of them closed and are just using one button. Pluse there is a boat load of other things it must meet.

IF you do not have a clear understanding of the safety aspects that ARE REQUIRED by LAW then you you need to rethink the position you are putting yourself in. This is NOT a mini table top mill sitting on your Kitchen table.

Mach3 has to many quirks about it that prevent it from even being considered in this situation much less actually USED.

Do yourself and your family a HUGE favor and walk away from this while you still can.

(:-)TP