Simulating a hm2_eth driver (e.g. mesacard 7i76e)
- pkludwig
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 1
24 Jul 2025 15:52 #332267
by pkludwig
Simulating a hm2_eth driver (e.g. mesacard 7i76e) was created by pkludwig
Hi everybody,
i found some threats (e.g. Simulate a mesa 7i96 (solved)) where a component was written for mocking a 7i96e mesacard. Nevertheless i didn't found this component code published and as i'm using myself a 7i76e card i wrote a component on my own for mocking/simulating this driver.
My idea was to use the same .ini and .hal-files (and .tcl-files with some if statements -)) as on my real milling machine to keep the adaptions between simulation and real machine as low as possible.
In case it is interesting/helpful, i put the component-code on github.com/pkl42/linuxcnc_components_sim.git
Also not all available pins are included right now, i added a detailed list on the git repository.
I tried to write the component in a generic way, so it should be quite easy to add missing pins or even adapting a 7i95 or 7i96 card.
i found some threats (e.g. Simulate a mesa 7i96 (solved)) where a component was written for mocking a 7i96e mesacard. Nevertheless i didn't found this component code published and as i'm using myself a 7i76e card i wrote a component on my own for mocking/simulating this driver.
My idea was to use the same .ini and .hal-files (and .tcl-files with some if statements -)) as on my real milling machine to keep the adaptions between simulation and real machine as low as possible.
In case it is interesting/helpful, i put the component-code on github.com/pkl42/linuxcnc_components_sim.git
Also not all available pins are included right now, i added a detailed list on the git repository.
I tried to write the component in a generic way, so it should be quite easy to add missing pins or even adapting a 7i95 or 7i96 card.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- andypugh
-
- Away
- Moderator
-
Less
More
- Posts: 23393
- Thank you received: 4970
25 Jul 2025 08:57 #332297
by andypugh
Replied by andypugh on topic Simulating a hm2_eth driver (e.g. mesacard 7i76e)
You could consider adding this to the Wiki too.
wiki.linuxcnc.org/cgi-bin/wiki.pl?ContributedComponents
Here is how to edit a wiki page:
wiki.linuxcnc.org/cgi-bin/wiki.pl?BasicSteps
FWIW the penguin is called "Chips" (though I don't recall if he capitalises his name)
wiki.linuxcnc.org/cgi-bin/wiki.pl?ContributedComponents
Here is how to edit a wiki page:
wiki.linuxcnc.org/cgi-bin/wiki.pl?BasicSteps
FWIW the penguin is called "Chips" (though I don't recall if he capitalises his name)
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.057 seconds