Search found 2180 matches

by TomKerekes
Sun Jun 03, 2018 10:50 pm
Forum: Bug Reports
Topic: adding 0.0055 when zeroing on Kmotion
Replies: 5
Views: 5934

Re: adding 0.0055 when zeroing on Kmotion

Hi Eric,
I will set up a part using zero probe and then on the appropriate axis hit the zero button.
What do you mean by this?

Does it involve a C Program?

If so is the C Program configured for Exec/wait/Sync ?

Does the C Program adjust by 0.0055 for the probe size?

Regards
by TomKerekes
Wed May 30, 2018 4:44 pm
Forum: C Programs
Topic: Loading screan script files from C programs
Replies: 3
Views: 2940

Re: Loading screan script files from C programs

Hi JoeKumanchik,

You should be able to configure an MCode to load the Screen. Then have the C Program Invoke the MCode by sending the PC_COMM_MCODE command to KMotionCNC.

DoPCInt(PC_COMM_MCODE,100); // Invoke M100 Action
by TomKerekes
Tue May 29, 2018 3:34 pm
Forum: C Programs
Topic: Position VS Dest
Replies: 1
Views: 1839

Re: Position VS Dest

Hi Snyggis,

"Destination" is the currently commanded coordinate for the Axis.

"Position" is the actual measured position of the axis. It is only valid if there is a feedback device such as an encoder.
by TomKerekes
Mon May 21, 2018 6:17 pm
Forum: C Programs
Topic: Saving of Work Offsets
Replies: 4
Views: 2712

Re: Saving of Work Offsets

Hi EondeK,

There isn't a command to explicitly save the offsets. But there is a "Save Always" option on the Edit Fixture Dialog that will automatically save the offsets to disk no matter how they are changed. Does this work for you?

SaveAlways.png
by TomKerekes
Mon May 21, 2018 5:43 pm
Forum: C Programs
Topic: Zero Work Offsets using Probe
Replies: 6
Views: 5703

Re: Zero Work Offsets using Probe

Hi EondeK, I'm sorry for missing this post and misleading you. You are correct the PC_COMM_SET_X command always changes the G92 offset. The Fixture Offsets are saved in the GCode Vars and can be modified there. There is a SetFixtureZ.c example of how to do this. I've also pasted it below. #include "...
by TomKerekes
Thu May 17, 2018 7:14 pm
Forum: C Programs
Topic: Zero Work Offsets using Probe
Replies: 6
Views: 5703

Re: Zero Work Offsets using Probe

Hi EondeK, DoPCFloat(PC_COMM_SET_X,0.0); Should perform the same operation as the "Set" button on the main KMotionCNC Screen. The "Set" button on the KMotionCNC Screen can be configured to either change the current fixture offset or the global G92 offsets. Which do you have KMotionCNC configured to ...
by TomKerekes
Wed May 16, 2018 12:49 am
Forum: Hardware Interface Issues
Topic: Power up Reset (low true) output
Replies: 1
Views: 2135

Re: Power up Reset (low true) output

Hi SL,

It’s not normally required but you are correct it can be used to reset your electronics or you can GND the pin to force a reset.
by TomKerekes
Sat May 12, 2018 6:19 am
Forum: New Feature Request
Topic: Distance to Go DROs
Replies: 1
Views: 3902

Re: Distance to Go DROs

Hi Troy,

No we haven’t added distance to go. It would be somewhat difficult because of the look ahead, buffering, and combining and filtering of blocks.

Either forum is fine. There might be more help and exposure at cnczone.
by TomKerekes
Fri May 11, 2018 1:00 am
Forum: C Programs
Topic: Are Soft Limits relative not absolute?
Replies: 6
Views: 5831

Re: Are Soft Limits relative not absolute?

Hi Jon, chan[Z].Position=( ... setting to 1" with math... ); Which I think is the "offending" call that is actually re-setting Machine Z to 1". Is that indeed what that does? Yes And then, as your first link / thread suggests: DoPCFloat( ...also set to 1" using math... ); Which it sounds like only r...
by TomKerekes
Thu May 10, 2018 8:02 pm
Forum: C Programs
Topic: Are Soft Limits relative not absolute?
Replies: 6
Views: 5831

Re: Are Soft Limits relative not absolute?

Hi Jon,

Yes that is changing the Machine Coordinate Position.

You might read this Thread on how to use the "Set DRO" function.

I don't fully understand your process but you can configure KMotionCNC to modify Fixture or G92 offsets. See Here.

HTH
Regards