Its a long time since I dug into this but i think homing is triggered from
control.c somewhere.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/motion/control.c
The guts of homing is in the homing state machine
https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/motion/homing.c#L734
T
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 the
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 wasn't referring to coordination of joints but the differences from
Dominc's cia402.co
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
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 the homecomp docs
http://linuxcnc.org/docs/devel/html/man/man9/homec
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.
Andy,
Since Dewey released the homemod functionality that allows you to build
custom homing routines, I've been working with Dan Dempsey on developing a
custom homing component for cia402 compliant drive.
Dominc Braun released a component that can home cia402 (eg an Ethercat
canopen standard) driv
On Tuesday, 3 May 2022 10:11:46 EDT andy pugh wrote:
> On Tue, 3 May 2022 at 14:24, gene heskett wrote:
> > Homing can be a complex subject, what we have in master seems to
> > work, if you play by its rules. Does this change them?
>
> Only if you want it to.
Advantages?
Cheers, Gene Heskett.
On Tue, 3 May 2022 at 14:24, gene heskett wrote:
> Homing can be a complex subject, what we have in master seems to work, if
> you play by its rules. Does this change them?
Only if you want it to.
--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial
On Tuesday, 3 May 2022 08:09:03 EDT andy pugh wrote:
> 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. In the
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. In the
meantime, Dewey has introduced a system whereby LinuxCNC can be
Hi Rainer,
>Visual Studio Code
OMG my mind is blown! With VSCode installed I was able to quickly find the
10+ files that I needed to modify in order to add my new parameter
HOME_AUTO = 1.
In .ini file [Joint_0] HOME_AUTO = 0 and [Joint_1] HOME_AUTO = 1,
In the terminal
emcJointSetHomingParams(0
Hi Rainer,
>Visual Studio Code
OMG my mind is blown! With VSCode installed I was able to quickly find the
10+ files that I needed to modify in order to add my new parameter
HOME_AUTO = 1.
In the .ini file [Joint_0] HOME_AUTO = 0 and [Joint_1] HOME_AUTO = 1,
In the terminal
emcJointSetHomingParam
Hi Daniel,
Eclipse is used by a lot of embedded CPU vendors like NXP, Microchip,
STM and RTOS like vxworks.
It's worth trying.
But the start is hard, that's for sure.
An alternative, that is not that hard to learn, is Visual Studio Code.
I'm not the biggest Microsoft fan on the planet, but
Hi Rainer
>Do you use an IDE ?
No, I've tried to use eclipse before but without much luck... To be honest,
I never thought I would be this deep...My custom gui is in python and there
was a bunch of examples for that so I was able to struggle through it
without eclipse.
Kind regards,
Dan
On Sun,
Hi Rainer,
Thanks! I've been circling around the drain for a few hours now.
My personal email is sqmathl...@gmail.com
Thanks again,
Dan
On Sun, Sep 19, 2021 at 12:36 PM Rainer Stelzer
wrote:
> Hi Daniel,
>
> I will zip and mail you the complete source tree of src/emc/task/* .
> Do you use an
Hi Daniel,
I will zip and mail you the complete source tree of src/emc/task/* .
Do you use an IDE ?
This makes navigating the source and understanding relations and
dependencies much easier.
I use Eclipse/CDT (don't do this on a slow machine, it's a pain )
and a diff tool is very helpful,too, t
Hi Rainer,
Thanks for your detailed response. inijoint.cc/taskintf.cc wasn't on my
radar. I'm still trying to wrap my head around how they work.
Based on your instructions, ,I made the following changes
1) in inijoint.cc
Line 75 static int loadJoint (int joint, EmcIniFile
*jointIn
Hi Dan,
I respect your position regarding uploading a proprietary solution to GIT,
I have no problem publishing the stuff related to LinuxCNC.
I would be happy to provide it with EtherCAT.
It simply made no sense with CANOpen when it lacks a configurable
CANOpen Stack.
It does make sense with
rding the EtherCAT Hardware are welcome"
I have Delta ASDA-A2-E 2 KW amps and a Delta C2000 VFD running on ethercat,
are you looking for something specific?
-Original Message-
From: Rainer
Sent: September 17, 2021 1:54 AM
To: Emc-developers@lists.sourceforge.net
Subject: Re: [Emc
Hi Dan,
I think this feature is needed for all fieldbus solutions with modern
servos.
I'm using CAN with CANOpen servo-drives, spindle drives and Wago I/O, to
retrofit an air beared granite CNC router .
(old PCB router, linear scales on all axes, 3 metric tons weight, a
monster).
The servo
21 matches
Mail list logo