— 6-20 —
6.3.2.4. Program Sequence
Though a program is basically consists of parameter settings and positioning commands, the
following simple sequence controls can be added within a program.
◊ Command JP (Unconditional jump):
The program execution jumps to the top line of the specified channel
◊ Command TI (Dwell timer):
The program execution pauses for a time set by the timer, then moves to the next line.
◊ Parameter OE: (Sequence option edit):
This parameter controls program-execution sequence between channels. For example,
It makes possible to perform continuous program execution of channels with serial
channel numbers or execution of channel program of the next channel number with
each input of the RUN signal.
Unconditional jump and dwell timer
An example below describes how to make a program to repeat an incremental 90° motion in the
plus direction with a dwell time of one second.
Fig 6-9: Example of unconditional jump and dwell timer
:
CH0
0?
ID9000
1?
TI1000.0
2?
JP0
3?
:_
Dwell time :1 second
Jump to the top line of the channel 0.
Program body
* Processing pauses at this position until the positioning competes
RUN input
90° incremental motion to the plus direction
Specify the channel 0 by the input PRG (Internal program channel select), then input the input
RUN (Start program). This repeats an incremental 90° motion in the plus direction with a dwell
time of one second.
Fig 6-10: Signal timing of unconditional jump and dwell timer
Programmed operation
Max. 170 ms (Max. 3.2 s )
¹
1
ON
OFF
closed
open
SVON input
SVST output
Confirmed channel
Min. 1 ms Min. 1 ms
Max. 0.5 ms
Max. 0.5 ms
Channel select
(Inputs PRG0 to 7)
RUN Input
ON
OFF
closed
open
BUSY output
closed
open
IPOS output
(FW< 0: CFIN)
ID9000 TI1000 TI1000ID9000 ID9000
1 s 1 s
Closed: when the target position data is secured.
Open: when the target position data is lost.
¹
1) It takes 3.2 seconds to activate
the Motor servo for the first time
after turning on the main power.
Starts the motion after detection of the rising edge of signal.