- Posts: 149
- Thank you received: 5
Save Variables
- HalaszAttila
- Topic Author
- Offline
- Premium Member
-
Can I use for saving some variables, and working hour?
Does anybody used these?
wiki.linuxcnc.org/cgi-bin/wiki.pl?Contri...ents#Parameter_Saver
or:
github.com/torvn77/LinuxCNC-Work-Counter
Unfortunately i never install a custom linuxcnc modules.
Is these a documentation step by step how to compile it in linuxcnc project?
Please Log in or Create an account to join the conversation.
I can think of different ways to do this for each situation.
Please Log in or Create an account to join the conversation.
- HalaszAttila
- Topic Author
- Offline
- Premium Member
-
- Posts: 149
- Thank you received: 5
Is there a documentation how to install custom C HAL module. For me, will be very useful the param saver module. What you think about? Can i use this for general purposes, i want just to save some parameters that changes over time.
Thanks Attila.
Please Log in or Create an account to join the conversation.
JT
Please Log in or Create an account to join the conversation.
I could imagine a custom M-code or G-code that incremented a counter. (and, potentially, saved the counter to disc)HalaszAttila wrote: The counter is in HAL code. A dont know how can i count the parts from G code.
See: linuxcnc.org/docs/html/hal/comp.htmlIs there a documentation how to install custom C HAL module.
You probably just need
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4737
- Thank you received: 1480
HalaszAttila wrote: The counter is in HAL code. A dont know how can i count the parts from G code.
Is there a documentation how to install custom C HAL module. For me, will be very useful the param saver module. What you think about? Can i use this for general purposes, i want just to save some parameters that changes over time.
Thanks Attila.
Counting something in G-code is extremely easy. I would consider it basic parametric programming 101. Simply assign a variable as your count (or create a named parameter) and add 1 to it after the completion of each part.
Please Log in or Create an account to join the conversation.