Search found 2546 matches

by TomKerekes
Wed Mar 20, 2024 8:07 pm
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: no toolpath and tool shape is backwards
Replies: 13
Views: 141

Re: no toolpath and tool shape is backwards

Works now for me. You may need to restart KMotionCNC for it to take effect.
by TomKerekes
Wed Mar 20, 2024 8:02 pm
Forum: C Programs
Topic: C program streams
Replies: 13
Views: 242

Re: C program streams

Very strange. The function is defined later so a prototype should not be required as the function is fully defined before it is used in the main program.

But I never argue with success :)
by TomKerekes
Wed Mar 20, 2024 7:08 pm
Forum: C Programs
Topic: C program streams
Replies: 13
Views: 242

Re: C program streams

oops. yes KflopToKMotionCNCFunctions.c.
by TomKerekes
Wed Mar 20, 2024 5:43 pm
Forum: Custom Screens, KMotionCNC Screen Editor
Topic: no toolpath and tool shape is backwards
Replies: 13
Views: 141

Re: no toolpath and tool shape is backwards

We added an option (I believe for you) to put the tool path on the floating GCode Viewer window. Option added to use Floating GViewer Dialog with Screen Script instead of GViewer on Main Screen. To enable this option set the GViewer Control on the Main Screen’s Var parameter to 0. Do you have that e...
by TomKerekes
Wed Mar 20, 2024 5:36 pm
Forum: User PC Applications and Libraries .Net
Topic: Reading ADC from C
Replies: 4
Views: 71

Re: Reading ADC from C

Hi Katie, I don't understand the point of what you are trying to do. The PC C# App reads the ADC from KFLOP, converts it to Temperature, then writes the Temperature to KFLOP persist variable 11. KFLOP could easily do this calculation without using the PC. So you are expecting the persist variable 11...
by TomKerekes
Wed Mar 20, 2024 5:13 pm
Forum: C Programs
Topic: C program streams
Replies: 13
Views: 242

Re: C program streams

Hi Taras,

The function ScreenScript should be defined in KflopToKMotionCNCFunctions.h. Is it?

What Version of KMotion are you using?
by TomKerekes
Wed Mar 20, 2024 1:44 am
Forum: Hardware Interface Issues
Topic: Kogna ethernet connection with DHCP
Replies: 6
Views: 177

Re: Kogna ethernet connection with DHCP

Hi Gerald, We created a simplified DHCP Server in Kogna that starts up if Kogna fails locating a DHCP Server. Its very simple and assigns itself fixed address of 192.168.113.100 Other devices are assigned addresses 192.168.113.101 - 192.168.113.108 based on order of Discover requests. With a direct ...
by TomKerekes
Tue Mar 19, 2024 5:51 pm
Forum: User PC Applications and Libraries .Net
Topic: Reading ADC from C
Replies: 4
Views: 71

Re: Reading ADC from C

Hi Katie, The C Function in KFLOP: DROLabel(1000, 162, s); Puts a character string at offset 1000 into KFLOP's Gather Buffer. Then sets KFLOP Persist variable 162 to 1000 to indicate a string is available. KMotionCNC polls KFLOP persist variable 162 for a non-zero value and if non-zero uses the valu...
by TomKerekes
Tue Mar 19, 2024 5:31 pm
Forum: C Programs
Topic: C program streams
Replies: 13
Views: 242

Re: C program streams

Hi Taras,

Sorry I don't understand the question.