Search found 2540 matches

by TomKerekes
Sat Dec 12, 2020 4:32 pm
Forum: C Programs
Topic: ADC Screen
Replies: 13
Views: 1994

Re: ADC Screen

Hi Gabriel, Please see this post on cnczone which shows the example ShowInstantVelocityDROBar.c + ShowInstantFeedRate3AxisBar.scr to display a rate as a DRO and Verical bar graph. Of course you would display the ADC reading instead. Also attached is a similar example to display Spindle RPM but using...
by TomKerekes
Thu Dec 10, 2020 2:48 pm
Forum: Bug Reports
Topic: KmotionCNC not opening previous opened program
Replies: 1
Views: 818

Re: KmotionCNC not opening previous opened program

Hi Amit,

I can't reproduce this problem. What steps are you doing?

The filenames are saved in \KMotion\Data\GFilesCNC.txt

Is the last file listed in that file correctly after exiting KMotionCNC?
by TomKerekes
Wed Dec 09, 2020 5:56 pm
Forum: C Programs
Topic: C program
Replies: 9
Views: 1172

Re: C program

Hi Ben,

You don't need to be an expert, but you must be able to read, understand, and modify examples. You might read this.
by TomKerekes
Sun Dec 06, 2020 3:36 pm
Forum: Hardware Interface Issues
Topic: NO DAC OUTPUT
Replies: 2
Views: 601

Re: NO DAC OUTPUT

Hi Scott, Does the Enabled LED on Kanalog come on? If the Analog Screen shows voltage there should be voltage. Disconnect everything from Kanalog. Cycle power. Command DAC0=2000 on the console. What voltage do you measure on DAC0 with a voltmeter? Post your Config, Step Response, and Filters Screens.
by TomKerekes
Sat Dec 05, 2020 8:28 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Math Round / Ceiling / Floor
Replies: 4
Views: 1212

Re: Math Round / Ceiling / Floor

Hi suumas,

The GCode Interpreter is based on the public domain NIST RS274NGC Interpreter you can download a manual here. Section 3.3.2.3 describes expressions.

Or you can look at the source code :) See execute_unary() in \GCodeInterpreter\rs274ngc.cpp also add your own.
by TomKerekes
Sat Dec 05, 2020 5:38 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Math Round / Ceiling / Floor
Replies: 4
Views: 1212

Re: Math Round / Ceiling / Floor

Hi suumas,

FUP, FIX, and ROUND are supported

Code: Select all

#1 = FUP[1.02]  (ceil result 2)
#2 = FIX[1.02]  (floor result 1)
#3 = ROUND[1.5] (round up/down result 2)
by TomKerekes
Thu Dec 03, 2020 11:49 pm
Forum: User PC Applications and Libraries .Net
Topic: need to read Persist Array value from c# program
Replies: 2
Views: 901

Re: need to read Persist Array value from c# program

See here for how to read an integer persist variable from KFLOP. As in:

Code: Select all

            int D = KM.GetUserData(11);  // Get persist variable 11
HTH
by TomKerekes
Thu Dec 03, 2020 5:05 pm
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Soft Limit issue with 5-Axis Positioning
Replies: 5
Views: 1985

Re: Soft Limit issue with 5-Axis Positioning

Hi Amit,

See the link to sources in the previous post.
by TomKerekes
Tue Dec 01, 2020 7:31 pm
Forum: Configuration Issues
Topic: Wiring and configuration SERVO DRIVES
Replies: 48
Views: 5040

Re: Wiring and configuration SERVO DRIVES

Oi Gabriel,

Obrigado pelas palavras agradáveis!

C questions would probably be best in the C Program forum.

And yes, posting to the wiki would be appreciated.
by TomKerekes
Sun Nov 29, 2020 3:03 pm
Forum: Miscellaneous
Topic: UserData read memory wear....?
Replies: 1
Views: 863

Re: UserData read memory wear....?

No