13. POSITIONING MODE
2) Program example 2
If the travel distance of the "ITP" command is less than the travel distance necessary for deceleration,
the actual deceleration time constant becomes less than the set value of the "STB" command.
Program
SPN(500)
STA(200)
STB(300)
MOV(1000)
SYNC(1)
ITP(50)
STOP
Forward
rotation
Servo motor
speed
Program input 1
(PI1)
(f) External pulse counter (COUNT)
When the number of input pulses of the manual pulse generator becomes greater than the value set
with the "COUNT" command, the next step is started. Set "0" to erase the accumulated input pulses.
Program
COUNT(500)
The next step is held until the number of input pulses of the manual pulse generator reaches 500 [pulses]. a)
SPN(500)
Speed (Motor speed)
STA(200)
Acceleration time constant
STB(300)
Deceleration time constant
MOV(1000)
Absolute move command
TRIP(500)
Trip point
COUNT(0)
Cumulative input pulses are cleared.
STOP
Program end
Manual pulse generator
Cumulative input pulses
Speed (Motor speed)
Acceleration time constant
Deceleration time constant
Absolute move command
Step is suspended until program input (PI1) turns ON.
Interrupt positioning command
Program end
0r/min
ON
OFF
0r/min
ON
OFF
a) 500[pulse]
Description
500[r/min]
200[ms]
300[ms]
1000[×10
STM
μm]
50[×10
STM
μm]
P1
P1 + b) (50 10
m)
STM
Waiting for PI1 to be turned
ON by SYNC (1) (a)).
Description
500[r/min]
200[ms]
300[ms]
1000[×10
STM
μm]
500[×10
STM
μm]
b) 500[ 10
m]
STM
c) Accumulated input pulses are erased.
13 - 41
a)
b)
b)
c)