Re: [Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization

2024-06-24 Thread Nicklas SB Karlsson
sön 2024-06-16 klockan 18:59 + skrev John Morris: > ... (though I'd like to rewrite that ugliness), works with or without ROS, > works with Machinekit or LinuxCNC HAL, and > was designed to work with regular CANopen devices in the future.  It would be > pretty easy to add support for a new >

Re: [Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization

2024-06-19 Thread John Morris
://github.com/tormach/hw_device_mgr From: Nicklas SB Karlsson Sent: Sunday, June 16, 2024 1:35 PM To: emc-developers@lists.sourceforge.net Subject: Re: [Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization This driver looks

Re: [Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization

2024-06-16 Thread Nicklas SB Karlsson
> ... > I took a completely different route with mesa_modbus, having realised that > the configuration hardly ever changes, I went for an approach that parses > the data into a compiled module. > https://linuxcnc.org/docs/stable/html/drivers/mesa_modbus.html > This was at least partly because realt

Re: [Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization

2024-06-16 Thread Nicklas SB Karlsson
This driver looks promising and seems good. Could see it require module compiled into Linux kernel and vaguely remember I had some problem with it though might be a better choice is sucessful, my fast hack then there sometimes is a real time delay message. My fast hack do work including read map

Re: [Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization

2024-06-13 Thread Curtis Dutton
second on ethercat driver. the way it works is with a user component that slurps up an xml config and beams it to the realtime part. (I cant remember how it does that). I would guess that the way config is structured would be much the same. the ethercat driver could probably habdle CAN stuff witho

Re: [Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization

2024-06-13 Thread Rod Webster
I'm not sure if this would help but I would look at what Scott Laird has done with the Hal Ethercat driver recently https://github.com/linuxcnc-ethercat/linuxcnc-ethercat I would try and use a similar XML to what is used for Ethercat. eg Look at his CIA402 driver and its settings. And of course, yo

Re: [Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization

2024-06-13 Thread andy pugh
On Wed, 12 Jun 2024 at 21:41, Nicklas SB Karlsson wrote: > Any parser in Linuxcnc which may be reused to read this configuration file possible with other syntax? An option (possibly not a good option) might be to borrow the bits of the smart-serial driver that create HAL pins. (This code is alr

[Emc-developers] CANopen syntax for configuration file(s) for mapping and initialization

2024-06-12 Thread Nicklas SB Karlsson
Are currently trying to use CANopen with a device and have done some development. Have until now run hard coded mappings but now reached a point there configuration is needed. Implement graphical configuration and store configuration in binary format would of course be one option but have chosen