[Emc-developers] ask for help

2020-03-26 Thread Reinhard
Hello guys, I'm Reinhard and I wrote an UI application for linuxcnc which uses nml- interface only. The app works fine so far. But on testing it together with axis and linuxcnc-simulation I realized several quirks and shortcomings of the backend like: - no process time - current line number does

Re: [Emc-developers] ask for help

2020-03-26 Thread andy pugh
On Thu, 26 Mar 2020 at 13:46, Reinhard wrote: > Is there a developer who is willing to give me a hand and guide me to > understand the internals? I am not sure who is currently active and knowledgeable. You could try asking specific questions. -- atp "A motorcycle is a bicycle with a pandemon

Re: [Emc-developers] ask for help

2020-03-26 Thread Chris Morley
tions for you. Chris From: Reinhard Sent: March 26, 2020 1:27 PM To: emc-developers@lists.sourceforge.net Subject: [Emc-developers] ask for help Hello guys, I'm Reinhard and I wrote an UI application for linuxcnc which uses nml- interface only. The app wo

Re: [Emc-developers] ask for help

2020-03-26 Thread Reinhard
Hi Andy, thank you for your attention. > > Is there a developer who is willing to give me a hand and guide me to > > understand the internals? > > I am not sure who is currently active and knowledgeable. > > You could try asking specific questions. It's not easy to ask the right question if I

Re: [Emc-developers] ask for help

2020-03-26 Thread Reinhard
Hi Chris, nice to read you :) > You have picked some tough items to fix. > The reason the line number doesn't follow the action 1:1, is because the > gcode and motion commands don't correspond 1:1 Well, that's true and not true ;) Of cause, there is a lot of gcode, which is not motion code. B

Re: [Emc-developers] ask for help

2020-03-26 Thread Chris Morley
ounter to M2 or better yet a way to run a script at the end of a program. I saw the counter from HAAS controller description. Oh and I would like to fix block delete to work in program Chris From: Reinhard Sent: March 26, 2020 4:00 PM To: EMC developers Subje

Re: [Emc-developers] ask for help

2020-03-26 Thread andy pugh
On Thu, 26 Mar 2020 at 16:02, Reinhard wrote: > For example: I use a tool in two different situations and in the second part I > use the same tool with different spindle speed and different motion feed. > So it's obvious, that I code a S-Word standalone between different motion > commands. Maybe

Re: [Emc-developers] ask for help

2020-03-26 Thread andy pugh
On Thu, 26 Mar 2020 at 15:40, Reinhard wrote: > When I look at developer docs - code-notes section 4 architecture overview, I > see the components of linuxcnc. > I understand the role of each component, but when I look at the process list > after starting linuxcnc, I find a gui, task, io, but no

Re: [Emc-developers] ask for help

2020-03-26 Thread andy pugh
On Thu, 26 Mar 2020 at 16:02, Reinhard wrote: > The valuable time information is the time, of tool usage and time, that > processing of gcode has consumed. > In my fantasy: just a timer that runs as long as gcode processing is active > and pauses at M0 or the like and resumes after user continue

Re: [Emc-developers] ask for help

2020-03-26 Thread Chris Morley
ave the line number in the function call. all the spindle control function do not. probably why you can't ( I haven't tried to actually) single step them Chris From: Chris Morley Sent: March 26, 2020 4:26 PM To: EMC developers Subject: Re: [Emc-develope

Re: [Emc-developers] ask for help

2020-03-27 Thread Reinhard
Hi, > Maybe I am misunderstanding the question, but take the example > > N1 F100 > N2 G1 X0 > > During the G1 move motion.current-line will show 2 > ... > And, in execution time, they take literally no time to execute, as > their effects are rolled up in to the motion commands. Asking for execu

Re: [Emc-developers] ask for help

2020-03-27 Thread Reinhard
Hi, > In my branch's case I send an fcode message to motion and motion does > nothing but send it back as status. It's a ton of code to do this one > little status. Chris, is your branch accessible? Some time ago I tried to write my own cnc-controller. Interpreter and step generation part was q

Re: [Emc-developers] ask for help

2020-03-27 Thread andy pugh
On Fri, 27 Mar 2020 at 14:17, Reinhard wrote: > Asking for execution time is the wrong question. I did point out that I might be answering the wrong question. > Yes, video and handouts from machinekit hit the same direction. > I wonder, why motion sets up nml-queues if it is part of the same pr

Re: [Emc-developers] ask for help

2020-03-27 Thread Reinhard
Hi Chris, > Oh and I would like to fix block delete to work in program Well, I don't really understand the benefit of that feature. Why not use brackets for multiline comment? That is "standard" for many cnc-controllers and it is easy to use. Block delete could be implemented as a filter fu

Re: [Emc-developers] ask for help

2020-03-27 Thread Reinhard
Hi Andy, > > I wonder, why motion sets up nml-queues if it is part of the same process > > than task ... > > This is not an area I have studied in depth, but I think that the > motion queue is not the same as the NML queue. > > I think that the motion queue consists only of these commands: > htt

Re: [Emc-developers] ask for help

2020-03-27 Thread Stuart Stevenson
Block delete is not used for comment lines. Block delete causes the control to ignore the line with the block delete symbol during control operation. I have seen controls with multiple levels of block delete. I have found very limited use for one level of block delete and have never used a second l

Re: [Emc-developers] ask for help

2020-03-27 Thread Reinhard
Hi, > Block delete is not used for comment lines. I know. I was suggesting, that in case block delete is not supported, using brackets (character for multiline comment) could offer same functionality and you need less characters to disable multiple lines. > I haven't used block delete for over

Re: [Emc-developers] ask for help

2020-03-27 Thread Stuart Stevenson
Way back when (79,80) I ran machine with a GE Mark Century 100 control. The control was built in 1958. No tool length offets, the zero position was adjusted with thumb wheel dials and no memory only a tape reader. Block delete was useful then because there was no program changes at the machine. If

Re: [Emc-developers] ask for help

2020-03-27 Thread Chris Morley
Block delete as in optional gcode lines -nothing to do with comments. Chris From: Reinhard Sent: March 27, 2020 2:28 PM To: EMC developers Subject: Re: [Emc-developers] ask for help Hi Chris, > Oh and I would like to fix block delete to work in prog

Re: [Emc-developers] ask for help

2020-03-27 Thread Chris Morley
yes you can get it from the linuxcnc github repo Chris From: Reinhard Sent: March 27, 2020 2:20 PM To: EMC developers Subject: Re: [Emc-developers] ask for help Hi, > In my branch's case I send an fcode message to motion and motion does > nothing

Re: [Emc-developers] ask for help

2020-03-28 Thread Reinhard
On Donnerstag, 26. März 2020, 16:12:32 CET Chris Morley wrote: > It's in limbo right now. What is limbo? > I'm doing some work on machine state F code updating right now, there is a > testing branch. Hm, didn't find your branch. You did not prefix your branch with your name/ alias, did you? I tr

Re: [Emc-developers] ask for help

2020-03-28 Thread Chris Morley
Sorry I didn't mention th name: feedcode_message https://github.com/LinuxCNC/linuxcnc/commits/feedcode_message Chris From: Reinhard Sent: March 28, 2020 12:55 PM To: EMC developers Subject: Re: [Emc-developers] ask for help On Donnerstag, 26. März 2020,

Re: [Emc-developers] ask for help

2020-03-28 Thread Reinhard
Hi Chris, On Samstag, 28. März 2020, 14:36:18 CET Chris Morley wrote: > Sorry I didn't mention th name: feedcode_message Thanks for the link! Will have a look. Just rebuilt lc with debugging flags enabled. Any hint, how to best get into taskmanager? __

Re: [Emc-developers] ask for help

2020-03-28 Thread Reinhard
Hi Chris, On Samstag, 28. März 2020, 14:36:18 CET Chris Morley wrote: > Sorry I didn't mention th name: feedcode_message Whow! You're really dedicated to LC. I'm impressed! So let me just say thank you - even if I don't understand your work (yet?). Cheers Reinhard __

Re: [Emc-developers] ask for help

2020-03-28 Thread Reinhard
Hi Chris, On Donnerstag, 26. März 2020, 16:12:32 CET Chris Morley wrote: > In my branch's case I send an fcode message to motion and motion does > nothing but send it back as status. It's a ton of code to do this one > little status. don't know, whether I got you right: Just tested my app togeth

Re: [Emc-developers] ask for help

2020-03-28 Thread Chris Morley
t is in sync with actual machine motion. Chris From: Reinhard Sent: March 28, 2020 2:57 PM To: EMC developers Subject: Re: [Emc-developers] ask for help Hi Chris, On Donnerstag, 26. März 2020, 16:12:32 CET Chris Morley wrote: > In my branch's case I se

Re: [Emc-developers] ask for help

2020-03-29 Thread Reinhard
Hi Chris, obviously I used the wrong file for most tests :( On Samstag, 28. März 2020, 17:40:40 CEST Chris Morley wrote: > If you run a long program with a different feedrate at the end, (I use a > modified 3dchips.ngc) then watch the f code say on AXIS, you'll see it > changes to the last feed r