Hello Guest it is April 18, 2024, 11:19:23 PM

Author Topic: Probably simple but...(G-Code help)  (Read 24875 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #60 on: January 14, 2016, 01:26:50 AM »
I had to make a phone call to verify but in all the years I have had the DryRun feature here with plasma no one has every hit that button with a program cutting(;-)  IF you find one that does just smack him hard with the Dummy stick a time or too and it will not be a problem again .

Just a thought(;-) TP

LOL :)

Don't forget - Bells-and-whistles :) It's all sort of working now. Applying my database software programming rules to this process tells me that when code is running the ONLY buttons that should be live are STOP and HOLD (I think) all others should be disabled, thats how i tend to go.


BTW If Cycle-Start LED is 804 then that is the one that does NOT work - mach seems to "run" the code as it loads so the value of that led is 1 while loading and running. I need something that is 1 while loading and 0 while running or vice-versa.
« Last Edit: January 14, 2016, 01:29:03 AM by Davek0974 »

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #61 on: January 14, 2016, 10:19:19 AM »
OH NO DOn't talk system programming to a Gcode machine. It will never be the same again . I think you have done a fine job working with it.

(;-) TP

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #62 on: January 14, 2016, 10:33:56 AM »
OK I went back and checked teh 804 LED and it is working as it should work. On loading it flashes for about .5 sec and then goes back off . Then it ONLY comes on when you press cycle start(run).

I also checked it in a brain and it works ok there as well.

(;-) TP

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #63 on: January 14, 2016, 10:36:20 AM »
OK I went back and checked teh 804 LED and it is working as it should work. On loading it flashes for about .5 sec and then goes back off . Then it ONLY comes on when you press cycle start(run).

I also checked it in a brain and it works ok there as well.

(;-) TP

Thats odd, what comparison are you doing in the brain. if any???

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #64 on: January 14, 2016, 10:36:59 AM »
OH NO DOn't talk system programming to a Gcode machine. It will never be the same again . I think you have done a fine job working with it.

(;-) TP

He he LOL :)

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #65 on: January 14, 2016, 11:03:30 AM »
In the Brain I brought in the RUN LED804 and passed it straight though  as it is already a boolean value  . Looking at teh brain veiw when the cycle start is pressed it comes ON and when you stop it goes off. It is NOT on during program load but appears to flash momentarily (.5 sec or so)

Then brought in teh DRO you used and compared that to 1 . Then used an AND for teh 2 inputs to trigger an ouput  SO if both inputs are true it works if not it does not activate teh ouput.

I used the brain I sent you to test with
« Last Edit: January 14, 2016, 11:07:02 AM by BR549 »

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #66 on: January 14, 2016, 11:58:31 AM »
Thanks for all this,

I did try that brain and it did not work, I will take it out tonight and try it again as it should really work.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #67 on: January 14, 2016, 12:11:09 PM »
When you get that working I still have a large bucket full of Plasma related goodies that most people have never seen.

(;-) TP

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #68 on: January 14, 2016, 01:13:53 PM »
Excellent stuff :)

I tried the Brain and loaded a job with four duplicated parts, each part has multiple IHS calls and when loading the brain flicked on an off 8 times.

I video'd it, give us half an hour and i'll put a link up - its very odd.

:)

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
Re: Probably simple but...(G-Code help)
« Reply #69 on: January 14, 2016, 01:36:51 PM »
Here we go - short video of a file loading :)

https://youtu.be/dhpkBF-zgPw