Hello Guest it is April 18, 2024, 03:30:51 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CRS

Pages: 1 2 3 4 5 6 7 »
1
General Mach Discussion / Re: Need dedicated cycle start
« on: June 25, 2017, 10:18:15 PM »
Hi maxaircarbs,

I think the only reason I am replying to your post is I know how frustrating it can be.  Firstly, I don't quite understand what Mach you are using. You mention OEM codes, but Mach 4, as far as I understand, doesn’t use OEM codes anymore.  All things Mach4 are accomplished via Lua scripts.

I think OEM codes were used in Mach3.

So let us first get that bit clear.  If you are using Mach 3 then this is the wrong place to post, if Mach 4, then we need to be having a different discussion.

If you use Mach4, then I at least may be able to help you to get your Cycle Start working.

Craig

2
Mach4 General Discussion / Re: MPG with Feed Hold SAFETY ISSUE
« on: June 17, 2017, 10:52:39 PM »
Hi Steve,

Thanks for explaining about PMC.  Actually looking back at other posts you have helped me on, you did in fact explain it to me already.  Sorry about that.

Over the last days I looked at it and read the help, but still too much for me to comprehend.  I also pondered and did copy and paste stuff into the script using the mpg inhibit, but not there yet.  Being that I am not at a stage Lua wise to be able to heed your advice and use the ISIG_MPG_INHIBIT, (I did try), do you have an approximate ETA on the next Mach4 Build that will hopefully not include the MPG crazy behaviour thing?

I know it's a copout, but if it's not too far away, for now I will just go with using the Motion Inhibit.  My family needs me back....

Thank you Steve

Craig.

3
Mach4 General Discussion / Re: MPG with Feed Hold SAFETY ISSUE
« on: June 15, 2017, 11:10:00 PM »
Thanks Steve,

Reading what you said kind of makes sense to me, unfortunately I am just not at that level where I can do any of that stuff yet.  I will have to go looking and find out what a PMC is, haven't come across that one.

I will read your reply another 5 or 6 hundred times and I am sure the penny will drop.  Ignorance is not bliss when it comes to this stuff hey.  I do long for the day when I won't screw up my face when I read things like this.  It is prematurely aging me.

Regards,

Craig.

4
Mach4 General Discussion / Re: MPG with Feed Hold SAFETY ISSUE
« on: June 15, 2017, 08:03:14 PM »
Ah ha Steve, so you're the culprit!

But seriously now.   What you say makes sense,.... and that is why I can't jog in Feed Hold, but I can MPG (verb).

Steve, can you see any issue with what we have done with the Motion Inhibit input?  You know how things seem logical and obvious, until it all goes wrong.

Thanks for letting us know that Steve.  Good man.

Craig.

5
Mach4 General Discussion / Re: MPG with Feed Hold SAFETY ISSUE
« on: June 15, 2017, 04:20:38 AM »
Hi Andrew,

Thanks so much for taking the time to make contact.   And I do apologise for taking a while to answer you, I only just noticed the email from Mach support in my Inbox.

The log file is done and should be uploaded along with this.  That is another thing I have learned.  I wondered what that logging thing was for.

Together with another chap, we are doing two conversions, and it happens the same with both machines.  That could of course be that I have made an error and that error has been passed on to the other machine.

Just in case this MPG/Feed Hold thing is an issue that is inherent, I have, through some trial and error, managed a work around.  For anyone interested, this is what I did.

Using the normally closed contacts from the OFF position on the axis Selector switch, I wired it to an input on the Ethernet Smooth Stepper via my CNCRoom MB2 breakout board and set it to Active High.  Mapped that input to the “Motion Inhibit” input for Mach via the ESS config and that was that.  When the MPG is in the OFF position, you can run G Code, but when the MPG has an axis selected, the input goes high, then any motion related to G Code is stopped.

It is not ideal and I found it somewhat surprising that it doesn’t actually inhibit all motion including the MPG. But for now it works.  If code is running and you turn the MPG axis selector switch, it will halt the G Code and act in a similar way to a Feed Hold command.  Like I said, not ideal, but not a big safety issue either.  Select OFF and off it goes again.

Thanks again Andrew, look forward to hearing back from you.

Craig Smith

6
Mach4 General Discussion / MPG with Feed Hold SAFETY ISSUE
« on: June 13, 2017, 04:16:02 PM »
Hi guys, me again,

I wonder if anyone has experienced this. On one machine we have added an external MPG wheel to the front console, it works very well using Chaoticone’s script for his CNC4PC Pendant.  Slightly modified, but all good.  A five position rotary selector switch for OFF, and the four axes X, Y, Z, and A.

When running G Code, the MPG and Jogging are not available of course, but when Feed Hold is pressed, if the MPG is not in the OFF position, which can happen, and it is accidentally bumped, then it mimics the Cycle Start command and the G Code starts running again.  I must say, that makes you sit up and take notice!

Well, just make sure the switch for the MPG is in the OFF position….  Yes of course, but if things can go wrong, then they might.  It gets better.  When Feed Hold is press again or Cycle Stop is pressed in an attempt to halt the unwanted action, the screen freezes and the machine just keeps on running.  I assume Mach or the PC is still running the G Code in the background.  It then requires E-Stop to halt the action.  Not very convenient.

That part may just be on our set up for whatever reason, but I assume the MPG acting as a proxy Cycle Start is normal.  My thought is to set things up like on my current mill and I have seen elsewhere, where the selector switch unless in the OFF position actually prevents the Cycle Start from acting.  Not sure if that is what is happening internally, but that is the effect.

Is this a good solution?

Have a normally closed contact from the OFF position in the selector switch activate an input, say input 63, then modify the Cycle Start function to include that input in the things it looks for before it can be actioned?

I have the input happening and have attempted to add that input to the “if/then” statement in the Cycle Start script, but I really have no idea what I am doing.  I don’t want to just keep trying stuff as this is more than just a desire, it’s now quite a potential safety issue if I don’t get it right, or get it half right.

Any suggestions welcome and anyone with an external MPG wired in, be aware.  If using a pendant with a Dead Man switch, then that takes care of it, but we don’t want a Dead Man switch, as I believe one of your hands is rendered unusable while holding in the switch.

Craig.

7
Mach4 General Discussion / Re: Need some minor LUA adjustments...
« on: June 08, 2017, 07:08:29 AM »
Bob actually has it working.  I have spent about a week back and foward with him, and he has a good handle on the whole thing.  So yes take a look.

Craig.

8
Mach4 General Discussion / Re: Need some minor LUA adjustments...
« on: June 08, 2017, 05:58:08 AM »
Hi Soruud, how was the big boys weekend away?  I assume you must be back.

Have you seen one of the latest posts by Bob69.  I have been involved with him as he works out the same thing you are interested in with the external Jogging

I think he has it.  Go here and have a look http://www.machsupport.com/forum/index.php/topic,35072.0.html

I have it edited to suit my needs, but haven't tried it yet.

Craig

9
Hi mjwaldne,

While helping a friend with his mill recently, we actually commented out the line for the "-1" selection (no axis selected) and using a 5 position rotary switch made the first position (most left or CCW) the off position, isolating the A & B phases.  Had a few spare poles on the switch to do it.  Then X, Y, Z and A for the other four positions.

On my mill, I will also comment that line out and isolate the Phases, just seems a safer way.  I found if the MPGs can stay active, all is fine while running G Code as they are rendered unusable, as are the on screen jogging.  But when you hit feed hold, then if you somehow accidentally touch an MPG wheel, it starts the G Code running again.  I am sure there is a way of stopping this somehow in the code.  But I am not there yet.  So hence the want to have a hard wired off state somewhere.  Guess what I am saying is, I am not sure that line in the code is good enough.  Doing it in the hardware is the best.

Craig

10
Hi mjwaldner, I don't know the answer, but in case you have never seen this I will attach.  I used it to get my external MPG wheels all working.

It is written for a CNC4PC pendant if I remenber correctly and .  It was originally uploaded by Chaoticone.

Hope it helps.

CRS

Pages: 1 2 3 4 5 6 7 »