Hello Guest it is March 02, 2021, 12:37:14 AM

Author Topic: Input 1.  (Read 5247 times)

0 Members and 1 Guest are viewing this topic.

Input 1.
« on: July 27, 2012, 07:43:35 AM »
I'm new to Mach.  We are having trouble integrating safety circuits into Mach 3.  We are trying to use input 1 as shown in the general options, but find that it does not inhibit manually jogging the axis.  It may work with gcode program execution, but does little in manual.  To follow safety protocols, the machine needs to be locked down completely when the safety circuit is active.  An EStop is not an option as the safety circuit is tripped frequently (in the form of a light curtain), and it would be a nuisance.  Any suggestions?  Thanks.
« Last Edit: July 27, 2012, 07:45:44 AM by mariod »

Offline BR549

*
  •  6,944 6,944
    • View Profile
Re: Input 1.
« Reply #1 on: July 27, 2012, 11:54:09 AM »
I would use the Input 1 feature as it will stop Gcode program execution without positional loss  AND use a simple brain or macropump to turn OFF Jogging when the input1 is active.

(;-) TP

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input 1.
« Reply #2 on: July 27, 2012, 01:32:21 PM »
Input 1 will stop instantly just like pressing Stop so loss of position can occur if you use it whilst in motion.
 What you could do is have a Brain or macropump see an  input (Not input 1), call a feedhold, then  have it switch a relay to enable input 1. That would inhibit code but not lose you position. You could also then have the brain or macropump look at the Jog Control LED and switch it off (if its on) and that way you will not be able to manually move and axis either until switched back on.
Its a bit of a round about way but its the only way I can think of to achieve what you want.
Hood

Offline BR549

*
  •  6,944 6,944
    • View Profile
Re: Input 1.
« Reply #3 on: July 27, 2012, 06:08:27 PM »
I thought that the input 1 just blocked the execution of the Gcode program to keep it from running?

(;-) TP

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input 1.
« Reply #4 on: July 27, 2012, 06:12:28 PM »
It does but if there is motion the steps are stopped with no deceleration and again started with no acceleration when Input 1 becomes inactive again.
Hood

Offline BR549

*
  •  6,944 6,944
    • View Profile
Re: Input 1.
« Reply #5 on: July 27, 2012, 07:39:23 PM »
Testing here it seems to work ok using the input#1 function. Stops with deaccel. while Stop stops instantly
Could be wrong though, (;-) TP

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input 1.
« Reply #6 on: July 27, 2012, 07:43:46 PM »
Get your scope out and try again ;)
Hood

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input 1.
« Reply #7 on: July 27, 2012, 07:59:58 PM »
Just did it myself see if you agree.
Scope of initial move then three Input 1 activations then finally a feed hold.
Note the acceleration at the start then no deceleration or acceleration on the three Input 1 activations/deactivations and finally deceleration on the feed hold.
Vid link is here, will keep it up for a while.
http://www.youtube.com/watch?v=jKiltZQ1CBQ&feature=youtu.be

Hood

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Input 1.
« Reply #8 on: July 27, 2012, 08:06:59 PM »
Also here is a post where it was discussed and as you will see later on Art confirmed to me there is no decel.
http://www.machsupport.com/forum/index.php/topic,12918.0.html

Hood

Offline BR549

*
  •  6,944 6,944
    • View Profile
Re: Input 1.
« Reply #9 on: July 27, 2012, 08:17:18 PM »
HOOD I cannot make out the vid very well I will test the machine back at the shop on Monday.

Testing here at the house i set the velocity wide open and the acell all the way down and watched the dro decay as it sped up and slowed down. The STOP came to an instant stop.

IF the input#1 does not use the accel/deaccel it is useless for a safety. Might as well just Estop it.  

From the safety aspect then MACH3 cannot be made to be safe as you must stop the machine including the spindle which CAN be done BUT at the loss of position and restarting is NOT one of mach3 strong points. Machine with large look ahead tends to run on a bit before stopping with feedhold.

Just a thought, (;-) TP

(;-) TP