Doubts with Vismach

More
2 years 9 months ago #289889 by rbobey1989
Hello everyone, I have been reading a little about Vismach and without a doubt it has a lot of potential, but as a good student I have some doubts, I have seen how to declare hal pins in the python file that describes the model of the machine and of course being able to read them from el hal, so far so good.
I would like to provide the model with limit switches and home switches and be able to use that behavior in the hal, I imagine I have to make some loop where I poll the current position of the axes at a fixed time interval using a timer or something similar, these are just ideas in case someone can shed some light on the subject, thanks in advance.

Please Log in to join the conversation.

More
2 years 9 months ago #289948 by Aciera
Replied by Aciera on topic Doubts with Vismach
I'm not sure the vismach simulation is the place for it. Would it not be better to do this in a python component of it's own? This would run periodically.

Please Log in to join the conversation.

More
2 years 9 months ago #289976 by rbobey1989
Replied by rbobey1989 on topic Doubts with Vismach
Hello Aciera, I have followed your approach and to my surprise linuxcnc brings a simulation module for sim home switches, that is, everything has been as easy as loadrt sim_home_switch, configuring parameters and connecting signals, thanks anyway, greetings

Please Log in to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum