Operácie

Microcon M1486

Zo stránky SensorWiki

Verzia z 20:53, 21. október 2008, ktorú vytvoril Balogh (diskusia | príspevky)

Inštrukčná sada (výber)

FORWARD

SYNTAX: F (Num) RANGE: 1 to 16 000 000

Move relative, specifies distance relative to current position in positive direction. The unit is minimum microstep = full step/64. The default setting is 64 000 minimum microsteps = 1 000 full steps = 5 revolutions for 1.8° stepper motor.

EXAMPLE:

F640    ;move 10 full steps in positive direction
R       ;Run, move execution command - make a move


START/STOP

SYNTAX: S (Num) RANGE: 16 to 1 950 full steps/sec

Sets start/stop (base) velocity. The default setting is 200 full steps/sec.

EXAMPLE:

S150     

The base speed at which acceleration begin is 150 full steps/sec.



 VELOCITY

SYNTAX: V (Num) RANGE: 16 to 20 000 full steps/sec standard (S&D mode)

Sets maximum velocity to be used in profile. The default setting is 1 000 full steps/sec. Maximum velocity specified by the "Velocity" command should be greater than start/stop velocity specified by the "Start/Stop" command.

EXAMPLE:

V12500

Specifies maximum velocity to 12 500 full steps/sec, acceleration can continue at the most to the velocity of 12 500 full steps/sec.


 ACCELERATION

SYNTAX: A (Num) RANGE: 1 to 65 000 full steps/sec2

The "Acceleration" command sets acceleration/deceleration in the range of 1 to 65 000 full steps/sec2 at trapezoidal velocity profile. The default setting is 64 full steps/sec2. The actual acceleration range is determined by the "Start/stop" command according to the following table:

EXAMPLE:

A2000

Acceleration is 2 000 full steps/sec2, 200 steps per revolution motor will increase its speed with the addition of 10 revolutions/sec every second at linear acceleration.


 RUN

SYNTAX: R

This is the move execution command. The "Run" command starts execution of motion. There are two ways to override current settings and stop motion with deceleration, the first one is sending the "Kill" command from the host computer, the second one is tying the LIMIT input low. Motion parameters - speed, travel distance can be specified anywhere in command file. Lastly executed motion specification command specify respective motion parameter.