Search found 8 matches
- Sat May 05, 2018 10:29 pm
- Forum: C Programs
- Topic: how to implement a security switch launching a program / gcode
- Replies: 27
- Views: 22372
Re: how to implement a security switch launching a program / gcode
Hi Tom, finally had access to the machine yesterday and was able to timplement the door switch and the new init-script. First of all, thanks for all the help, it worked out pretty well:-) And yes, I was totally confused about the M3, M5 command... As shown in my screenshot, I actually did really use...
- Thu May 03, 2018 9:19 pm
- Forum: C Programs
- Topic: how to implement a security switch launching a program / gcode
- Replies: 27
- Views: 22372
Re: how to implement a security switch launching a program / gcode
Hi Tom, M3 and m5 are configured to set bit 0 to 0 or 1 (pic attached),which is really weird, since this bit is supposed to switch electric power on a second 220V-plug, that I currently dont use (and where nothing is attached to); it does not have anything to do with the frequency converter.. M3_M5....
- Thu May 03, 2018 9:55 am
- Forum: C Programs
- Topic: how to implement a security switch launching a program / gcode
- Replies: 27
- Views: 22372
Re: how to implement a security switch launching a program / gcode
Hi Tom, ok, I see, will skip the abbreviation in the future:-)) The frequency-converter that drives the spindle is connected to a power plug that I control with Bit 1. So if i do ClearBit(1); I physically remove the Spindle from electricity (dont know how to formulate, I basically "unplug" it). The ...
- Thu May 03, 2018 5:20 am
- Forum: C Programs
- Topic: how to implement a security switch launching a program / gcode
- Replies: 27
- Views: 22372
Re: how to implement a security switch launching a program / gcode
Hi Tom, thanks! Ok, understood. The halt might (most likely) be issued within a GCode Block and I will be prompted in case I move away from the current location, perfect! Concerning spindle: yes, "FU" is the controller driving my spindle (sorry, I guess the abbreviation "FU" is german for "Frequenz-...
- Wed May 02, 2018 8:40 pm
- Forum: C Programs
- Topic: how to implement a security switch launching a program / gcode
- Replies: 27
- Views: 22372
Re: how to implement a security switch launching a program / gcode
Hi Tom, great, removed the semicolon and included the debounce function. Really looking forward to test it on the machine soon.. I have two more questions if you dont mind.. After opening the door: if I remove Feedhold, the machine is still on Halt. Then I close the door. Then I move the axis in Kmo...
- Mon Apr 30, 2018 10:07 pm
- Forum: C Programs
- Topic: how to implement a security switch launching a program / gcode
- Replies: 27
- Views: 22372
Re: how to implement a security switch launching a program / gcode
Dear Tom, again, thanks a lot. So my ini-file would curretly look like the one below (removed the "standard parts"). Does this seem somehow reasonable? I dont know though how to run the if(ReadBit(180)); ... ... only if the door is really closed; currently the if loop will be executed every timeslic...
- Sun Apr 29, 2018 8:56 pm
- Forum: C Programs
- Topic: how to implement a security switch launching a program / gcode
- Replies: 27
- Views: 22372
Re: how to implement a security switch launching a program / gcode
Dear Tom, thanks again for the reply! You are right, I mixed up Feedhold and Halt.. Currently I think the following might be a good starting point for a first setup: When opening the door, perform: 1) Halt G Code (like F5) can you tell me whats the corresponding C-Code for that? 2) once halted, turn...
- Sat Apr 28, 2018 9:53 pm
- Forum: C Programs
- Topic: how to implement a security switch launching a program / gcode
- Replies: 27
- Views: 22372
how to implement a security switch launching a program / gcode
Dear Tom, I transfer my question and your reply to it from yahoo group to here (below), I guess and hope it will be much more convenient for you ! So... Thanks for the quick reply! Indeed, I did not really consdier all the possible events you mentioned, all very good questions.. To keep it as simple...