5. HOW TO USE THE PROGRAM
5 - 24
(g) Step repeat instruction (FOR...NEXT)
POINT
You cannot insert "FOR...NEXT" commands between a "FOR" command and a
"NEXT" command.
The steps between the "FOR (Setting value)" and the "NEXT" commands are repeated for the set
number of times. Setting "0" repeats the operation endlessly.
For how to stop the program in this status, refer to section 5.2.4 (4).
Command Description
SPN (1000)
Servo motor speed
1000 [r/min]
STC (20)
Acceleration/deceleration time
constant
20 [ms]
MOV (1000)
Absolute value travel command
1000 [×10
STM
μ
m]
TIM (100)
Dwell
100 [ms]
FOR (3)
Start of step repeat instruction
3 [time]
a)
MOVI (100)
Incremental value travel command
100 [×10
STM
μ
m] b)
TIM (100)
Dwell
100 [ms]
NEXT
End of step repeat instruction
c)
FOR (2)
Start of step repeat instruction
2 [time]
d)
MOVI (200)
Incremental value travel command
200 [×10
STM
μ
m] e)
TIM (100)
Dwell
100 [ms]
NEXT
End of step repeat instruction
f)
STOP Program
stop
b) Incremental value
travel command
(100 × 10
STM
μ
m)
d) Incremental value
travel command
(200 × 10
STM
μ
m)
a) c)
e) f)
1000
1100
1200
1300
1500
1700
Servo motor speed
Forward rotation
0 r/min
Reverse rotation
www.kavrammuhendislik.com.tr
Summary of Contents for MELSERVO MR-J4-03A6-RJ
Page 27: ...1 FUNCTIONS AND CONFIGURATION 1 12 MEMO www kavrammuhendislik com tr ...
Page 127: ...3 DISPLAY AND OPERATION SECTIONS 3 54 MEMO www kavrammuhendislik com tr ...
Page 275: ...5 HOW TO USE THE PROGRAM 5 68 MEMO www kavrammuhendislik com tr ...
Page 305: ...6 HOW TO USE INDEXER 6 30 MEMO www kavrammuhendislik com tr ...
Page 405: ...7 PARAMETERS 7 100 MEMO www kavrammuhendislik com tr ...
Page 419: ...8 TROUBLESHOOTING 8 14 MEMO www kavrammuhendislik com tr ...
Page 423: ...9 OPTIONS AND PERIPHERAL EQUIPMENT 9 4 MEMO www kavrammuhendislik com tr ...
Page 607: ...MEMO www kavrammuhendislik com tr ...