12 Sample programs
-
112
-
12.4.3.
When movement amount is set in mm
Motorized linear slides to be used:
SPF60B10-1SD
If the movement amount per motor revolution is 10 mm and the number of pulses per motor revolution is
1000, then
Unit value = 10 mm/Number of pulses per revolution = 0.01
The rotational directions of the motor and the axis are the same.
[1] PULSE1 2
Sets the pulse output mode to 2-pulse mode
[2] UNIT 0.01, 1
Sets the unit of movement amount to mm
[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 5
Sets the amount of movement to 5 mm
[10] INC1
Executes incremental positioning operation
[11] DELAY 1
Sets the delay to 1 second
[12] ENDL
End of loop
[13] D1 15
Sets the amount of movement to 15 mm
[14] INC1
Executes incremental positioning operation
[15] LOOP 5
Repeats steps 15 through 19 five times
[16] D1 2
Sets the amount of movement to 2 mm
[17] DELAY 1
Sets the delay to 1 second
[18] INC1
Executes incremental positioning operation
[19] ENDL
End of loop
Содержание EMP400 Series
Страница 115: ......