M67 Problem
Hello all. Need help with M67 command.
Anybody try to use this command? When I use it nothing happens in motion.analog-out-**.
For example:
%
M67 E0 Q1
G01 X10 F500
M67 E0 Q2
G01 X20 F500
M67 E0 Q5
G01 X30 F500
%
But motion.analog-out-00 = 0 all time. What's wrong?
In forums I read that M67 need patch, but all licks is bad. May be someone have this patch? =(
Need help.
Please Log in or Create an account to join the conversation.
Not that that is much help, but it isn't anything you are doing wrong.
Would M68 work for your purposes?
Please Log in or Create an account to join the conversation.
May be something ideas?
I try to use free axis as analog signal (for example B axis). I changes value in digital output with commands M62\M63. In moments, when value changes I takes coordinate of axis B.
This is work. Motors moves without stops, but speed is less that I wrote in G code.
Please Log in or Create an account to join the conversation.
you might try setting the maximums for these up really high
since they don't control a mechanical axis.
Please Log in or Create an account to join the conversation.
I also try to use M43.1 command. Its immediately sets the tool offset, which can be read from HAL. But it stops motion too =(
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
---
I want to change laser power during his movement. Value of power need take from G code file. Any ideas?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Parameters? What do you mean? I changed max velocity and max acceleration in [axis 4].
---
I want to change laser power during his movement. Value of power need take from G code file. Any ideas?
Can you show us the HAL file?
We have been here before, trying to help someone modulate laser power, so at least we won't be repeating the same errors.
M67 ought to be the correct solution. I am hoping that now we know it doesn't work, someone will make it work.
In the meantime, a spare axis is the way to go, I think. Just link the axis position cmd to a pwmgen in HAL, and it should all happen in real time.
You might want to consider moving the axis through very small distances, and then having a pwmgen with a large scale factor to compensate. However, setting the velocity limits of that axis to be very high should help. You might still be limited by the global max accel and max velocity limits (in the [TRAJ] section), hence my suggestion to make the moves very small in G-code and compensate elsewhere. 0 to 1 might be a good starting point that still makes sense.
Please Log in or Create an account to join the conversation.