Then trying to get a system which is robust to communication errors I
investigated the scheduling and found out that Earliest Deadline First
scheduling quite recently have been part of the ordinary kernel. I have seen
linuxcnc currently use "SCHED_FIFO" and the new is "SCHED_DEADLINE" which use
I am thinking about using standard IO modules with RS485 Profibus communication
for end switches, brakes and other not very time critical tasks. They are
standardized and sometimes available used for a good price.
Is there anything useful available or do I have to write my own?
I have done a ba
I was thinking about: Linucnc computer with RS458 interface <--> Profibus IO
module. Connecting it to a STM32 would also work but it is one extra step.
Nicklas Karlsson
>
> Karl
> I did find a website during the week that has a project using profibus
> and the STM32. I can't seem to find it r
I have been thinking about it and even if the code is suitable for an STM32
device it might of course be possible to port to an ordinary computer and use
it in linuxcnc. I guess STM32 is used in some profibus devices so it might in
the wrong end. My internet connection is currently working at re
I am running linxucnc via ethernet and have studied the CPU and network load.
The minimum servo period seems to be around 200µs despite both CPU load and
network load is low. I have not yet investigated if this is because network
packets supposed to be received are missing or if process is not e
I have not followed the discussion but "volatile" keyword for variables might
help. It will not force atomic operations but it will force a real read or
write probably with correct order. The compiler usually output warnings about
ordering not defined then accessing several "volatile" variables
Occasionally I got some communication errors which of course might happen
especially during development. As far as I can tell from the source "hm2_eth.c"
row 445 "} while ((recv < 0) && ((t2 - t1) < 200*1000*1000));" wait for 200ms
before an error is generated. During this time new packets are q
I am also following the gEDA discussion and someone where talked about using
gschem for structural design of VHDL. Configuration of linuxcnc may also be
seen as connecting together different components with nets so in case someone
is thinking about graphical configuration gEDA symbols together w
>7. LinuxCNC operating system support in master branch / for
> eventual LinuxCNC 2.8 (Jeff Epler)
>8. Re: LinuxCNC operating system support in master branch / for
> eventual LinuxCNC 2.8 ( john...@superiorroll.com )
Since operating system is up again I want to add real time sch
> > Date: Mon, 12 Oct 2015 22:55:03 +0300
> > From: Pekka Roivainen
> > Reply-To: EMC developers
> > To: emc-developers@lists.sourceforge.net
> > Subject: [Emc-developers] Timing of realtime functions in uspace
> >
> > Hello!
> >
> > I'm building an ethernet based IO board to be used with LinuxC
> > I use the STM32F407 with the hostmot2 driver. I had some glitches at
> > startup but today I added a small delay someone here suggested end then
> > startup works perfect every time with two cards connected.
> >
> > I have been running two axes with DC servo motors and ordinary encoders on
I spent some time looking for a cheap shielded connector but usually they are
relatively expensive and cost more than a cheap inverter board.
I however found the shielded XLR audio connectors are cheap, do anybody have
experience with these?
-
> Thanks,
> I attached my code. at the moment I am just working on the protocol, without
> stm, so this code runs on a pc.
> my code runs without changes in linuxcnc, but for some reason I do not get
> data from the stepgens, but tcpdump confirms I am parsing all packages send
> by linuxcnc.
> t
For logical IO I would suggest a thread with lower periodicity than servo loop.
If EDF or Rate monotonic scheduler is used this lower periodicity thread will
get lower priority and servo loop may interrupt it.
Rotary absolute encoders measure angle within a turn and I think there may be
more th
I am trying to get a profibus IO module up and running. Plan is to add to
Linuxcnc and there plenty of these kind of devices out there so it will almost
certainly be useful.
Do anyone happen to have the raw message format from a trace or similar for
request diagnostic?
Nicklas Karlsson
--
Do anybode know the difference between RTAI and PREEMPT-rt?
Regards Nicklas Karlsson
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.source
RTAI seems to have the best real time perfomance, have anybody been able to use
RTAI and ethernet?
Nicklas Karlsson
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monito
> I believe the hostmot2 ethernet drivers only work (or at least have only been
> tested) with PREEMPT_RT.
>
> Alec Ari
PREEMPT_RT work but it is not possible to put the limit then it come to period
of how often real time tasks could be executed. Without proper handling of
interrupt every now
18 matches
Mail list logo