G-code for Controlling the Rotating Speed of Stepper Motor
-
I am using Sandbox(cooltool CNC) for controlling the rotating speed of a stepper motor.
I have been using a motor with Y port and using the code below. But, the speed was so slow for my purpose(1rpm).-
I want to control the speed[maximum rpm(10rpm) of the motor, 50% speed of the rpm(10rpm) of the motor].
How can I edit my code to control it? What are the errors and unnecessary lines in my code? -
If I use a motor with Z port, how may I modify the code?
Code:
(2712);
G90 G94 G21;
(PROFILE);
M5;
S2250 M3;
G0 X0.0 Y0.0 Z0.0 A0.0;
G1 Y25.0 F1 A90000;
M5;
M30; -