-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confused about A0 Axis Behavior in MFP #1
Comments
Hi, I'm glad to hear you're getting use out of it!
Main thing here to note is that when the module is turned on, it sets the initial internal TCode value for A0 to 5000.
Here, whenever the TCode serial input changes, the firmware will map the TCode value (0-9999) to three distinct states (-1: air out, 0: closed, 1: air in).
Some thoughts:
|
Yeah I think I will do some testing. I can setup some shortcut keys to move the axis at 10% increments and document at which points the valves click open and closed, then narrow it down farther from there to 5% increments etc. Might be a bit before I get a chance to test again tho. |
some quick testing today: I will adjust my funscript to home at 50% then every 5min or so adjust to 40% for a few seconds before ramping back up to 55% and settling back at 50% and report back after my next session! |
Can give this code change a try in branch fix-A0-ranges. PR #2 |
cloned and built. Will have some time to test tomorrow :) |
Sorry this took so long, life and all... So tried out this branch with my funscript, and happy to report that it works very well! Should I have been testing using 0%-100% though? |
Glad that PR helped.
Yes, I would. Mapping the MFP percentages to the TCode values would be:
Worried that if you use 60% it may not be doing "air in" (if that was the expectation). I'd use values: 0% for air out, 100% for air in, and 50% for valve off |
Awesome firmware firstly, I've been getting a lot of enjoyment out of it!
What I'm trying to do is hotkey the air valves by creating shortcuts. The MFP program by default maps this to a %. If I set one key to put it at 0%, another 50% and a third at 100%, I would think 0 would open air out fully, 50 would close the valves, and 100 would open air in fully, but it doesn't seem to be working that way.
-For one, the axis doesn't immediately go to the target value, it motion smooths it so i have to set the action to last 4+ seconds.
-When i press the key to go to 0%, after a brief delay i can hear the valve click open and can hear escaping because i can hear the whine it does normally
-When the action times out and returns to home position (50%), or i press the key to manual set to 50%, i still hear the valve whining like it's not fully closed.
So % values seem to work fine for L0, but i'm struggling to figure out what to set A0 to in order for it to work properly.
Thanks for your time.
The text was updated successfully, but these errors were encountered: