Doubts with Vismach
- rbobey1989
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 105
- Thank you received: 27
05 Jan 2024 19:05 - 05 Jan 2024 19:06 #289889
by rbobey1989
Doubts with Vismach was created 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.
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.
Last edit: 05 Jan 2024 19:06 by rbobey1989. Reason: bad write name of topic
Please Log in or Create an account to join the conversation.
- Aciera
- Away
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
06 Jan 2024 10:36 #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 or Create an account to join the conversation.
- rbobey1989
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 105
- Thank you received: 27
06 Jan 2024 15:53 - 06 Jan 2024 15:53 #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
Last edit: 06 Jan 2024 15:53 by rbobey1989.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds