12 Sample programs
-
111
-
12.4.2.
When movement amount is set in degrees
Motor to be used:
AS46AA
Since one revolution of a motor is 360 degrees, if the number of pulses per motor revolution is 1000,
then
Unit value = 360 degrees/Number of pulses per revolution = 0.36
[1] PULSE1 2
Sets the pulse output mode to 2-pulse mode
[2] UNIT 0.36, 1
Sets the unit of movement amount to degrees
[3] T1 50
Sets the acceleration/deceleration rate to 50 ms/kHz
[4] VS1 500
Sets the starting speed to 500 Hz
[5] V1 1200
Sets the operating speed to 1200 Hz
[6] H1 +
Sets the rotational direction to CW
[7] MHOME1
Executes mechanical home seeking
[8] LOOP 5
Repeats steps 8 through 12 five times
[9] D1 9
Sets the amount of movement to 9-degree rotation
[10] INC1
Executes incremental positioning operation
[11] DELAY 1
Sets the delay to 1 second
[12] ENDL
End of loop
[13] D1 90
Sets the amount of movement to 90-degree rotation
[14] INC1
Executes incremental positioning operation
[15] LOOP 5
Repeats steps 15 through 19 five times
[16] D1 18
Sets the amount of movement to 18-degree rotation
[17] DELAY 1
Sets the delay to 1 second
[18] INC1
Executes incremental positioning operation
[19] ENDL
End of loop
Содержание EMP400 Series
Страница 115: ......