11 11 11 11 11
Sample programs
11.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 1,000,
then
Unit value = 360 degrees/Number of pulses per revolution = 0.36
[1] PULSE1 2
[2] UNIT 0.36,1
[3] T1 50
[4] VS1 500
[5] V1 1200
[6] H1 +
[7] MHOME1
[8] LOOP 5
[9] D1 9
[10] INC1
[11] DELAY 1
[12] ENDL
[13] D1 90
[14] INC1
[15] LOOP 5
[16] D1 18
[17] DELAY 1
[18] INC1
[19] ENDL
11-6
Sets the pulse output mode to two-pulse mode
Sets the unit of movement amount to degrees
Sets the acceleration/deceleration rate to 50ms/kHz
Sets the starting speed to 500Hz
Sets the operating speed to 1,200Hz
Sets the rotational direction to CW
Executes mechanical home seeking
Repeats steps 8 through 12 five times
Sets the amount of movement to 9-degree rotation
Executes incremental positioning operation
Sets the delay to 1 second
End of loop
Sets the amount of movement to 90-degree rotation
Executes incremental positioning operation
Repeats steps 15 through 19 five times
Sets the amount of movement to 18-degree rotation
Sets the delay to 1 second
Executes incremental positioning operation
End of loop