Search found 1598 matches

by TomKerekes
Thu May 03, 2018 7:02 am
Forum: C Programs
Topic: how to implement a security switch launching a program / gcode
Replies: 15
Views: 16541

Re: how to implement a security switch launching a program / gcode

Hi Johannes, Well in English FU represents something very insulting and vulgar :D But I'm afraid I'm still confused. Wouldn't M5 be configured to turn off Bit 1 and therefore do nothing? And then wouldn't SetBit(1); turn the Spindle back on and start spinning? Do you have two IO bits controlling the...
by TomKerekes
Thu May 03, 2018 1:14 am
Forum: C Programs
Topic: how to implement a security switch launching a program / gcode
Replies: 15
Views: 16541

Re: how to implement a security switch launching a program / gcode

Hi Johannes, After opening the door: if I remove Feedhold, the machine is still on Halt. Halt is not really a state. A Halt causes the execution to stop gracefully with the exact stopping point recorded internally. The system is then basically idle. To resume you can push Cycle Start. Note the point...
by TomKerekes
Thu May 03, 2018 12:41 am
Forum: Hardware Interface Issues
Topic: Kstep Cable
Replies: 1
Views: 1580

Re: Kstep Cable

Hi German,

Thanks so much for pointing that out. We normally include 1.25 inch (31.75mm) standoffs.

It looks like the cable would be tight even with those.

Regards
by TomKerekes
Tue May 01, 2018 8:53 pm
Forum: Configuration Issues
Topic: Duble servo on axis
Replies: 7
Views: 8219

Re: Duble servo on axis

Hi Denis#, Sorry I don't understand much of that. But you should keep the Drives completely disabled on power up and have the Init program enable them. Also if you set a small Max Following Error then if the axis moves improperly for any reason it should disable the axis. You might read this: http:/...
by TomKerekes
Tue May 01, 2018 6:17 pm
Forum: Configuration Issues
Topic: Buffer Underflow Problems
Replies: 10
Views: 10866

Re: Buffer Underflow Problems

Hi Vio,

To attach files use the "Attachments" Tab below the Reply box. Then select "Add Files".

Also include what Version you are running and what type of system this is?

Regards
by TomKerekes
Mon Apr 30, 2018 10:42 pm
Forum: C Programs
Topic: how to implement a security switch launching a program / gcode
Replies: 15
Views: 16541

Re: how to implement a security switch launching a program / gcode

Hi Johannes 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 timeslice as long as the door is open I suppose, which might be very stressy for Kmotion.. Yes sending infinite Halts while the door is open to KMot...
by TomKerekes
Mon Apr 30, 2018 4:42 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: G codes for 3D printing
Replies: 10
Views: 6840

Re: G codes for 3D printing

Hi boss4, Those changes would be somewhat difficult. Can you change the Post Processor? Craftware doesn't seem to have a customizable Post Processor so we wrote a simple program to make the conversions to the GCode. You can find it here There is also some code for controlling KNozz Temperatures via ...
by TomKerekes
Sun Apr 29, 2018 9:42 pm
Forum: C Programs
Topic: how to implement a security switch launching a program / gcode
Replies: 15
Views: 16541

Re: how to implement a security switch launching a program / gcode

Hi Johannes, 1) Halt G Code (like F5) can you tell me whats the corresponding C-Code for that? DoPC(PC_COMM_HALT); // Halt KMotionCNC 2) once halted, turn off spindle (like F11, or corresponding M5, spindle off) can you tell me whats the corresponding C-Code for that? Rather than telling KMotionCNC ...
by TomKerekes
Sat Apr 28, 2018 10:28 pm
Forum: C Programs
Topic: how to implement a security switch launching a program / gcode
Replies: 15
Views: 16541

Re: how to implement a security switch launching a program / gcode

Hi Johannes, To keep it as simple and safe as possible, I will try to program the most basic case: stop motion, turn off spindle and dont do anything when closing the door again, thus, the user has to resume the job onscreen (KmotionCNC-button) if(!) the door is again closed. That will simplify thin...
by TomKerekes
Fri Apr 27, 2018 1:51 am
Forum: Configuration Issues
Topic: Buffer Underflow Problems
Replies: 10
Views: 10866

Re: Buffer Underflow Problems

Hi Vio, A couple of things to check: Too Small of a Facet Angle in the Trajectory Planner Settings can cause excessive segments to be sent and buffered. What is your setting? Try setting to 2 degrees or larger. You might check your USB rate for your Computer. There is a USB Test in the SimpleFormsCS...