- Posts: 4
- Thank you received: 0
Maintaining constant velocity while switching on an output
- Arthur1
- Offline
- New Member
-
Less
More
7 years 1 week ago #148467
by Arthur1
Replied by Arthur1 on topic Maintaining constant velocity while switching on an output
I increased the acceleration significantly and it seems to have helped but there is still a very clear slow down stutter between moves.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
7 years 1 week ago - 7 years 1 week ago #148469
by Todd Zuercher
Replied by Todd Zuercher on topic Maintaining constant velocity while switching on an output
Are you sure you tried it with M62 and M63?
It doesn't seem to slow in my simulation, (It does slow with M64/M65 and M8/M9)
It doesn't seem to slow in my simulation, (It does slow with M64/M65 and M8/M9)
Code:
%
G17 G20
G80 G94
G64
G90
G1 Z 0.1 F50
G91
G1 F300
G1 X 3
M62p0
G1 X 3
M63p0
G1 X 3
G1 X -3
M62p0
G1 X -3
M63p0
G1 X -3
%
Last edit: 7 years 1 week ago by Todd Zuercher.
Please Log in or Create an account to join the conversation.
- Arthur1
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
7 years 1 week ago #148470
by Arthur1
Replied by Arthur1 on topic Maintaining constant velocity while switching on an output
I had been using both M62/M63 and M64/M65 for testing it out. It looks like another reset of the system seems to have helped fix that last little bit of slowdown. Don't know how and it doesn't make me confident that it will stay that way but I'll take it for now. Thank you all for your help.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1480
7 years 1 week ago #148474
by Todd Zuercher
Replied by Todd Zuercher on topic Maintaining constant velocity while switching on an output
There is one little thing you must remember about M62/M63. They require that a move be commanded after they are issued for their changes to take effect.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
7 years 3 days ago #149037
by rodw
Replied by rodw on topic Maintaining constant velocity while switching on an output
Assuming you are moving along a single linear axis for painting, another approach would be to not use gcode to enable your spray.
Instead fire it using a hal component that monitored axis.L.pos−cmd and had an output pin that enabled the spray based on specific axis coordinates. Eg. turn on at 3" and off at 4". You could still do it for multi axis moves, but there would be a bit more maths involved. This would totally eliminate any possible issue with gcode affecting motion.
Instead fire it using a hal component that monitored axis.L.pos−cmd and had an output pin that enabled the spray based on specific axis coordinates. Eg. turn on at 3" and off at 4". You could still do it for multi axis moves, but there would be a bit more maths involved. This would totally eliminate any possible issue with gcode affecting motion.
Please Log in or Create an account to join the conversation.
Time to create page: 0.167 seconds