Search found 16 matches

by Demondor
Fri Sep 04, 2020 7:48 am
Forum: Bug Reports
Topic: Bag M03
Replies: 4
Views: 385

Re: Bag M03

Hello Tom. As it turned out, the stop occurs when using other M codes, in addition, we use our program built on your NET library, bugs were found in it and now we are working on improvements and improvements. This is what your code returned. Position = 0 StartPosition = 0 LastUpdatePosition = 0 Revs...
by Demondor
Fri Aug 14, 2020 11:58 am
Forum: Bug Reports
Topic: Bag M03
Replies: 4
Views: 385

Re: Bag M03

Thanks, Tom. I will try the code you sent me next week, now there is no time. I will unsubscribe by the result.
by Demondor
Thu Aug 13, 2020 5:38 am
Forum: Bug Reports
Topic: Bag M03
Replies: 4
Views: 385

Bag M03

Good afternoon, Tom. An interesting bug was discovered, I wrote my program on net to control the machine. There is no spindle in our machine, we use a belt sander grinder. To switch on, we used the M code M03 - SetBit. Everything works, but the machine does not turn on 2-5 times a day and the execut...
by Demondor
Thu Mar 19, 2020 7:45 am
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 16243

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

Hi Moray. I think I realized that you can’t. And I see this option.Starting the timer is done as a separate function, in the constructor only setting the timer. After you load all the necessary settings for yours and the interpreter, including files for the interpreter. After all the settings, start...
by Demondor
Wed Mar 18, 2020 8:48 am
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 16243

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

using (StreamWriter writer = new StreamWriter(file)) { writer.WriteLine(gcode); writer.WriteLine(); } string readText = File.ReadAllText(file); //RichTextBox_GCode.Document.Blocks.Clear(); RichTextBox_GCode.AppendText(readText); bool f = false; // bool state, If for some reason an error occurs insi...
by Demondor
Wed Mar 18, 2020 8:28 am
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 16243

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

Hi Moray. If you need to run some kind of g code after starting the program without human participation, then you need to create a connection event and trigger the necessary actions after connecting. I would also recommend that you have several variables to control the current state. For example, if...
by Demondor
Fri Mar 13, 2020 8:31 am
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 16243

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

I am writing an application for controlling a manipulator such as a scarа for an enterprise. I can’t lay out all the code, but I can tell you the points that I used. This is already the 3rd version of the program, for the management we “came up” with our own commands, they are parsed line by line an...
by Demondor
Fri Mar 13, 2020 8:21 am
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 16243

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

I can’t tell you about the tools, I’m not using it. Offset please. In Timer if (Connect) { if (KM.WaitToken(100) == KMOTION_TOKEN.KMOTION_LOCKED) { ..... You code ... offsetID = KM.CoordMotion.Interpreter.SetupParams.OriginIndex; // Current offset index } } in model // generate an event when the cur...
by Demondor
Thu Mar 12, 2020 2:19 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 82
Views: 16243

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

In application on wpf, axis and speed is selected. xml - Jog Button <Button Grid.Row="0" Grid.Column="1" Width="170" Margin="5" Content="Jog +" FontSize="30" Style="{DynamicResource myButton}"> <i:Interaction.Triggers> <i:EventTrigger EventName="PreviewMouseDown"> <ei:CallMethodAction MethodName="Jo...
by Demondor
Mon Apr 08, 2019 6:30 am
Forum: KMotionCNC, G Code Files, Offsets, Post Process
Topic: Softlimits and scara kinematics
Replies: 8
Views: 2976

Re: Softlimits and scara kinematics

Thanks again Tom, for your support. The header file .h, I think it is not particularly difficult to do, so I did not spread it. The first machine is already working, while executing the trajectory of the code recalculated in the external program. Therefore, the transition to the revised version of K...