5. HOW TO USE THE PROGRAM
5 - 8
Command Name
Setting Setting
range Unit
Indirect
specif-
ication
(Note 7)
Description
OUTON
(Note 1, 3)
External signal on
output
OUTON
(Setting value)
1 to 3
Switch on OUT1 (Program output 1) to OUT3 (Program
output 3).
By setting the on time by using [Pr. PT23] to [Pr. PT25],
you can switch off the input signals after the set time
elapses.
Setting value
Input signal
1
OUT1 (Program output 1)
2
OUT2 (Program output 2)
3
OUT3 (Program output 3)
OUTOF
(Note 1)
External signal off
output
OUTOF
(Setting value)
1 to 3
Switch off OUT1 (Program output 1) to OUT3 (Program
output 3), which have been on by the "OUTON"
command.
Setting value
Input signal
1
OUT1 (Program output 1)
2
OUT2 (Program output 2)
3
OUT3 (Program output 3)
TRIP
(Note 1)
Absolute value
trip point
specification
TRIP
(Setting value)
-999999
to 999999
(Note 6)
×10
STM
μ
m
(Note 6)
When the servo motor rotates for the travel distance set
by the "TRIP" command after the "MOV" or "MOVA"
command is initiated, the next step is executed. Make
sure to describe this command after the "MOV" or
"MOVA" command.
TRIPI
(Note 1)
Incremental value
trip point
specification
TRIPI
(Setting value)
-999999
to 999999
(Note 6)
×10
STM
μ
m
(Note 6)
When the servo motor rotates for the travel distance set
by the "TRIPI" command after the "MOVI" or "MOVIA"
command is initiated, the next step is executed. Make
sure to describe this command after the "MOVI" or
"MOVIA" command.
ITP
(Note 1, 4)
Interrupt
positioning
ITP
(Setting value)
0 to 999999
(Note 6)
×10
STM
μ
m
(Note 6)
An interrupt signal stops the servo motor when the motor
rotates the set travel distance. Make sure to describe this
command after the "SYNC" command.
COUNT
(Note 1)
External pulse
count
COUNT (Setting
value)
-999999
to 999999
pulse
When the pulse counter value becomes larger than the
count value set for the "COUNT" command, the next step
is executed. "COUNT (0)" clears the pulse counter to 0.
FOR
NEXT
Step repeat
instruction
FOR
(Setting value)
NEXT
0, 1 to 10000
times
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.
Do not describe a "FOR" instruction between the "FOR"
and "NEXT" commands. Otherwise, an error occurs.
LPOS
(Note 1)
Current position
latch
LPOS
Latch the current position at the rising edge of LPS
(Current position latch).
The latched current position data can be read with
communication commands.
When the servo motor starts rotating, the latched position
varies according to the motor speed and the sampling of
input signals.
TIM Dwell
TIM
(Setting value)
1 to 20000
ms
Wait for the next step until the set time elapses.
ZRT
Home position
return
ZRT
Perform a home position return.
TIMES
Number of
program
executions
command
TIMES
(Setting value)
0, 1 to 10000
times
Position a "TIMES (Setting value)" command at the start
of the program, and set the number of program
executions. To execute the program only one time, no
setting is required. Setting "0" repeats the operation
endlessly.
STOP Program
stop STOP
Stop the running program.
Make sure to describe this command in the final row.
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 ...