5. HOW TO USE THE PROGRAM
5 - 7
5.2.2 Program language
The maximum number of steps of a program is 640. Up to 256 programs can be created; however, the total
number of the steps of all programs must be 640 or less.
A set program is selectable by using DI0 (Program No. selection 1) to DI7 (Program No. selection 8).
(1) Command list
Command Name
Setting Setting
range Unit
Indirect
specif-
ication
(Note 7)
Description
SPN
(Note 2)
Servo motor
speed
SPN
(Setting value)
0 to permissible
instantaneous
speed
r/min
or
mm/s
(Note 9)
Set the servo motor speed for positioning using this
command.
The setting value must be the permissible instantaneous
speed or less of the servo motor used.
If the setting value is unspecified, the servo motor rotates
at 50 r/min.
STA
(Note 2)
Acceleration time
constant
STA
(Setting value)
0 to 20000 ms
Set the acceleration time constant. The setting value is
the time from when the used servo motor stops until when
its speed reaches the rated speed.
The value cannot be changed during a command output.
If the setting value is unspecified, 1000 ms is applied.
STB
(Note 2)
Deceleration time
constant
STB
(Setting value)
0 to 20000
ms
Set the deceleration time constant. The setting value is
the time from when the used servo motor rotates at the
rated speed until when the motor stops.
The value cannot be changed during a command output.
If the setting value is unspecified, 1000 ms is applied.
STC
(Note 2)
Acceleration/
deceleration time
constant
STC
(Setting value)
0 to 20000
ms
Set the acceleration/deceleration time constants.
The setting value is a time period that the servo motor
reaches the rated speed from a stop, and stops from the
rated speed.
When this command is used, the acceleration time
constant and the deceleration time constant become the
same.
To set the acceleration/deceleration time constants
individually, use the "STA" and "STB" commands.
The value cannot be changed during a command output.
If the setting value is unspecified, 1000 ms is applied.
STD
(Note 2,
5)
S-pattern
acceleration/
deceleration time
constant
STD
(Setting value)
0 to 1000
ms
Set the S-pattern acceleration/deceleration time
constants.
Set this command to insert S-pattern
acceleration/deceleration time constants against the
acceleration/deceleration time constants of the program.
MOV
Absolute value
travel command
MOV
(Setting value)
-999999
to 999999
(Note 6)
×10
STM
μ
m
(Note 6)
The servo motor rotates using the set value as the
absolute value.
MOVA
Absolute value
continuous travel
command
MOV
(Setting value)
-999999
to 999999
(Note 6)
×10
STM
μ
m
(Note 6)
The servo motor rotates continuously using the set value
as the absolute value. Make sure to describe this
command after the "MOV" command.
MOVI
Incremental value
travel command
MOVI
(Setting value)
-999999
to 999999
(Note 6)
×10
STM
μ
m
(Note 6)
The servo motor rotates using the set value as the
incremental value.
When a negative value is set, the servo motor rotates in
the reverse rotation direction.
For the reverse rotation, the servo motor rotates in the
address decreasing direction.
MOVIA
Incremental value
continuous travel
command
MOVIA
(Setting value)
-999999
to 999999
(Note 6)
×10
STM
μ
m
(Note 6)
The servo motor rotates continuously using the set value
as the incremental value. Make sure to describe this
command after the "MOVI" command.
SYNC
(Note 1)
External signal on
wait
SYNC
(Setting value)
1 to 3
The following steps stop after SOUT (SYNC synchronous
output) is output until PI1 (Program input 1) to PI3
(Program input 3) are switched on.
Setting value
Input signal
1
PI1 (Program input 1)
2
PI2 (Program input 2)
3
PI3 (Program input 3)
www.kavrammuhendislik.com.tr
Содержание MELSERVO MR-J4-03A6-RJ
Страница 27: ...1 FUNCTIONS AND CONFIGURATION 1 12 MEMO www kavrammuhendislik com tr ...
Страница 127: ...3 DISPLAY AND OPERATION SECTIONS 3 54 MEMO www kavrammuhendislik com tr ...
Страница 275: ...5 HOW TO USE THE PROGRAM 5 68 MEMO www kavrammuhendislik com tr ...
Страница 305: ...6 HOW TO USE INDEXER 6 30 MEMO www kavrammuhendislik com tr ...
Страница 405: ...7 PARAMETERS 7 100 MEMO www kavrammuhendislik com tr ...
Страница 419: ...8 TROUBLESHOOTING 8 14 MEMO www kavrammuhendislik com tr ...
Страница 423: ...9 OPTIONS AND PERIPHERAL EQUIPMENT 9 4 MEMO www kavrammuhendislik com tr ...
Страница 607: ...MEMO www kavrammuhendislik com tr ...