I've been looking up G-code info on the web and slowely getting some ideas on how to run my machine with G code. Anyhow I only run the X and Z axis and only one motor turns at a time. Right now I run my system with its own on board servo command mode but it has limits that I need to find a way to avoid.
For what I do the torque setting will always be the same. Velocity and the # of steps is about all that changes.
My motion profile looks some thing like this:
X steps 1000 CW Vel 100
Z steps 30000 CCW Vel 500
Z steps 30000 CW Vel 50
Time delay 2 min.. no motion
X steps 1000 CW Vel 100
Z steps 10000 CCW Vel 500
Z steps 10000 CCW Vel 100
Z steps 10000 CCW Vel 500
Time delay 30 sec.. no motion
Z steps 30000 CW Vel 50
Time delay 2 min.. no motion
X steps 1000 CCW Vel 100
This is the basic motions that I run. Each motion has a fixed acceleration profile to it as well.. In other words if I want to change velocity going from point A to point B my current system veiws this as another motion profile. As in accelerat to speed, decelerat,stop ( milliseconds ) accelerat to new speed
... so on and so on. This is a pitfal I would like to get away from and hope that G-code makes this possable.
Any input would be great!
Bill