mb2hal?

130 views
Skip to first unread message

justin White

unread,
Dec 19, 2019, 10:20:22 PM12/19/19
to Machinekit
It was suggested to me to use mb2hal for some remote communication from a LinuxCNC box to a MK box which actually seems to be a good idea. It looks like MK does not include this component. Without looking too far into it yet it just looks like a simple userspace component. Any particular reason why it would not just drop right in? Thoughts on including it in MK?

justin White

unread,
Dec 27, 2019, 10:46:09 AM12/27/19
to Machinekit
Bump...not alotta interest in modbus in my eh?

Michael Brown

unread,
Dec 27, 2019, 6:50:45 PM12/27/19
to Machinekit
As things are currently I'm certain that if you convert any "simple" existing mk userspace component and replace the functional code with
that lcnc modbus component you are requesting, test it, get it to function as expected and lastly create a PR..
Someone eventually will forward the pr request into the repo ... :-)

Best wishes
Michael Brown

justin White

unread,
Dec 27, 2019, 8:36:15 PM12/27/19
to Machinekit
Maybe a slight misunderstanding as I just realized mb2hal does exist in the (legacy?) MK repo but is missing from the mk-hal split repo as is a couple other user comps.

I'm not requesting a special lcnc flavored mb2hal, As modbus is a protocol I would expect a working modbus component to work generically. What I'm asking is is there a particular reason it's not in the split repo? If it fails to build for whatever reason I'm sure I'm not the person anyone wants modifying the code and PR'ing it. I could however help test it.

ce...@tuta.io

unread,
Dec 28, 2019, 9:50:53 AM12/28/19
to justin White, Machinekit
I remember that there was some problem with Modbus module which I thought was solved by ArcEye. (Maybe he will chime in.) But given that it was the so called "userspace" component, it would be in machinekit-cnc, not machinekit-hal. But it doesn't look like it is there.

The problem with mb2hal is that it presents itself as a non-real-time component (Modbus is generally considered as a non-RT), but as far as I know the Modbus RTU can be used in RT, the TCP because of inner working of TCP communication cannot.

Given the "RT" and "userspace" components definition in Machinekit is a prehistoric vintage from LinuxCNC which outlived it's usefuness, maybe it is time to have something capable both of RT and non-RT functioning.

I am planning something for which I will need the modbus communication, problem is, I plan in years.

Cern.


Dec 28, 2019, 02:36 by blaz...@gmail.com:
> --
> website: > http://www.machinekit.io> blog: > http://blog.machinekit.io> github: > https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to > machinekit+...@googlegroups.com> .
> To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/acc411f1-36e1-49c5-9c5b-22bc7b47e2b6%40googlegroups.com <https://groups.google.com/d/msgid/machinekit/acc411f1-36e1-49c5-9c5b-22bc7b47e2b6%40googlegroups.com?utm_medium=email&utm_source=footer>> .
>

justin White

unread,
Dec 28, 2019, 10:40:59 AM12/28/19
to Machinekit
Just navigating the split repo directories, "user" comps still exist in the typical directory of MK-hal, tho mb2hal is missing. Nothing like that seems to exist in MK-CNC so I assumed the MO was to keep the user comps in MK-HAL as is. mb2hal also works over serial which aside from Mesa smartserial I don't think has ever been considered "RT" in linuxCNC likely because of baud rates. While I'm sure RT modbus is probably quite useful I don't think the main use for it is usually RT critical. Generally it would take the place of other serial protocols with the convenience of TCP as well for interfacing with something else that is running faster at a hardware level, like talking to a VFD or commanding a servo drive. I think getting it in there in it's current form if possible is probably more important than addressing RT changes, which could always be added later I suppose. 


On Saturday, December 28, 2019 at 9:50:53 AM UTC-5, ce...@tuta.io wrote:
I remember that there was some problem with Modbus module which I thought was solved by ArcEye. (Maybe he will chime in.) But given that it was the so called "userspace" component, it would be in machinekit-cnc, not machinekit-hal. But it doesn't look like it is there.

The problem with mb2hal is that it presents itself as a non-real-time component (Modbus is generally considered as a non-RT), but as far as I know the Modbus RTU can be used in RT, the TCP because of inner working of TCP communication cannot.

Given the "RT" and "userspace" components definition in Machinekit is a prehistoric vintage from LinuxCNC which outlived it's usefuness, maybe it is time to have something capable both of RT and non-RT functioning.

I am planning something for which I will need the modbus communication, problem is, I plan in years.

Cern.


Dec 28, 2019, 02:36 by blaz...@gmail.com:

> Maybe a slight misunderstanding as I just realized mb2hal does exist in the (legacy?) MK repo but is missing from the mk-hal split repo as is a couple other user comps.
>
> I'm not requesting a special lcnc flavored mb2hal, As modbus is a protocol I would expect a working modbus component to work generically. What I'm asking is is there a particular reason it's not in the split repo? If it fails to build for whatever reason I'm sure I'm not the person anyone wants modifying the code and PR'ing it. I could however help test it.
>
> On Friday, December 27, 2019 at 6:50:45 PM UTC-5, Michael Brown wrote:
>
>> As things are currently I'm certain that if you convert any "simple" existing mk userspace component and replace the functional code with
>> that lcnc modbus component you are requesting, test it, get it to function as expected and lastly create a PR..
>> Someone eventually will forward the pr request into the repo ... :-)
>>
>> Best wishes
>> Michael Brown
>>
>> On Friday, December 27, 2019 at 4:46:09 PM UTC+1, justin White wrote:
>>
>>> Bump...not alotta interest in modbus in my eh?
>>>
>
>
>
> --
>  website: > http://www.machinekit.io>  blog: > http://blog.machinekit.io>  github: > https://github.com/machinekit
>  ---
>  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>  To unsubscribe from this group and stop receiving emails from it, send an email to > machi...@googlegroups.com> .

Kirk Wallace

unread,
Dec 28, 2019, 11:49:48 AM12/28/19
to Machinekit
Justin, My guess is that you may be reading too much into the "RTU" bit of ModbusRTU. To me, it has always meant Modbus over serial communication lines. Decades ago the RT might have been relevant, but I think Modbus has grown beyond what it was back then. Here is my base source for Modbus information: http://www.modbus.org/specs.php . They seem to stress that Mobus and the transport systems are separate but cooperative entities -- maybe like TCP is separate from IP.
 

To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/c7557316-a094-4fda-ad54-5639be36167c%40googlegroups.com.

justin White

unread,
Dec 28, 2019, 12:10:04 PM12/28/19
to Machinekit
Kirk I'm not sure what you mean. I don't think I've mentioned RTU at all but in this case the machinekit/linuxcnc device is the Remote Terminal Unit. I'm not really reading anything into it I just wanna know if the component can be used lol.

When I say "RT" I mean realtime, but I'm only responding to Cern's post. I don't actually care about "realtime" at the moment, which the "userspace" existance of this component as it has previously been implemented is not "realtime", but that is OK.
To unsubscribe from this group and stop receiving emails from it, send an email to machi...@googlegroups.com.

ce...@tuta.io

unread,
Dec 28, 2019, 12:10:25 PM12/28/19
to justin White, Machinekit
Well, looking at the mb2hal in LinuxCNC repository, I - at first glance - don't see any reason why it should not work in the Machinekit (maybe with some simple and generally automatic code changes).

So I would really like to know the reason behind removing it. I think (trying to remember) that there was some issue with the libmodbus library and Debian package which mb2hal is wrapper around.

Cern.


Dec 28, 2019, 16:40 by blaz...@gmail.com:
>> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> googlegroups.com <>>> > .
>> >  To view this discussion on the web visit > >> https://groups.google.com/d/>> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> 40googlegroups.com>> <>> https://groups.google.com/d/>> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> 40googlegroups.com?utm_medium=>> email&utm_source=footer>> >> .
>> >
>>
>>
>
>
>
> --
> website: > http://www.machinekit.io> blog: > http://blog.machinekit.io> github: > https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to > machinekit+...@googlegroups.com> .
> To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/c7557316-a094-4fda-ad54-5639be36167c%40googlegroups.com <https://groups.google.com/d/msgid/machinekit/c7557316-a094-4fda-ad54-5639be36167c%40googlegroups.com?utm_medium=email&utm_source=footer>> .
>

justin White

unread,
Dec 28, 2019, 12:22:03 PM12/28/19
to Machinekit
A commit a year ago in MK legacy addresses something with libmodbus.
https://github.com/machinekit/machinekit/tree/master/src/hal/user_comps/mb2hal

I don't know that I was asking specifically about LinuxCNC's version unless there is a more recent change that matters. The version that was in MK is probably fine if it's useable.
>  To unsubscribe from this group and stop receiving emails from it, send an email to > machi...@googlegroups.com> .

ce...@tuta.io

unread,
Dec 28, 2019, 3:11:04 PM12/28/19
to justin White, Machinekit
Hmmm...,

simple Ctrl+C, Ctrl+V from LinuxCNC repository to Machinekit-HAL repository seems to work (at least it compiles and so something, I have nothing for extra quick test [would have to find my arduino]) - https://github.com/cerna/machinekit-hal/tree/import-mb2hal-from-linuxcnc . Even the include command in src/Makefile was still there.

Cern.


Dec 28, 2019, 18:22 by blaz...@gmail.com:
>> >> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> googlegroups.com <http://googlegroups.com>>> <>>> > .
>> >> >  To view this discussion on the web visit > >> >> https://groups.google.com/d/>> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> 40googlegroups.com <http://40googlegroups.com>>> >>  <>> >> https://groups.google.com/d/>> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> >> email&utm_source=footer>> >> .
>> >> >
>> >>  
>> >>
>> >
>> >
>> >
>> > --
>> >  website: > >> http://www.machinekit.io>> >  blog: > >> http://blog.machinekit.io>> >  github: > >> https://github.com/machinekit>>
>> >  ---
>> >  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> googlegroups.com <>>> > .
>> >  To view this discussion on the web visit > >> https://groups.google.com/d/>> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> 40googlegroups.com>> <>> https://groups.google.com/d/>> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> 40googlegroups.com?utm_medium=>> email&utm_source=footer>> >> .
>> >
>>
>>
>
>
>
> --
> website: > http://www.machinekit.io> blog: > http://blog.machinekit.io> github: > https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to > machinekit+...@googlegroups.com> .
> To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/9fe74eaa-3e40-4070-a7df-c69a41152010%40googlegroups.com <https://groups.google.com/d/msgid/machinekit/9fe74eaa-3e40-4070-a7df-c69a41152010%40googlegroups.com?utm_medium=email&utm_source=footer>> .
>

ce...@tuta.io

unread,
Dec 29, 2019, 11:17:14 AM12/29/19
to Cern, justin White, Machinekit
OK,
an arduino found, packaged example code tested and it looks like it is working. So simple copy&paste solution.

Still have no idea why it was deleted from machinekit-hal package.

Cern.


Dec 28, 2019, 21:11 by ce...@tuta.io:

> Hmmm...,
>
> simple Ctrl+C, Ctrl+V from LinuxCNC repository to Machinekit-HAL repository seems to work (at least it compiles and so something, I have nothing for extra quick test [would have to find my arduino]) - https://github.com/cerna/machinekit-hal/tree/import-mb2hal-from-linuxcnc . Even the include command in src/Makefile was still there.
>
> Cern.
>
>
> Dec 28, 2019, 18:22 by blaz...@gmail.com:
>
>>> >> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> googlegroups.com <http://googlegroups.com>>> <>>> > .
>>> >> >  To view this discussion on the web visit > >> >> https://groups.google.com/d/>> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> 40googlegroups.com <http://40googlegroups.com>>> >>  <>> >> https://groups.google.com/d/>> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> >> email&utm_source=footer>> >> .
>>> >> >
>>> >>  
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> >  website: > >> http://www.machinekit.io>> >  blog: > >> http://blog.machinekit.io>> >  github: > >> https://github.com/machinekit>>
>>> >  ---
>>> >  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>>> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> googlegroups.com <>>> > .
>>> >  To view this discussion on the web visit > >> https://groups.google.com/d/>> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> 40googlegroups.com>> <>> https://groups.google.com/d/>> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> 40googlegroups.com?utm_medium=>> email&utm_source=footer>> >> .
>>> >
>>>
>>>
>>
>>
>>
>> --
>> website: > http://www.machinekit.io> blog: > http://blog.machinekit.io> github: > https://github.com/machinekit
>> ---
>> You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an email to > machinekit+...@googlegroups.com> .
>> To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/9fe74eaa-3e40-4070-a7df-c69a41152010%40googlegroups.com <https://groups.google.com/d/msgid/machinekit/9fe74eaa-3e40-4070-a7df-c69a41152010%40googlegroups.com?utm_medium=email&utm_source=footer>> .
>>
>
> --
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/LxD7XxL--3-2%40tuta.io.
>

justin White

unread,
Dec 29, 2019, 5:51:52 PM12/29/19
to Machinekit
That's good, thanks for taking the time to test it. Did you use the lcnc version or the old mk version?

it'll be a bit before my setup is ready to try it. I suppose by then it will be pulled into the mk-hal repo and a simple update will will install it?
>>  To unsubscribe from this group and stop receiving emails from it, send an email to > machi...@googlegroups.com> .
> To unsubscribe from this group and stop receiving emails from it, send an email to machi...@googlegroups.com.

ce...@tuta.io

unread,
Dec 29, 2019, 6:27:05 PM12/29/19
to justin White, Machinekit
Dec 29, 2019, 23:51 by blaz...@gmail.com:

> That's good, thanks for taking the time to test it. Did you use the lcnc version or the old mk version?
>
I used the current LinuxCNC version.

>
> it'll be a bit before my setup is ready to try it. I suppose by then it will be pulled into the mk-hal repo and a simple update will will install it?
>
Don't know. If it was stricken for specific reason, it would probably not be good to introduce it again.

Cern.

>
> On Sunday, December 29, 2019 at 11:17:14 AM UTC-5, ce...@tuta.io wrote:
>
>> OK,
>> an arduino found, packaged example code tested and it looks like it is working. So simple copy&paste solution.
>>
>> Still have no idea why it was deleted from machinekit-hal package.
>>
>> Cern.
>>
>>
>> Dec 28, 2019, 21:11 by >> ce...@tuta.io <>>> :
>>
>> > Hmmm...,
>> >
>> > simple Ctrl+C, Ctrl+V from LinuxCNC repository to Machinekit-HAL repository seems to work (at least it compiles and so something, I have nothing for extra quick test [would have to find my arduino]) - >> https://github.com/cerna/>> machinekit-hal/tree/import->> mb2hal-from-linuxcnc>> . Even the include command in src/Makefile was still there.
>> >>> >> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> >> googlegroups.com <http://googlegroups.com>>> <>> http://googlegroups.com>> >>>  <>>> > .
>> >>> >> >  To view this discussion on the web visit > >> >> >> https://groups.google.com/d/>> >> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> >> 40googlegroups.com <http://40googlegroups.com>>> <>> http://40googlegroups.com>> >>> >>  <>> >> >> https://groups.google.com/d/>> >> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> <>> http://40googlegroups.com?>> utm_medium=>> >>> >> email&utm_source=footer>> >> .
>> >>> >> >
>> >>> >>  
>> >>> >>
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> >  website: > >> >> http://www.machinekit.io>> >> >  blog: > >> >> http://blog.machinekit.io>> >> >  github: > >> >> https://github.com/machinekit>> >>> >
>> >>> >  ---
>> >>> >  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >>> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> googlegroups.com <http://googlegroups.com>>> <>>> > .
>> >>> >  To view this discussion on the web visit > >> >> https://groups.google.com/d/>> >> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> >> 40googlegroups.com <http://40googlegroups.com>>> >>  <>> >> https://groups.google.com/d/>> >> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> >> email&utm_source=footer>> >> .
>> >>> >
>> >>>  
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >>  website: > >> http://www.machinekit.io>> >  blog: > >> http://blog.machinekit.io>> >  github: > >> https://github.com/machinekit>>
>> >>  ---
>> >>  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >>  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> googlegroups.com <>>> > .
>> >>  To view this discussion on the web visit > >> https://groups.google.com/d/>> msgid/machinekit/9fe74eaa->> 3e40-4070-a7df-c69a41152010%>> 40googlegroups.com>> <>> https://groups.google.com/d/>> msgid/machinekit/9fe74eaa->> 3e40-4070-a7df-c69a41152010%>> 40googlegroups.com?utm_medium=>> email&utm_source=footer>> >> .
>> >>
>> >
>> > --
>> > website: >> http://www.machinekit.io>> blog: >> http://blog.machinekit.io>> github: >> https://github.com/machinekit>>
>> > ---
>> > You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an email to >> machi...@>> googlegroups.com <>>> .
>> > To view this discussion on the web visit >> https://groups.google.com/d/>> msgid/machinekit/LxD7XxL--3-2%>> 40tuta.io>> .
>> >
>>
>>
>
>
>
> --
> website: > http://www.machinekit.io> blog: > http://blog.machinekit.io> github: > https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to > machinekit+...@googlegroups.com> .
> To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/09971be5-4f61-4a80-9525-b7fad9400c8e%40googlegroups.com <https://groups.google.com/d/msgid/machinekit/09971be5-4f61-4a80-9525-b7fad9400c8e%40googlegroups.com?utm_medium=email&utm_source=footer>> .
>

Michael Brown

unread,
Dec 30, 2019, 12:13:14 PM12/30/19
to Machinekit


On Saturday, December 28, 2019 at 3:50:53 PM UTC+1, ce...@tuta.io wrote:
I remember that there was some problem with Modbus module which I thought was solved by ArcEye. (Maybe he will chime in.) But given that it was the so called "userspace" component, it would be in machinekit-cnc, not machinekit-hal. But it doesn't look like it is there.

The problem with mb2hal is that it presents itself as a non-real-time component (Modbus is generally considered as a non-RT), but as far as I know the Modbus RTU can be used in RT, the TCP because of inner working of TCP communication cannot.

Given the "RT" and "userspace" components definition in Machinekit is a prehistoric vintage from LinuxCNC which outlived it's usefuness, maybe it is time to have something capable both of RT and non-RT functioning.


Yes

 
I am planning something for which I will need the modbus communication, problem is, I plan in years.

Cern.


Dec 28, 2019, 02:36 by blaz...@gmail.com:

> Maybe a slight misunderstanding as I just realized mb2hal does exist in the (legacy?) MK repo but is missing from the mk-hal split repo as is a couple other user comps.
>
> I'm not requesting a special lcnc flavored mb2hal, As modbus is a protocol I would expect a working modbus component to work generically. What I'm asking is is there a particular reason it's not in the split repo? If it fails to build for whatever reason I'm sure I'm not the person anyone wants modifying the code and PR'ing it. I could however help test it.
>
> On Friday, December 27, 2019 at 6:50:45 PM UTC-5, Michael Brown wrote:
>
>> As things are currently I'm certain that if you convert any "simple" existing mk userspace component and replace the functional code with
>> that lcnc modbus component you are requesting, test it, get it to function as expected and lastly create a PR..
>> Someone eventually will forward the pr request into the repo ... :-)
>>
>> Best wishes
>> Michael Brown
>>
>> On Friday, December 27, 2019 at 4:46:09 PM UTC+1, justin White wrote:
>>
>>> Bump...not alotta interest in modbus in my eh?
>>>
>
>
>
> --
>  website: > http://www.machinekit.io>  blog: > http://blog.machinekit.io>  github: > https://github.com/machinekit
>  ---
>  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>  To unsubscribe from this group and stop receiving emails from it, send an email to > machi...@googlegroups.com> .

Michael Brown

unread,
Dec 30, 2019, 12:23:28 PM12/30/19
to Machinekit


On Sunday, December 29, 2019 at 11:51:52 PM UTC+1, justin White wrote:
That's good, thanks for taking the time to test it. Did you use the lcnc version or the old mk version?

it'll be a bit before my setup is ready to try it. I suppose by then it will be pulled into the mk-hal repo and a simple update will will install it?
not realistic currently...

Michael Brown

unread,
Dec 30, 2019, 12:30:10 PM12/30/19
to Machinekit


On Monday, December 30, 2019 at 12:27:05 AM UTC+1, ce...@tuta.io wrote:
Dec 29, 2019, 23:51 by blaz...@gmail.com:

> That's good, thanks for taking the time to test it. Did you use the lcnc version or the old mk version?
>
I used the current LinuxCNC version.

>
> it'll be a bit before my setup is ready to try it. I suppose by then it will be pulled into the mk-hal repo and a simple update will will install it?
>
Don't know. If it was stricken for specific reason, it would probably not be good to introduce it again.

Cern.

Correct  the maintainers exceeded the "use" limit due to:
assumptions
expectations.
between "user" and Developer "space"
call it a communication breakdown due to educational systems in general between the earth and gaian "philosofies"
Thanx
From an energetic(suble energies) viewpoint of a Systemverilog rt constructor.

 
>  To unsubscribe from this group and stop receiving emails from it, send an email to > machi...@googlegroups.com> .

ce...@tuta.io

unread,
Dec 30, 2019, 2:54:59 PM12/30/19
to Michael Brown, Machinekit
Dec 30, 2019, 18:30 by mib.hol...@gmail.com:

>
>
> On Monday, December 30, 2019 at 12:27:05 AM UTC+1, ce...@tuta.io wrote:
>
>> Dec 29, 2019, 23:51 by >> blaz...@gmail.com <>>> :
>>
>> > That's good, thanks for taking the time to test it. Did you use the lcnc version or the old mk version?
>> >
>> I used the current LinuxCNC version.
>>
>> >
>> > it'll be a bit before my setup is ready to try it. I suppose by then it will be pulled into the mk-hal repo and a simple update will will install it?
>> >
>> Don't know. If it was stricken for specific reason, it would probably not be good to introduce it again.
>>
>> Cern.
>>
>
> Correct  the maintainers exceeded the "use" limit due to:
> assumptions
> expectations.
> between "user" and Developer "space"
> call it a communication breakdown due to educational systems in general between the earth and gaian "philosofies"
> Thanx
> From an energetic(suble energies) viewpoint of a Systemverilog rt constructor.
>
I think I will ask for a hint. Because I don't understand.

Do you mean the RTAPI/ULAPI and RT/"userspace" nomenclature the Machinekit inherited from LinuxCNC (making everything overly complicated) or something else?

Cern.
>> >> >>> >> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> >> >> googlegroups.com <http://googlegroups.com>>> <>> http://googlegroups.com>> >>>  <>> >> http://googlegroups.com>> >> >>>  <>>> > .
>> >> >>> >> >  To view this discussion on the web visit > >> >> >> >> https://groups.google.com/d/>> >> >> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> >> >> 40googlegroups.com <http://40googlegroups.com>>> <>> http://40googlegroups.com>> >>>  <>> >> http://40googlegroups.com>> >> >>> >>  <>> >> >> >> https://groups.google.com/d/>> >> >> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> >> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> <>> http://40googlegroups.com?>> utm_medium=>> >>>  <>> >> http://40googlegroups.com>> ?>> utm_medium=>> >>> >> email&utm_source=footer>> >> .
>> >> >>> >> >
>> >> >>> >>  
>> >> >>> >>
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > --
>> >> >>> >  website: > >> >> >> http://www.machinekit.io>> >> >> >  blog: > >> >> >> http://blog.machinekit.io>> >> >> >  github: > >> >> >> https://github.com/machinekit>> >>> > >>> >
>> >> >>> >  ---
>> >> >>> >  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >> >>> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> >> googlegroups.com <http://googlegroups.com>>> <>> http://googlegroups.com>> >>>  <>>> > .
>> >> >>> >  To view this discussion on the web visit > >> >> >> https://groups.google.com/d/>> >> >> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> >> >> 40googlegroups.com <http://40googlegroups.com>>> <>> http://40googlegroups.com>> >>> >>  <>> >> >> https://groups.google.com/d/>> >> >> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> >> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> <>> http://40googlegroups.com?>> utm_medium=>> >>> >> email&utm_source=footer>> >> .
>> >> >>> >
>> >> >>>  
>> >> >>>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >>  website: > >> >> http://www.machinekit.io>> >> >  blog: > >> >> http://blog.machinekit.io>> >> >  github: > >> >> https://github.com/machinekit>> >>> >  
>> >> >>  ---
>> >> >>  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >> >>  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> googlegroups.com <http://googlegroups.com>>> <>>> > .
>> >> >>  To view this discussion on the web visit > >> >> https://groups.google.com/d/>> >> msgid/machinekit/9fe74eaa->> 3e40-4070-a7df-c69a41152010%>> >> 40googlegroups.com <http://40googlegroups.com>>> >>  <>> >> https://groups.google.com/d/>> >> msgid/machinekit/9fe74eaa->> 3e40-4070-a7df-c69a41152010%>> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> >> email&utm_source=footer>> >> .
>> >> >>
>> >> >
>> >> > --
>> >> > website: >> >> http://www.machinekit.io>> >>  blog: >> >> http://blog.machinekit.io>> >>  github: >> >> https://github.com/machinekit>> >>> >  
>> >> > ---
>> >> > You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >> > To unsubscribe from this group and stop receiving emails from it, send an email to >> machi...@>> >> googlegroups.com <http://googlegroups.com>>> <>>> .
>> >> > To view this discussion on the web visit >> >> https://groups.google.com/d/>> >> msgid/machinekit/LxD7XxL--3-2%>> >> >> 40tuta.io <http://40tuta.io>>> >> .
>> >> >
>> >>  
>> >>
>> >
>> >
>> >
>> > --
>> >  website: > >> http://www.machinekit.io>> >  blog: > >> http://blog.machinekit.io>> >  github: > >> https://github.com/machinekit>>
>> >  ---
>> >  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> googlegroups.com <>>> > .
>> >  To view this discussion on the web visit > >> https://groups.google.com/d/>> msgid/machinekit/09971be5->> 4f61-4a80-9525-b7fad9400c8e%>> 40googlegroups.com>> <>> https://groups.google.com/d/>> msgid/machinekit/09971be5->> 4f61-4a80-9525-b7fad9400c8e%>> 40googlegroups.com?utm_medium=>> email&utm_source=footer>> >> .
>> >
>>
>>
>
>
>
> --
> website: > http://www.machinekit.io> blog: > http://blog.machinekit.io> github: > https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to > machinekit+...@googlegroups.com> .
> To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/fbbd4552-3b50-467f-a9ba-989298f373e3%40googlegroups.com <https://groups.google.com/d/msgid/machinekit/fbbd4552-3b50-467f-a9ba-989298f373e3%40googlegroups.com?utm_medium=email&utm_source=footer>> .
>

Michael Brown

unread,
Jan 3, 2020, 5:56:58 AM1/3/20
to Machinekit
The current relation between feeling of accomplishment and feedback.

On Monday, December 30, 2019 at 8:54:59 PM UTC+1, ce...@tuta.io wrote:
Dec 30, 2019, 18:30 by mib.ho...@gmail.com:

>
>
> On Monday, December 30, 2019 at 12:27:05 AM UTC+1, ce...@tuta.io wrote:
>
>> Dec 29, 2019, 23:51 by >> blaz...@gmail.com <>>> :
>>  
>> > That's good, thanks for taking the time to test it. Did you use the lcnc version or the old mk version?
>> >
>> I used the current LinuxCNC version.
>>  
>> >
>> > it'll be a bit before my setup is ready to try it. I suppose by then it will be pulled into the mk-hal repo and a simple update will will install it?
>> >
>> Don't know. If it was stricken for specific reason, it would probably not be good to introduce it again.
>>  
>> Cern.
>>
>
> Correct  the maintainers exceeded the "use" limit due to:
> assumptions
> expectations.
> between "user" and Developer "space"
> call it a communication breakdown due to educational systems in general between the earth and gaian "philosofies"
> Thanx
> From an energetic(suble energies) viewpoint of a Systemverilog rt constructor.
>
I think I will ask for a hint. Because I don't understand.

Do you mean the RTAPI/ULAPI and RT/"userspace" nomenclature the Machinekit inherited from LinuxCNC (making everything overly complicated) or something else?


If its related to "serial" protocols ,,probably. yes :-)
 
>  To unsubscribe from this group and stop receiving emails from it, send an email to > machi...@googlegroups.com> .

ce...@tuta.io

unread,
Jan 4, 2020, 1:57:35 PM1/4/20
to Michael Brown, Machinekit
Hi,

Jan 3, 2020, 11:56 by mib.hol...@gmail.com:

> The current relation between feeling of accomplishment and feedback.
>
You just need to learn praise yourself for work accomplished. Nobody else will do it for you. Just tap yourself on the back and say Well Done. Depending on others is the highway to hell.

In my situation it translated into periods of high interests and lazy pauses.

>
> On Monday, December 30, 2019 at 8:54:59 PM UTC+1, ce...@tuta.io wrote:
>
>> Dec 30, 2019, 18:30 by >> mib.ho...@gmail.com <>>> :
>>
>> >
>> >
>> > On Monday, December 30, 2019 at 12:27:05 AM UTC+1, >> ce...@tuta.io <>>> wrote:
>> >
>> >> Dec 29, 2019, 23:51 by >> >> blaz...@gmail.com <>>> <>>> :
>> >>  
>> >> > That's good, thanks for taking the time to test it. Did you use the lcnc version or the old mk version?
>> >> >
>> >> I used the current LinuxCNC version.
>> >>  
>> >> >
>> >> > it'll be a bit before my setup is ready to try it. I suppose by then it will be pulled into the mk-hal repo and a simple update will will install it?
>> >> >
>> >> Don't know. If it was stricken for specific reason, it would probably not be good to introduce it again.
>> >>  
>> >> Cern.
>> >>
>> >
>> > Correct  the maintainers exceeded the "use" limit due to:
>> > assumptions
>> > expectations.
>> > between "user" and Developer "space"
>> > call it a communication breakdown due to educational systems in general between the earth and gaian "philosofies"
>> > Thanx
>> > From an energetic(suble energies) viewpoint of a Systemverilog rt constructor.
>> >
>> I think I will ask for a hint. Because I don't understand.
>>
>> Do you mean the RTAPI/ULAPI and RT/"userspace" nomenclature the Machinekit inherited from LinuxCNC (making everything overly complicated) or something else?
>>
>>
>
> If its related to "serial" protocols ,,probably. yes :-)
>
RT communication needs RT-capable drivers. For RT_PREEMPT there probably is no actual work which needs to be done. (For Xenomai/EVL there is, I think.)

Simple test would be to create HAL module where the polling of/sending to remote device is exported as a HAL function which would be then added into the thread. (So put the functionality into the rtapi_app process, don't create new process which would be IPCed by shared memory into HAL segment.) And then look for errors on RT side (context switches or time violations).

In connection to Modbus, I think it depends on number and types of SYCALLs causing context switch in the implementation of current libmodbus library.

Cern.
>> >> >> >>> >> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> >> >> >> googlegroups.com <http://googlegroups.com>>> <>> http://googlegroups.com>> >>>  <>> >> http://googlegroups.com>> >> >>>  <>> >> >> http://googlegroups.com>> >> >> >>>  <>>> > .
>> >> >> >>> >> >  To view this discussion on the web visit > >> >> >> >> >> https://groups.google.com/d/>> >> >> >> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> >> >> >> 40googlegroups.com <http://40googlegroups.com>>> <>> http://40googlegroups.com>> >>>  <>> >> http://40googlegroups.com>> >> >>>  <>> >> >> http://40googlegroups.com>> >> >> >>> >>  <>> >> >> >> >> https://groups.google.com/d/>> >> >> >> >> msgid/machinekit/acc411f1->> 36e1-49c5-9c5b-22bc7b47e2b6%>> >> >> >> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> <>> http://40googlegroups.com?>> utm_medium=>> >>>  <>> >> http://40googlegroups.com>> ?>> utm_medium=>> >>>  <>> >> >> http://40googlegroups.com>> >> ?>> utm_medium=>> >>> >> email&utm_source=footer>> >> .
>> >> >> >>> >> >
>> >> >> >>> >>  
>> >> >> >>> >>
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> >
>> >> >> >>> > --
>> >> >> >>> >  website: > >> >> >> >> http://www.machinekit.io>> >> >> >> >  blog: > >> >> >> >> http://blog.machinekit.io>> >> >> >> >  github: > >> >> >> >> https://github.com/machinekit>> >>> > >>> > >>> >
>> >> >> >>> >  ---
>> >> >> >>> >  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >> >> >>> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> >> >> googlegroups.com <http://googlegroups.com>>> <>> http://googlegroups.com>> >>>  <>> >> http://googlegroups.com>> >> >>>  <>>> > .
>> >> >> >>> >  To view this discussion on the web visit > >> >> >> >> https://groups.google.com/d/>> >> >> >> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> >> >> >> 40googlegroups.com <http://40googlegroups.com>>> <>> http://40googlegroups.com>> >>>  <>> >> http://40googlegroups.com>> >> >>> >>  <>> >> >> >> https://groups.google.com/d/>> >> >> >> msgid/machinekit/c7557316->> a094-4fda-ad54-5639be36167c%>> >> >> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> <>> http://40googlegroups.com?>> utm_medium=>> >>>  <>> >> http://40googlegroups.com>> ?>> utm_medium=>> >>> >> email&utm_source=footer>> >> .
>> >> >> >>> >
>> >> >> >>>  
>> >> >> >>>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >>  website: > >> >> >> http://www.machinekit.io>> >> >> >  blog: > >> >> >> http://blog.machinekit.io>> >> >> >  github: > >> >> >> https://github.com/machinekit>> >>> > >>> >  
>> >> >> >>  ---
>> >> >> >>  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >> >> >>  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> >> googlegroups.com <http://googlegroups.com>>> <>> http://googlegroups.com>> >>>  <>>> > .
>> >> >> >>  To view this discussion on the web visit > >> >> >> https://groups.google.com/d/>> >> >> msgid/machinekit/9fe74eaa->> 3e40-4070-a7df-c69a41152010%>> >> >> 40googlegroups.com <http://40googlegroups.com>>> <>> http://40googlegroups.com>> >>> >>  <>> >> >> https://groups.google.com/d/>> >> >> msgid/machinekit/9fe74eaa->> 3e40-4070-a7df-c69a41152010%>> >> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> <>> http://40googlegroups.com?>> utm_medium=>> >>> >> email&utm_source=footer>> >> .
>> >> >> >>
>> >> >> >
>> >> >> > --
>> >> >> > website: >> >> >> http://www.machinekit.io>> >> >>  blog: >> >> >> http://blog.machinekit.io>> >> >>  github: >> >> >> https://github.com/machinekit>> >>> > >>> >  
>> >> >> > ---
>> >> >> > You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >> >> > To unsubscribe from this group and stop receiving emails from it, send an email to >> machi...@>> >> >> googlegroups.com <http://googlegroups.com>>> <>> http://googlegroups.com>> >>>  <>>> .
>> >> >> > To view this discussion on the web visit >> >> >> https://groups.google.com/d/>> >> >> msgid/machinekit/LxD7XxL--3-2%>> >> >> >> >> 40tuta.io <http://40tuta.io>>> <>> http://40tuta.io>> >>> >> .
>> >> >> >
>> >> >>  
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> >  website: > >> >> http://www.machinekit.io>> >> >  blog: > >> >> http://blog.machinekit.io>> >> >  github: > >> >> https://github.com/machinekit>> >>> >  
>> >> >  ---
>> >> >  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> >> googlegroups.com <http://googlegroups.com>>> <>>> > .
>> >> >  To view this discussion on the web visit > >> >> https://groups.google.com/d/>> >> msgid/machinekit/09971be5->> 4f61-4a80-9525-b7fad9400c8e%>> >> 40googlegroups.com <http://40googlegroups.com>>> >>  <>> >> https://groups.google.com/d/>> >> msgid/machinekit/09971be5->> 4f61-4a80-9525-b7fad9400c8e%>> >> 40googlegroups.com?utm_medium= <http://40googlegroups.com?utm_medium=>>> >> email&utm_source=footer>> >> .
>> >> >
>> >>  
>> >>
>> >
>> >
>> >
>> > --
>> >  website: > >> http://www.machinekit.io>> >  blog: > >> http://blog.machinekit.io>> >  github: > >> https://github.com/machinekit>>
>> >  ---
>> >  You received this message because you are subscribed to the Google Groups "Machinekit" group.
>> >  To unsubscribe from this group and stop receiving emails from it, send an email to > >> machi...@>> googlegroups.com <>>> > .
>> >  To view this discussion on the web visit > >> https://groups.google.com/d/>> msgid/machinekit/fbbd4552->> 3b50-467f-a9ba-989298f373e3%>> 40googlegroups.com>> <>> https://groups.google.com/d/>> msgid/machinekit/fbbd4552->> 3b50-467f-a9ba-989298f373e3%>> 40googlegroups.com?utm_medium=>> email&utm_source=footer>> >> .
>> >
>>
>>
>
>
>
> --
> website: > http://www.machinekit.io> blog: > http://blog.machinekit.io> github: > https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to > machinekit+...@googlegroups.com> .
> To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/208b2a37-2700-4432-b012-6d134ffabefb%40googlegroups.com <https://groups.google.com/d/msgid/machinekit/208b2a37-2700-4432-b012-6d134ffabefb%40googlegroups.com?utm_medium=email&utm_source=footer>> .
>

ce...@tuta.io

unread,
Mar 1, 2020, 4:09:48 PM3/1/20
to justin White, Machinekit
Hi,

I have just posted pull request merging MB2HAL from LinuxCNC/linuxcnc@master into Machinekit/machinekit-hal@master: https://github.com/machinekit/machinekit-hal/pull/258

Cern.


Dec 27, 2019, 16:46 by blaz...@gmail.com:

> Bump...not alotta interest in modbus in my eh?
>
> --
> website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
> ---
> You received this message because you are subscribed to the Google Groups "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/cb5c867b-ccbe-4491-b75d-d3cba9698232%40googlegroups.com.
>

Reply all
Reply to author
Forward
0 new messages