History of Simulating A Hm2 Eth Driver|
In some situations, it’s useful to simulate hardware rather than testing directly on a real machine. This repository provides components and configuration examples to create a realistic simulation environment in LinuxCNC, |
|
In some situations, it’s useful to simulate hardware rather than testing directly on a real machine. Especially when programming new routines where hardware could be damaged when something fails. This github-repository (link on buttom of page) provides components and configuration examples to create a realistic simulation environment in LinuxCNC, |
|
The goal is to reuse your actual machine configuration and detect hardware availability at runtime. If hardware is not detected (not able to ping the ip-address of the mesa-card), the system loads the simulation component. |
|
The goal is to reuse your actual machine configuration and detect hardware availability on startup. During startup the ip-address of the mesa-card is pinged, and in case of no replay the simulation component is loaded. |
|
Stubbed Pins / Parameters: These connectors exists for wiring but no additional logic. |
|
Stubbed Pins / Parameters: These connectors exists for wiring but no additional logic included in component. |
|
Use the same .ini and .hal files for both real and simulated machines. At startup, a Tcl script checks whether the hardware is reachable (via ping). If not reachable, the mocked version (component) of the hardware is loaded. Additional simulation components can then be included based on this logic. |
|
Use the same .ini and .hal files for both real and simulated machines. At startup, a Tcl script checks whether the hardware is reachable (via ping). If not reachable, the mocked version (component) of the hardware is loaded. Additional simulation components can then be included based on this logic. |