LinuxCNC Cheating

More
23 Jan 2020 22:46 #155587 by cmorley
Replied by cmorley on topic LinuxCNC Cheating
This is of course possible - that is how stepconf does it - I created a fake parport component that has dummy pins. but in the parallel case there is only 3 pin combination. In mesa's case thee could be thousands. it's just impractical.

Chris

Please Log in or Create an account to join the conversation.

More
23 Jan 2020 23:19 #155594 by rodw
Replied by rodw on topic LinuxCNC Cheating

I was always wondering the same question, to busy to try. ..
1. Step use list all mesa signals into one file.
2. Copy into comp and add in/ouput plus var-type
3. Compile
4. Give it the name of the meda card
5. Load instead of real hw this comp file

Unsecure if this is impossible cause of _ sign in naming convention
Mike


I want one too. Let me know when its done :)

Please Log in or Create an account to join the conversation.

More
24 Jan 2020 01:52 #155616 by mooser
Replied by mooser on topic LinuxCNC Cheating
It's actually kind of amazing (and depressing) how I've read your steps 1 through 5 several times now and realize I don't have the slightest idea what any of them mean, forget about how to actually do them :)
I think I'll stick to the pre-packaged sims.

Especially since I somehow made the top panel disappear while attempting to get it to recognize a contour shuttle.
The learning curve seems pretty steep right about now
M

Please Log in or Create an account to join the conversation.

More
27 Jan 2020 13:46 #155906 by andypugh
Replied by andypugh on topic LinuxCNC Cheating

I was always wondering the same question, to busy to try. ..
1. Step use list all mesa signals into one file.
2. Copy into comp and add in/ouput plus var-type
3. Compile
4. Give it the name of the meda card
5. Load instead of real hw this comp file


Actually, it would be fairly easy to make a python userspace component that parsed the result of a "halcmd show all" and created dummy HAL pins with all the same names.

But, even then, the config would be unlikely to work, it would get stuck at the homing sequence.

So it's better to start with an existing simulator config. You could then load this putative pin-spoofer and add your new stuff. But you wouldn't be able to test it.

Please Log in or Create an account to join the conversation.

More
27 Jan 2020 15:25 #155914 by bbsr_5a
Replied by bbsr_5a on topic LinuxCNC Cheating
there are alover the SYSTEM SIM Machines
and even the Installer does use a SIM
so why you want your own
use the VISMACH inside AXIS to get a Machine VIEW and be Impressed

Please Log in or Create an account to join the conversation.

More
27 Jan 2020 15:45 #155921 by Mike_Eitel
Replied by Mike_Eitel on topic LinuxCNC Cheating
I was aware Andy.
This is more fun when you are on the road and want to start an more or less unmodified config from your existing machine. And honestly, a small program to trick homing is not to difficult.
If I would really try to get a simulation of my machine Icd try to get the Hal pins into either openplc or preferred codesys.
But having a duplicate he on your desk is much easier... So will probably never write that component.
Mike

Please Log in or Create an account to join the conversation.

Time to create page: 0.094 seconds
Powered by Kunena Forum