Search found 25 matches

by Juanjo-Lasing
Fri Jul 31, 2020 10:10 am
Forum: C Programs
Topic: Recover code from Flash
Replies: 1
Views: 54

Recover code from Flash

Hello,

Is possible to recover a code previously flashed in the memory of KFLOP?

Thank you.
by Juanjo-Lasing
Thu Jun 18, 2020 7:14 am
Forum: User PC Applications and Libraries .Net
Topic: CallbackOnCollectedDelegate exception
Replies: 3
Views: 285

Re: CallbackOnCollectedDelegate exception

Hi Tom, Sorry I couldn't reply sooner. I initialize the axes from a C program, based in the file InitStepDir3Axis.c from the C Progarms folders in the KMotion434 folder. I use a total of 5 axes (0, 1, 3, 4, 5). In this C file I also make a home routine for all the axis. I don't do anything with axis...
by Juanjo-Lasing
Thu Jun 11, 2020 12:46 pm
Forum: User PC Applications and Libraries .Net
Topic: CallbackOnCollectedDelegate exception
Replies: 3
Views: 285

CallbackOnCollectedDelegate exception

Hello, I am getting this exception by using KMotion's interpreter on my application. This happens sometimes and I have not found any pattern to predict it. The same G-Code file may or may not trigger this exception. The problem is that when that happens, the whole program stops and Visual Studio doe...
by Juanjo-Lasing
Mon Mar 09, 2020 7:40 am
Forum: User PC Applications and Libraries .Net
Topic: G code interpreter ends too early
Replies: 3
Views: 1206

Re: G code interpreter ends too early

Hi Tom, I tested the process and found that I changed the ExecutionInProcess variable in another part of the code myself. I fixed it and now it's working. Anyway, what I don't understand is why, while a GCode is running and I try to move the axes at the same time, the movement "counts" even if the s...
by Juanjo-Lasing
Thu Mar 05, 2020 7:56 am
Forum: User PC Applications and Libraries .Net
Topic: G code interpreter ends too early
Replies: 3
Views: 1206

G code interpreter ends too early

Hello everyone, I am programing an application in .NET with visual studio where I use the G-Code interpreter. We have various cameras in different positions and the axis move to this positions to make different actions. When we need to execute a G-Code, first the motors move the axis to a particular...
by Juanjo-Lasing
Thu Feb 20, 2020 12:03 pm
Forum: C Programs
Topic: Home routine
Replies: 3
Views: 1241

Re: Home routine

Sorry I couldn't reply until now.

I was able to solve it with your indications and now it works perfectly.
Thank you as always Tom.
by Juanjo-Lasing
Mon Feb 10, 2020 10:41 am
Forum: C Programs
Topic: Home routine
Replies: 3
Views: 1241

Home routine

Hello, I am doing a home routine for various axis following this code for all them: ch4->Dest=104.5; Jog(4,-1); // start moving while (ReadBit(1032)) ; // wait for switch (input #16) to change Jog(4,1); // start moving while (!ReadBit(1032)) ; Zero(4); MoveAtVel(4,100,10); while (!CheckDone(4)); Zer...
by Juanjo-Lasing
Thu Feb 06, 2020 9:36 am
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Repeat GCode with Displacements
Replies: 4
Views: 1025

Re: Repeat GCode with Displacements

Understood.

Thanks again Tom.
by Juanjo-Lasing
Wed Feb 05, 2020 10:42 am
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Repeat GCode with Displacements
Replies: 4
Views: 1025

Re: Repeat GCode with Displacements

Thank you Tom, that was perfect. Another question, is it necessary to include the labels at the end of the file, after M2? I tried to add new instructions after the label to add new movements but the simulator is unable to leave the loop. Something like this: #1 = 20.2 (increment in X) #2 = 0 (numbe...
by Juanjo-Lasing
Tue Feb 04, 2020 11:52 am
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Repeat GCode with Displacements
Replies: 4
Views: 1025

Repeat GCode with Displacements

Hello, I am trying to make various repetitions of a structure defined in G-Code but displacing the origin of the structure a distance in each repetition. I’ll try to explain it with an example. I have a square defined in GCode like this: G0 X0 Y0 G1 X10 Y0 G1 X10 Y10 G1 X0 Y10 G1 X0 Y0 And I want to...