How can I send very long scripts for 3dprint? with more than 2000 points
Something that can be done could look like this:
you create a loop which run until you receive an end signal
if the end signal is false
first you wait that the position you receive is different from 0 and different from the previous
reset a signal that say the trajectory is done
you memorize this new point in a variable
you do a move trajectory to this new point
you send a signal that the trajectory is done
You could use others variables to decide which kind of move you want to do and for example get different speed.
This would give you a short program with everything done from the Ethernet. But it’s just an idea, I’ve never tested it.
Read more here: Source link