- Posts: 2
- Thank you received: 0
Simulating a hm2_eth driver (e.g. mesacard 7i76e)
1 year 3 months ago #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.
Please Log in to join the conversation.
1 year 3 months ago #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 to join the conversation.
1 year 2 months ago #332713
by pkludwig
Replied by pkludwig on topic Simulating a hm2_eth driver (e.g. mesacard 7i76e)
thanks for the hint with the wiki! -). I just added this under "Misc stuff".
Please Log in to join the conversation.
Time to create page: 0.083 seconds
