Search found 852 matches

by TomKerekes
Sat Apr 04, 2020 6:17 pm
Forum: Tuning Servos
Topic: KAnalog Mach3 Yaskawa DAC. loose position
Replies: 1
Views: 4

Re: KAnalog Mach3 Yaskawa DAC. loose position

Hi redx,

Loosing position would normally indicate a problem with the encoder or how it is interfaced. You might read this.

Test with KMotion.exe not Mach3.
by TomKerekes
Thu Apr 02, 2020 12:50 am
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: trying to use some G41 action
Replies: 5
Views: 14

Re: trying to use some G41 action

Hi Scott,

Looks like you forgot to turn off Radius Compensation with G40.

See the example: ToolRadiusInternalContour.ngc

It demos a path with and without compensation turned on.

Note you might want to select the Fanuc mode of compensation entry mode. See the wiki.


RComp.png
RComp.png (9.04 KiB) Viewed 11 times
by TomKerekes
Thu Apr 02, 2020 12:32 am
Forum: Hardware Interface Issues
Topic: KNozzle - Hot on startup
Replies: 10
Views: 69

Re: KNozzle - Hot on startup

Hi Scott,

The 1000 ohm Version might work reasonably well.

32208571

Connected directly to KNozz the resolution would be 1.1 ADC Counts/Degree

Device current would be maxed out at 0.3ma

See Plot below:

RTD.png
by TomKerekes
Tue Mar 31, 2020 2:49 am
Forum: Hardware Interface Issues
Topic: KNozzle - Hot on startup
Replies: 10
Views: 69

Re: KNozzle - Hot on startup

Hi Scott, Amit tried to use the same sensor some time ago and had poor resolution at higher temperatures. There was a discussion on cnczone here . In the Thread there is an Excel sheet to calculate KNozz ADC counts vs Temperature the result is copied below. 104GT2.png The sensor resistance becomes t...
by TomKerekes
Mon Mar 30, 2020 5:27 pm
Forum: Hardware Interface Issues
Topic: KNozzle - Hot on startup
Replies: 10
Views: 69

Re: KNozzle - Hot on startup

Hi Scott, The default KNozzControlTemptsMCode.c code assumes a Thermister 3rd order function of: // Convert Temperature in C to equivalent ADC Counts // based on 3rd order data fit to this measured data // // Temp C, ADC // 16.0 199 // 35.0 400 // 49.1 600 // 54.7 700 // 60.7 800 // 66.9 900 // 73.6...
by TomKerekes
Mon Mar 30, 2020 3:54 pm
Forum: Hardware Interface Issues
Topic: Beginner: KFLOP only wiring
Replies: 4
Views: 57

Re: Beginner: KFLOP only wiring

Hi Marcio, Yes you should be able to use a similar configuration as used with KStep Spindle Control. See the Spindle_S_Kstep.c, Spindle_Off_KStep.c, Spindle_CW_Kstep.c, Spindle_CCW_KStep.c examples in the \C Programs\KStep\KMotionCNC directory. Configure them in the KMotionCNC Tool Setup for the S, ...
by TomKerekes
Sun Mar 29, 2020 9:49 pm
Forum: C Programs
Topic: G Code Cycle repeat
Replies: 5
Views: 52

Re: G Code Cycle repeat

Hi aaperezd, I'm not sure I understand. But you can halt the GCode with an M0. Or you can pause and display a message with (MSG,Change the Table). If you need to pause based on a formula, such as every 10 times, then a conditional call to a pause subroutine can be coded. See the example: SubroutineW...
by TomKerekes
Sun Mar 29, 2020 7:03 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 74
Views: 6742

Re: G-codes/offsets/tools with .Net

Ho Moray, I can't really make sense of those numbers without more info but there are significant differences between Simulation, Single Stepping, and Running free. So I would expect the counts to be different. I think with Simulation Trajectory Planning isn't invoked so each GCode G1 should result i...
by TomKerekes
Sun Mar 29, 2020 4:53 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Multiple MsgBoxNoWait
Replies: 4
Views: 41

Re: Multiple MsgBoxNoWait

Hi Moray, Yes I see code such as below that does a MsgBoxNoWait then transitions to state TC_FAILED which immediately does a MsgBoxNoWait. Maybe make a new state that waits for the Message response and then transitions to TC_FAILED ? case TC_CHKCRSLFLAT: // Is carousel geneva mechanism on position, ...
by TomKerekes
Sat Mar 28, 2020 9:09 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Multiple MsgBoxNoWait
Replies: 4
Views: 41

Re: Multiple MsgBoxNoWait

Hi Moray, Yes you are correct MsgBoxNoWait is completely non-blocking. It doesn't wait in any case either for a previous command to be completed or for the new message to be acknowledged. Here is an example of a non-blocking state-machine approach to wait for an acknowledge. Note the printf and Dela...