[Emc-developers] Axis nml communication

2017-07-29 Thread Nicklas SB Karlsson
I am trying to run linuxcnc with remote communication via NML between user interface and rest of the machine. I have read manual and could see there is NML communication between user interface and rest of machine, I have also been able to run server but not client. I know axis command is the

Re: [Emc-developers] rtcan.h

2017-09-16 Thread Nicklas SB Karlsson
> Actually I search for a field bus acalternative to ethercat, so I gave > an eye to this: > > http://www.xenomai.org/documentation/trunk/html/api/rtcan_8h.html#details > > From what I read no one has implemented rtcan for rt-preempt. > > Also I read on linuxfoundation sites that on rt-preempt

Re: [Emc-developers] Mesa RS-422 hal example (canopen messages?)

2017-09-16 Thread Nicklas SB Karlsson
I am rather aware about some of it including canfestival but did not had time canfestival. I have not yet read about standard method to implement CANopen over serial communication like UART or SPI so it would be interesting if anybody have seen something? As is now I do: 16 bits COB-ID + 8

Re: [Emc-developers] coding style

2018-05-05 Thread Nicklas SB Karlsson
On Fri, 04 May 2018 13:41:57 +0200 Rene Hopf wrote: > There is a mix of tabs and spaces in the code, sometimes even mixed in the > same line, > and loads of bad indentation. Im not blaming anyone here, > that just happens with such an old codebase with so many contributors.

Re: [Emc-developers] [Emc-users] [EMC] NML_FILE = emc.nml

2018-12-08 Thread Nicklas SB Karlsson
Assume it is python now, I personally prefer the static type checking in C++ over the dynamic type checking in python but have sometimes have some problem with the syntax. If you use dynamic memory allocation, you use shared_ptr? On Fri, 7 Dec 2018 20:08:35 +0100 theman whosoldtheworld wrote:

Re: [Emc-developers] how to catch errors with waitcomplete command in python

2018-12-08 Thread Nicklas SB Karlsson
No real idea but an exception is a common method to handle errors, it might however be a problem in a real time system. On Sat, 8 Dec 2018 15:39:30 + Chris Morley wrote: > I am working on some probing routines in qtvcp. > I am calling an MDI command to probe and then using the command, >

Re: [Emc-developers] how to catch errors with waitcomplete command in python

2018-12-08 Thread Nicklas SB Karlsson
On Sat, 8 Dec 2018 16:51:11 + Chris Morley wrote: > > > From: Nicklas SB Karlsson > Sent: December 8, 2018 4:23 PM > To: EMC developers > Subject: Re: [Emc-developers] how to catch errors with waitcomplete command > in pyth

[Emc-developers] ... how to catch errors with waitcomplete command in python --> type hierachy, visual

2018-12-08 Thread Nicklas SB Karlsson
Morley wrote: > > > From: Nicklas SB Karlsson > Sent: December 8, 2018 4:23 PM > To: EMC developers > Subject: Re: [Emc-developers] how to catch errors with waitcomplete command > in python > > >No real idea but an exception is a

Re: [Emc-developers] buster vs pi3b report

2019-08-31 Thread Nicklas SB Karlsson
Use buster, if I remember correctly I had to manually install an older version of a few packages. On Sat, 31 Aug 2019 13:36:23 -0400 Gene Heskett wrote: > On Friday 30 August 2019 18:54:31 John wrote: > > > Hi Gene, > > > > git clone https://github.com/LinuxCNC/linuxcnc.git > >

Re: [Emc-developers] Linuxcnc 2.8.0 buster iso: please add memtest and possibilty to wipe partition table and mc

2020-10-28 Thread Nicklas SB Karlsson
Some expansion card? Den 2020-10-28 kl. 21:52, skrev CHRIS EPICIER via Emc-developers: Hi all My first post here. I have two wishes: 1. I recently ran into problems with a dell precision T3500 of a colleague of mine. I recommended this PC because of this post, where the said pc

Re: [Emc-developers] Proposal: Stop supporting Py2 and GTK2 in Master

2021-05-11 Thread Nicklas SB Karlsson
Den 2021-05-11 kl. 15:57, skrev Rene Hopf via Emc-developers: On 11.05.21 15:32, Alan Condit wrote: Andy, Has anyone familiar with Python looked at migrating to Py3 and GTK3? I have avoided Python like the plague, but I do use a VCP and/or GTK based panels. I just looked at GTK3 and GTK4 is

Re: [Emc-developers] Fwd: Re: Proposal: Stop supporting Py2 and GTK2 in Master.

2021-05-12 Thread Nicklas SB Karlsson
Den 2021-05-12 kl. 11:56, skrev Rene Hopf via Emc-developers: On 12.05.21 11:51, andy pugh wrote: On Wed, 12 May 2021 at 08:00, Chris Morley wrote: I meant a 2.9 python 2 release before switching master to python3 I can see the argument, but I don't think that 2.9 is ready to be a proper

Re: [Emc-developers] GTK3

2021-05-24 Thread Nicklas SB Karlsson
Den 2021-05-23 kl. 15:21, skrev Rene Hopf via Emc-developers: Hi, I cleaned up my gtk3 branch. master-gtk3 on the official repo is now the place to work on all gtk3 related changes. https://github.com/LinuxCNC/linuxcnc/pull/1164 anything python3 related shoud go in master, unless it breaks

Re: [Emc-developers] flipflop

2021-05-29 Thread Nicklas SB Karlsson
Den 2021-05-29 kl. 16:56, skrev Jeff Epler: On Tue, Apr 06, 2021 at 09:05:51PM +0100, andy pugh wrote: I wonder why the output pin of flipflop.comp is of type io? Perhaps it was intended for a specific purpose? flipflop only drives a value onto its output when it is clocked or when its set

Re: [Emc-developers] Personality in userspace components.

2021-02-22 Thread Nicklas SB Karlsson
Den 2021-02-21 kl. 01:50, skrev andy pugh: There seems to be a problem using "personality" in a userspace component (which makes it hard to have a variable number of pins) ? Made simple driver with variable number of pins read from configuration file at startup. I however found values in .hal

Re: [Emc-developers] Indentation of subsections in the HTML man pages

2021-04-17 Thread Nicklas SB Karlsson
Den 2021-04-16 kl. 19:17, skrev Hans Unzner: Unfortunately the subsections (.SS) of the man pages are not treated as such when convertet to HTML. Just bold text. Especially the halui man page lacks clarity because of that. I created a little macro that handles the subsections. What version

Re: [Emc-developers] GTK3 code in master breaks GTK2 requirements

2021-08-02 Thread Nicklas SB Karlsson
Den 2021-08-01 kl. 10:29, skrev Rene Hopf via Emc-developers: On 01.08.21 03:16, Chris Morley wrote: Rene, some code you put into master is GTK3 only. You have broken the code for my systems. looks like you removed the code that would switch between GTK3 and GTK2 specifically, in hal_glib I

Re: [Emc-developers] more convenient homing for machines with limit switches and reference switch.

2021-10-19 Thread Nicklas SB Karlsson
Den 2021-10-19 kl. 19:21, skrev Rainer Stelzer: Hi Dan, I had similar issues when: - a PID controller is involved, - a PID input value jumps (as it is the case for the positioning PID controller when new location is set at the home position) and - the order of the hal function calls are  not

Re: [Emc-developers] EtherCAT modules help needed --> some kind of write access

2021-07-16 Thread Nicklas SB Karlsson
and thinking about the right place must be a fork in Linuxcnc, rememember some copyright notice but sharing what I have written can't be a problem even though license agreement is required to used it with some kind of other library. It would be possible to get my own fork with write access on G

Re: [Emc-developers] Question for the devs

2021-07-26 Thread Nicklas SB Karlsson
t; > > > ___ > > Emc-developers mailing list > > Emc-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > > > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- Nicklas SB Karlsson ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers

Re: [Emc-developers] EtherCAT - would not be a prob with free membership in EtherCAT Technology Group Re: LinuxCNC is in Debian!

2022-03-01 Thread Nicklas SB Karlsson
Den 2022-03-01 kl. 21:17, skrev Bari: On 3/1/22 13:20, Nicklas SB Karlsson wrote: Already have a simple implementation of an Ethercat driver with hardcoded configuration but read something about the license problem and have kept it for myself. If you developed this yourself without being

Re: [Emc-developers] EtherCAT - would not be a prob with free membership in EtherCAT Technology Group Re: LinuxCNC is in Debian!

2022-03-01 Thread Nicklas SB Karlsson
Den 2022-03-01 kl. 21:39, skrev Bari: On 3/1/22 14:25, Nicklas SB Karlsson wrote: Den 2022-03-01 kl. 21:17, skrev Bari: On 3/1/22 13:20, Nicklas SB Karlsson wrote: Already have a simple implementation of an Ethercat driver with hardcoded configuration but read something about the license

Re: [Emc-developers] EtherCAT - would not be a prob with free membership in EtherCAT Technology Group Re: LinuxCNC is in Debian!

2022-03-01 Thread Nicklas SB Karlsson
al contact but that LinuxCNC-representative to them could then be anyone we pick. Andy? Rod? You both? Jeff? All three of yours? I could volunteer. Nicklas SB Karlsson ___ Emc-developers mailing list Emc-developers@lists.sourceforge

Re: [Emc-developers] EtherCAT - would not be a prob with free membership in EtherCAT Technology Group Re: LinuxCNC is in Debian!

2022-03-01 Thread Nicklas SB Karlsson
-people-to-help I have to volunteer. Also have knowledge about CANopen which is useful since many devices use this "protocol" over ethercat. Nicklas SB Karlsson ___ Emc-developers mailing list Emc-developers@lists.sourceforge

Re: [Emc-developers] EtherCAT - would not be a prob with free membership in EtherCAT Technology Group Re: LinuxCNC is in Debian!

2022-03-02 Thread Nicklas SB Karlsson
Den 2022-03-01 kl. 23:35, skrev Rod Webster: The reason why I put this on the agenda is that I observed that the debian project uncovered a number of licenses which we had to include in our copyright statement that deviated from the standard GPL licence. I was quite surprised at this. I would

Re: [Emc-developers] EtherCAT - would not be a prob with free membership in EtherCAT Technology Group Re: LinuxCNC is in Debian!

2022-03-02 Thread Nicklas SB Karlsson
Den 2022-03-01 kl. 22:06, skrev Jérémie Tarot: Le mar. 1 mars 2022 à 21:40, Bari a écrit : https://github.com/OpenEtherCATsociety/SOEM/blob/master/LICENSE I don't understand how the last sentences could be compatible with GPL? lhH EtherCat https://etherlab.org/en/ethercat/ I think is

Re: [Emc-developers] EtherCAT - would not be a prob with free membership in EtherCAT Technology Group Re: LinuxCNC is in Debian!

2022-03-02 Thread Nicklas SB Karlsson
Den 2022-03-02 kl. 20:56, skrev Nicklas SB Karlsson: Den 2022-03-01 kl. 22:06, skrev Jérémie Tarot: Le mar. 1 mars 2022 à 21:40, Bari a écrit : https://github.com/OpenEtherCATsociety/SOEM/blob/master/LICENSE I don't understand how the last sentences could be compatible with GPL? lhH

Re: [Emc-developers] LinuxCNC is in Debian!

2022-02-27 Thread Nicklas SB Karlsson
Metoo use debian. Great! On Sun, 27 Feb 2022 11:36:37 -0700 Sebastian Kuzminsky wrote: > On 2/27/22 04:00, Debian FTP Masters wrote: > > Accepted: > > > > Format: 1.8 > > Date: Fri, 25 Feb 2022 18:40:12 +0100 > > Source: linuxcnc > > Binary: linuxcnc-doc-en linuxcnc-doc-es linuxcnc-doc-fr

[Emc-developers] GTK3 Glade complains about old action widgets

2022-03-29 Thread Nicklas SB Karlsson
Using glade and gtk it make complain about the VCP actions they are old. It is not very important as they still work but does anyone here a good idea how to fix them? I already found there i a list with the widgets in lib/python/gladevcp/hal_python.xml and guess something is generated from

[Emc-developers] GTK3 documentation bug?

2022-03-27 Thread Nicklas SB Karlsson
s also work. Not sure if object must be a window and on top level. Suggest this change or adding the check inside the builder is done in the source code? Or any objections? I should make a patch to make it happen? Anyone know if expected object m

Re: [Emc-developers] thinking about the next LinuxCNC release

2022-02-02 Thread Nicklas SB Karlsson
Den 2022-02-02 kl. 19:16, skrev Sebastian Kuzminsky: What are the big projects that need to get finished for the next release?  Some things I know vaguely about, but don't know the status of: * Transition to gtk3 (required) Read in an old thread from May last year I found this fork

Re: [Emc-developers] thinking about the next LinuxCNC release

2022-02-03 Thread Nicklas SB Karlsson
Den 2022-02-03 kl. 21:59, skrev Håvard F. Aasen via Emc-developers: On 2022-02-02 19:02, Nicklas SB Karlsson wrote: Den 2022-02-02 kl. 19:16, skrev Sebastian Kuzminsky: What are the big projects that need to get finished for the next release?  Some things I know vaguely about, but don't know

Re: [Emc-developers] thinking about the next LinuxCNC release

2022-02-06 Thread Nicklas SB Karlsson
Den 2022-02-03 kl. 21:59, skrev Håvard F. Aasen via Emc-developers: On 2022-02-02 19:02, Nicklas SB Karlsson wrote: Den 2022-02-02 kl. 19:16, skrev Sebastian Kuzminsky: What are the big projects that need to get finished for the next release?  Some things I know vaguely about, but don't know

Re: [Emc-developers] GTK3

2022-02-06 Thread Nicklas SB Karlsson
Den 2021-05-31 kl. 14:23, skrev Rene Hopf via Emc-developers: On 31.05.21 14:05, andy pugh wrote: On Mon, 31 May 2021 at 12:43, Rene Hopf wrote: all the packages you mentioned are runtime dependencies, please add them. OK. the problem you see is python2/3 related, but you cant fix it

Re: [Emc-developers] thinking about the next LinuxCNC release

2022-02-06 Thread Nicklas SB Karlsson
gtk3 is in the master-gtk3 branch and seems well on it's way. Need to upgrade to latest debian bullseye to get it to work if running Debian. Den 2022-02-06 kl. 13:55, skrev Steffen Möller: Heya, On 06.02.22 11:43, Jérémie Tarot wrote: Le mer. 2 févr. 2022 à 19:18, Sebastian Kuzminsky a

Re: [Emc-developers] LinuxCNC Participation in Google Summer of Code 2022?

2022-02-06 Thread Nicklas SB Karlsson
Den 2022-02-06 kl. 16:07, skrev andy pugh: On Sun, 6 Feb 2022 at 14:36, Jérémie Tarot wrote: Finally, I think @turboss had started giving a try at a node based HAL config UI... Wouldn't that be nice ? There have been at least 4 attempts at this, but none seem to try to carry on where the

Re: [Emc-developers] GTK3

2022-02-06 Thread Nicklas SB Karlsson
Den 2022-02-06 kl. 13:34, skrev Tim Blume: Are you trying to build the old gtk3 branch, that is already merged into master by any chance? Not sure. Searching the source tree I found lib/python/multifilebuilder_gtk3.py is in master-gtk3 branch but not in ethercat2.8 or master branch. Trying

Re: [Emc-developers] GTK3

2022-02-06 Thread Nicklas SB Karlsson
Den 2022-02-06 kl. 18:50, skrev Håvard F. Aasen via Emc-developers: On 2022-02-06 17:11, Nicklas SB Karlsson wrote: Den 2022-02-06 kl. 13:34, skrev Tim Blume: Are you trying to build the old gtk3 branch, that is already merged into master by any chance? Not sure. Searching the source tree I

Re: [Emc-developers] curious about the ethernet protocol

2022-04-16 Thread Nicklas SB Karlsson
Manual on page 3 http://linuxcnc.org/docs/devel/pdf/LinuxCNC_Developer.pdf NML should work over TCP/IP networks including Ethernet but think it is currently out of order and only work using shared memory buffers. Try to get it started using ordinary TCP/IP over ordinary Ethernet network a few

Re: [Emc-developers] RFC: Reduce number of HAL pin types.

2023-10-11 Thread Nicklas SB Karlsson
Den 2023-10-11 kl. 21:31, skrev Rod Webster: In fact, in your sample code, the unsigned int Word _can't_ be being used as a HAL pin, as it's a simple int, not a pointer. The code I shared was a typedef. But yes, the pins are created with hal_pin_new*() so it would seem OK The hal types do

Re: [Emc-developers] RFC: Reduce number of HAL pin types.

2023-10-12 Thread Nicklas SB Karlsson
Agree. Consider type checking in general as something good. Some errors may be discovered before program is run because pieces simply do not fit together. In the best cases a valid output is also produced for all possible inputs and runtime errors never happen. Nicklas Karlsson Den

Re: [Emc-developers] RFC: Reduce number of HAL pin types.

2023-10-11 Thread Nicklas SB Karlsson
Agree, you really have consult widely on that. Have programmed for many years and some programming languages have quite hard check if data types fit together and think this in general is a good feature. Some programming languages allow defining sub types for example restrict range and even

Re: [Emc-developers] RFC: Reduce number of HAL pin types.

2023-10-11 Thread Nicklas SB Karlsson
Den 2023-10-11 kl. 11:54, skrev andy pugh: On Wed, 11 Oct 2023 at 10:24, Rod Webster wrote: How would that work when you need to match a pin type with an external data structure? In most cases it will just work. Possibly with unused higher-order bits. Unless anything is _relying_ on

Re: [Emc-developers] RFC: Reduce number of HAL pin types.

2023-10-11 Thread Nicklas SB Karlsson
Den 2023-10-11 kl. 12:13, skrev andy pugh: On Wed, 11 Oct 2023 at 10:58, Nicklas SB Karlsson wrote: Have programmed for many years and some programming languages have quite hard check if data types fit together and think this in general is a good feature. And I have programmed _HAL_ for over

Re: [Emc-developers] curious about the ethernet protocol

2022-04-16 Thread Nicklas SB Karlsson
On Sat, 16 Apr 2022 14:15:56 +0200 Torsten Curdt via Emc-developers wrote: > > Manual on page 3 http://linuxcnc.org/docs/devel/pdf/LinuxCNC_Developer.pdf > > > Thanks for that link. I somehow missed those docs. > > > > NML should work over TCP/IP networks including Ethernet but think it is >

Re: [Emc-developers] curious about the ethernet protocol

2022-04-16 Thread Nicklas SB Karlsson
I guess the 1kHz feedback loop is the big difference > here. NML is for the non real time stuff so no 1kHz feedback loop there. Nicklas SB Karlsson ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers

Re: [Emc-developers] [Hosted Weblate] New comment in LinuxCNC/LinuxCNC Documentation

2022-07-06 Thread Nicklas SB Karlsson
Den 2022-07-06 kl. 14:07, skrev andy pugh: On Wed, 6 Jul 2022 at 06:51, Nicklas SB Karlsson wrote: To use degree while everyone else use radians might be a problem though might be easier to work with degree. Then doing calculations radians often have to be used for a CNC machine an example

Re: [Emc-developers] [Hosted Weblate] New comment in LinuxCNC/LinuxCNC Documentation

2022-07-05 Thread Nicklas SB Karlsson
Den 2022-07-05 kl. 14:22, skrev andy pugh: On Tue, 5 Jul 2022 at 11:47, Steffen Möller via Emc-developers wrote: degrees. Values returned by unary operations which return angle measures ('ACOS', 'ASIN', and 'ATAN') are also in degrees. This is unexpected. Radial is the default for these

Re: [Emc-developers] sudo make setuid -> cannot gain I/O privileges

2022-07-25 Thread Nicklas SB Karlsson
udev rules? Den 2022-07-24 kl. 05:22, skrev Alec Ari via Emc-developers: I get the same error on Debian with both iopl and ioperm function tests... Not sure how LinuxCNC is working anymore on anything.. Alec ___ Emc-developers mailing list

Re: [Emc-developers] [Hosted Weblate] New comment in LinuxCNC/LinuxCNC Documentation

2022-07-28 Thread Nicklas SB Karlsson
tor 2022-07-28 klockan 09:53 + skrev Steffen Möller via Emc- developers: > > > #  Comment added > > [ smoe](https://hosted.weblate.org/user/smoe/ "Steffen Möller"): > [Hosted > Weblate](https://hosted.weblate.org) / > [LinuxCNC](https://hosted.weblate.org/projects/linuxcnc/) / [LinuxCNC >

Re: [Emc-developers] Addition Ethercat Homing Routine/Variable

2022-07-28 Thread Nicklas SB Karlsson
tis 2022-05-03 klockan 13:09 +0100 skrev andy pugh: > On Tue, 21 Sept 2021 at 15:35, Daniel Dempsey > wrote: > > > Will try to sort out the rest of homing.c this week and hopefully > > test on > > the weekend when the shop is quiet. > > This has been sat in my inbox for months awaiting a reply.

Re: [Emc-developers] Addition Ethercat Homing Routine/Variable

2022-07-29 Thread Nicklas SB Karlsson
tor 2022-07-28 klockan 21:20 +1000 skrev Rod Webster: > Nicklas, > this will be a pretty big brain dump so please read on. > > This is where Dewey's work comes in to solve your problem. You can > now > write a custom homing component and install it using halcompile. > You need to start by reading

Re: [Emc-developers] [Hosted Weblate] New comment inLinuxCNC/LinuxCNC Documentation (OT)

2022-07-29 Thread Nicklas SB Karlsson
> ... "start from line" was added several years ago.  The motion code > may > not be > re-executed, but the mode changes it implies are. "start from line" may be used if tool bit break or other problem occur to start machining at a particular point in program? Nicklas Karlsson

Re: [Emc-developers] Addition Ethercat Homing Routine/Variable

2022-07-29 Thread Nicklas SB Karlsson
fre 2022-07-29 klockan 19:40 +1000 skrev Rod Webster: > You can create those three pins (start homing, completed, error)  in > custom_makepins() and connect them to pins created in the ethercat > xml > config for your drives. > They will appear as joint.n.start-homing etc. I was thinking about

Re: [Emc-developers] Next LinuxCNC online meeting

2022-10-23 Thread Nicklas SB Karlsson
sön 2022-10-23 klockan 20:17 +0200 skrev Hans Unzner: > Hi! > > The last online meeting was in august, so time for a follow-up. > > In short we would like to speak about: > >   * The upcoming 2.0 release >   * Transfer of features from MachineKit >   * Documentation: Style guide, po4a migration

Re: [Emc-developers] G96 Constant surface speed, have to move some distance before active

2022-09-19 Thread Nicklas SB Karlsson
Den 2022-09-18 kl. 21:20, skrev Jérémie Tarot: Le jeu. 15 sept. 2022 à 12:25, Nicklas SB Karlsson a écrit :. Is there any good reason surface speed should start at maximum until tool is moved? Or would it be better tool does not have be moved before surface speed is active? What's the X

[Emc-developers] G96 Constant surface speed, have to move some distance before active

2022-09-15 Thread Nicklas SB Karlsson
Change tool and use constant surface speed G96 with proper parameters. Then spindle is started without moving it run at maximum speed regardless of which surface speed S have been set. Moving some distance, guess it might depend on tool diameter or radius then S parameter start to work. Is

Re: [Emc-developers] G96 Constant surface speed, have to move some distance before active

2022-09-20 Thread Nicklas SB Karlsson
Den 2022-09-20 kl. 11:27, skrev Jérémie Tarot: Le mar. 20 sept. 2022 à 02:41, Feral Engineer a écrit : Trust me, I'm well aware of what css is.  I bet you do !  That was actually me thinking out loud, and I should have put a question mark because I still don't get how CSS could work for

Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-09 Thread Nicklas SB Karlsson
Just to confirm, picture received. sön 2022-10-09 klockan 04:32 + skrev Alec Ari via Emc-developers: > Note: Using LXRT realtime > > Pic attached (not sure if mailing list accepts pictures, CC'ing to > Bari to post on forums if necessary) > > Alec >

Re: [Emc-developers] custom homing comp for meca500 ethercat robot

2022-08-03 Thread Nicklas SB Karlsson
Den 2022-08-02 kl. 17:15, skrev David (J) Smith: Hi! I have tried running the auto PID module - at_pid However after work the joints seem to continually bounce and wobble 1 or two degrees with the resulting settings from setp pid.j0.tune-effort 0.1 setp pid.j0.tune-mode 1 setp

Re: [Emc-developers] custom homing comp for meca500 ethercat robot

2022-08-06 Thread Nicklas SB Karlsson
Spent maybe a full minute or two looking into manual for the mecademic robot. If robot have builtin position controller adding a second one on top in Linuxcnc is most certainly no good idea. Driver cards I am developing is useful on old machine with non working electronics. Guess it is

Re: [Emc-developers] custom homing comp for meca500 ethercat robot (Product running)

2022-08-10 Thread Nicklas SB Karlsson
Den 2022-08-06 kl. 15:29, skrev gene heskett: On 8/6/22 08:34, Nicklas SB Karlsson wrote: Spent maybe a full minute or two looking into manual for the mecademic robot. If robot have builtin position controller adding a second one on top in Linuxcnc is most certainly no good idea. Driver

Re: [Emc-developers] Axis motion in user M-code?

2022-08-14 Thread Nicklas SB Karlsson
Den 2022-07-31 kl. 13:45, skrev andy pugh: Is there a way to move axes in the M100-M199 codes? Have also been thinking about. If I got it right .comp is converted to C/C++ code so the question is possibility to do it from there. Python are some kind of wrapper executing C/C++ code?

Re: [Emc-developers] NURBS in XY, XZ(lathe) and YZ plane

2022-08-14 Thread Nicklas SB Karlsson
Do not feel there is a need for more gun barrels or increased accuracy in world, there are already more than needed in the world. Den 2022-08-14 kl. 18:24, skrev gene heskett: On 8/14/22 08:04, andy pugh wrote: On Sun, 14 Aug 2022 at 09:56, wrote: Hello, it is worth to spend my time to do

Re: [Emc-developers] NURBS in XY, XZ(lathe) and YZ plane

2022-12-23 Thread Nicklas SB Karlsson
ons 2022-12-21 klockan 19:59 + skrev andy pugh: > On Wed, 21 Dec 2022 at 19:54, Nicklas SB Karlsson wrote: > > > Specify three points in 2D or 3D space: start, centre and end > > points as > > you suggest I think is a good idea that will work for an arc. > >

Re: [Emc-developers] A vision for working now to LinuxCnc version 10

2022-12-06 Thread Nicklas SB Karlsson
Read that DDS include application programming interfaces (APIs) and libraries of implementations in among others ADA and that's great. tis 2022-12-06 klockan 13:55 -0600 skrev Bari: > On 12/5/22 15:21, Johannes P Fassotte wrote: > > > > > On 12/5/2022 6:10 AM, Bari wrote: > > > A pdf that

Re: [Emc-developers] NURBS in XY, XZ(lathe) and YZ plane

2022-12-20 Thread Nicklas SB Karlsson
mån 2022-12-19 klockan 13:04 + skrev andy pugh: > On Mon, 19 Dec 2022 at 11:27, wrote: > > > I do not know what seicanon.cc is for! > > saicanon is related to the "stand alone interpreter" which I think > is, > in turn, related to the G-code preview and (maybe) some of the tests. >

Re: [Emc-developers] NURBS in XY, XZ(lathe) and YZ plane

2022-12-21 Thread Nicklas SB Karlsson
ons 2022-12-21 klockan 00:47 + skrev andy pugh: > On Tue, 20 Dec 2022 at 21:27, Nicklas SB Karlsson wrote: > > > Three points with three in the (x,y,z) space will define an arc in > > three dimensions. Then there is three degrees of freedom for the > > tool > >

Re: [Emc-developers] NURBS in XY, XZ(lathe) and YZ plane

2022-12-21 Thread Nicklas SB Karlsson
21, 2022 at 2:40 AM Nicklas SB Karlsson > wrote: > > > ons 2022-12-21 klockan 00:47 + skrev andy pugh: > > > On Tue, 20 Dec 2022 at 21:27, Nicklas SB Karlsson > > > wrote: > > > > > > > Three points with three in the (x,y,z) space will define a

Re: [Emc-developers] NURBS in XY, XZ(lathe) and YZ plane

2022-12-21 Thread Nicklas SB Karlsson
ons 2022-12-21 klockan 13:23 + skrev andy pugh: > On Wed, 21 Dec 2022 at 12:12, Stuart Stevenson > wrote: > > > > A point and a vector fully describe a plane in 3D space. > > Indeed, and you could certainly have a command to set a generic > plane. > But you don't need the point. G17 and

Re: [Emc-developers] NURBS in XY, XZ(lathe) and YZ plane

2022-12-21 Thread Nicklas SB Karlsson
ons 2022-12-21 klockan 19:59 + skrev andy pugh: > On Wed, 21 Dec 2022 at 19:54, Nicklas SB Karlsson wrote: > > > Specify three points in 2D or 3D space: start, centre and end > > points as > > you suggest I think is a good idea that will work for an arc. > >

Re: [Emc-developers] A vision for working now to LinuxCnc version 10

2022-12-04 Thread Nicklas SB Karlsson
lör 2022-12-03 klockan 21:22 +0100 skrev Steffen Möller: > Hello, > > > My goal for LinuxCnc is to provide a way for any user to interface > > any > > UI to LinuxCnc with a secure TCP network connection. > > There are remote shells to HAL but I agree - would also like to see a > bit more of

Re: [Emc-developers] A vision for working now to LinuxCnc version 10

2022-12-04 Thread Nicklas SB Karlsson
lör 2022-12-03 klockan 16:57 -0800 skrev chris morley: > > On 2022-12-03 16:06, Johannes Fassotte wrote: > > I’m fairly familiar with machine kit and it has nothing to do with > > that. It has strictly to do with modernizing the built in remote > > interface that Linuxcnc was born with.. > > ok

Re: [Emc-developers] Arc Bug, help needed.

2022-12-11 Thread Nicklas SB Karlsson
lör 2022-12-10 klockan 23:10 + skrev Dewey Garrett: > > > Is anyone else able to reproduce this behaviour? > > $ wget www.panix.com/~dgarrett/stuff/arc.tgz > $ tar xzf arc.tgz > $ cd arc > > 1) start from command line > $ linuxcnc arc.ini > > 2) Initialize > F1 -- Machine on > F2

Re: [Emc-developers] Mesa error finishing read errors solved --> Ethercat message disappear

2022-12-14 Thread Nicklas SB Karlsson
ons 2022-12-14 klockan 05:15 +1000 skrev Rod Webster: > Since the 5.10 kernel (eg Bullseye) and above, there has been an > issue with > excessive network latency with the Debian RT kernel and Realtek > network > interfaces with Mesa ethernet cards. When it bites, it causes a > hm2_eth > "error

Re: [Emc-developers] LinuxCnc growing with to much none essential code

2022-12-01 Thread Nicklas SB Karlsson
> ... > As far as tools for building user interfaces It would also not > surprise > me if the next fad for building those is just around the corner and > that > QT will hopefully be just part of the old LinuxCnc history.  I there > will always be newer and better ways to get things done without

Re: [Emc-developers] manual tool change

2022-12-01 Thread Nicklas SB Karlsson
Have implemented a manual tool change component. To release tool hydraulic pump is started and stopped. To clamp tool hydraulic pressure have to be released. There is also two digital inputs from sensors that will tell if open or closed. There is buttons to unlock tool, clamp tool and tell then

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Nicklas SB Karlsson
4:32 PM Nicklas SB Karlsson wrote: > > > Anyone else think it would be useful with possibility to show which > > tools a loaded NC file use? > > > > Then pressing a button list with tools needed is shown. So far I > > have > > manually read the g-c

[Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Nicklas SB Karlsson
Anyone else think it would be useful with possibility to show which tools a loaded NC file use? Then pressing a button list with tools needed is shown. So far I have manually read the g-code file to determine which tools must be prepared. Nicklas Karlsson

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-13 Thread Nicklas SB Karlsson
fre 2023-01-13 klockan 22:16 + skrev andy pugh: > On Fri, 13 Jan 2023 at 21:32, Nicklas SB Karlsson wrote: > > > > Anyone else think it would be useful with possibility to show which > > tools a loaded NC file use? > > The Axis interface has G-code properties

Re: [Emc-developers] Ran into a intermittent problem with Jog stop.

2023-01-16 Thread Nicklas SB Karlsson
mån 2023-01-16 klockan 16:14 -0900 skrev Johannes Fassotte: > I'm using master that I down loaded about  10 days ago with Gmoccapy > that came with it. I was controlling my mill just using the jog > buttons > and chose not to send commands using MDI mode. This machining work > required the jog

Re: [Emc-developers] Ran into a intermittent problem with Jog stop.

2023-01-17 Thread Nicklas SB Karlsson
tis 2023-01-17 klockan 19:02 +0100 skrev Hans Unzner: > > Am 17.01.23 um 02:44 schrieb gene heskett: > > If using a wireless keyboard, check the batteries with a voltmeter. > > Long > > keydowns may cause a fadeout that does not register as a keyup > > event. > > So when it comes time to

Re: [Emc-developers] Show used tools for loaded NC program?

2023-01-15 Thread Nicklas SB Karlsson
ile: > > [image: tool_list.png] > > > On Fri, Jan 13, 2023 at 6:23 PM Nicklas SB Karlsson > wrote: > > > fre 2023-01-13 klockan 22:16 + skrev andy pugh: > > > On Fri, 13 Jan 2023 at 21:32, Nicklas SB Karlsson > > > wrote: > > > > &

Re: [Emc-developers] Ran into a intermittent problem with Jog stop.

2023-01-18 Thread Nicklas SB Karlsson
tis 2023-01-17 klockan 19:02 +0100 skrev Hans Unzner: > > Am 17.01.23 um 02:44 schrieb gene heskett: > > If using a wireless keyboard, check the batteries with a voltmeter. > > Long > > keydowns may cause a fadeout that does not register as a keyup > > event. > > So when it comes time to

Re: [Emc-developers] G96 Constant surface speed, have to move some distance before active

2022-11-13 Thread Nicklas SB Karlsson
mån 2022-11-14 klockan 00:06 + skrev andy pugh: > Just to clarify: Is this still an issue, or was it a misunderstanding > of CSS mode? > Maybe a little bit of a misunderstanding as it was intended for lathes. Though for mills it make it either work considering the drill diameter instead of

Re: [Emc-developers] Show used tools for loaded NC program?

2023-03-12 Thread Nicklas SB Karlsson
t; > should > > work if each tool get a unique number. > > > > Nicklas Karlsson > > > > > > fre 2023-01-13 klockan 16:39 -0500 skrev Small Shop Concepts: > > > That can be accomplished in the post processor of most cam > > > softwares, > > > it &g

[Emc-developers] Config files, space in path name does not work anymore

2023-04-14 Thread Nicklas SB Karlsson
Discovered space in path name for tooledit stoped working. Pretty sure it happened not more than a few months ago. No big deal, just removed space and it works again but guess it's supposed to work. Trace below, it first try to read first part before space as a file and then the part after the

Re: [Emc-developers] LinuxCNC gathering in Norway

2023-04-29 Thread Nicklas SB Karlsson
Have been to Norway before and will not come back. lör 2023-04-29 klockan 14:57 +0200 skrev Petter Reinholdtsen: > [Andy Pugh] > > I can probably make it that weekend, but don't want to commit just > > yet. (I > > haven't looked at travel options yet) > > Great to hear.  I placed your name on

Re: [Emc-developers] HAL shared memory and the mis-use of hal_malloc

2023-03-27 Thread Nicklas SB Karlsson
mån 2023-03-27 klockan 00:26 +0100 skrev andy pugh: > I am working on a HAL driver at the moment, and have started to be > concerned about mis-use(?) of hal_malloc. > > Looking at the hostmot2 code the data structures are carefully split > into > HAL pins and other data. The HAL pins parts are

[Emc-developers] Sampler, stop sampling at negative on flank?

2023-04-08 Thread Nicklas SB Karlsson
Have added to halsampler so that it stop sampling at negative enable flank. This is useful then it is not known how long the sequence is and gives a method to stop sampler from g-code if it is connected to a digital output in motion module. Want to see what other people think about it? Nicklas

Re: [Emc-developers] Unable to build LinuxCNC (ld error)

2023-05-25 Thread Nicklas SB Karlsson
sudo ldconfig ? tor 2023-05-25 klockan 03:52 + skrev Alec Ari via Emc-developers: > Hi everyone, > > I have built the Gentoo image for LinuxCNC, real-time kernel and all > with WiFi+wired ethernet support for many of the common USB NICs but > now running into trouble building LinuxCNC

Re: [Emc-developers] Where to put a file?

2023-06-08 Thread Nicklas SB Karlsson
tis 2023-06-06 klockan 17:25 +0100 skrev andy pugh: > On Tue, 6 Jun 2023 at 17:21, Nicklas SB Karlsson wrote: > > > > However there is a C template (mesa_modbus.c) that is needed, and > > > I > > > don't know where that should live. Possibly in /share/ ? > &g

Re: [Emc-developers] Where to put a file?

2023-06-06 Thread Nicklas SB Karlsson
tis 2023-06-06 klockan 00:21 +0100 skrev andy pugh: > I am trying to add the mesa_modbus framework into the build, targeted > for linuxcnc-dev > > I think it is fairly clear the executable Python file "modcompile" > should be parked in linuxcnc-dev/bin and then installed to /bin > > However

Re: [Emc-developers] Looking for rtapi_shmem example between RT- C comp and Uspace Python comp?

2023-11-18 Thread Nicklas SB Karlsson
fre 2023-11-17 klockan 20:47 + skrev andy pugh: > On Fri, 17 Nov 2023 at 19:29, Rod Webster > wrote: > > > Finally, I might add that if you are competent in C and the core of > > your requirement is real time, why complicate it by adding a non- > > real > > time Python component. it sounds

Re: [Emc-developers] Part of my problem with this program

2024-03-08 Thread Nicklas SB Karlsson
tor 2024-03-07 klockan 21:26 -0500 skrev gene heskett: > Greetings all; > > one of the problems I am having when using a reasonable speed to search > for the edge of a hole is that it does not stop fast enough on first > contact, and leaves the probe touching the side of the hole as it spins >

Re: [Emc-developers] Part of my problem with this program

2024-03-08 Thread Nicklas SB Karlsson
> ... > The theory is that even a bent spindle is effectively a perfect circle > if it is rotating faster than the servo loop Diameter? Nicklas Karlsson ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net

Re: [Emc-developers] How closely do we need to adhere to the NIST standard?

2024-04-09 Thread Nicklas SB Karlsson
There might be requirements for safety reasons but do not think we need to care about some standard require MDI commands to be executed only with a physical button. For safety reasons I have a safety relay connected to physical buttons. Then power is turned off and energy stored stored in

Re: [Emc-developers] IGBT Module Dial-a-Yield Project Ideas

2024-04-05 Thread Nicklas SB Karlsson
fre 2024-04-05 klockan 06:55 -0400 skrev Curtis Dutton: > Hello all, > > I'm starting a new project to build a motor drive based upon igbt modules. > Hoping to build something that has a single type of controller that will > plug and play with various capacity igbt modules for various size