296
RAMP
Program Example
(1) The following program deposits the item at section D2 on a 10-division rotary table at the station at section D1, and the
two sections ahead and behind this determine the rotation direction and control speed of the motor when the table is
being rotated at low speed.
[Ladder Mode]
[List Mode]
n1
: Initial value (BIN 16 bits)
n2
: Final value (BIN 16 bits)
:
+ 0: Present value (BIN 16 bits)
+ 1: Number of executions (BIN 16 bits)
n3
: Number of shifts (BIN 16 bits)
:
+ 0: Completion device (bits)
+ 1: Bit for selecting data retaining at completion (bit)
RAMP
Ramp signal
6.8.6
RAMP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
n1
––
n2
––
––
––
n3
––
––
––
––
Step
Instruction
Device
Stat
i
on
N
o
.
0
Stat
i
on
N
o
.
1
Detect
i
on
sw
i
tch
X000
X001
Part
F
orward
rotat
i
on
8
7
6
5
4
3
2
1
0
9
0
po
i
nt
detect
i
on
X002
Rotar
y
tab
l
e
Basic
Redundant
Process
High
performance
Universal
LCPU
Command
RAMP
n3
n2
n1
D1
D2
RAMP
D1
D1
D1
D2
D2
D2
D1
D2