6-158
RAMP
(2) If the scan is performed for the number of moves specified by n3, the complete device
specified by +0 is turned ON.
The ON/OFF status of the completion device and the contents of +0 are determined by
the ON/OFF status of the device designated by +1.
• When +1 is OFF, +0 will go OFF at the next scan, and the RAMP instruction will begin a
new move operation from the value currently at +0.
• When +1 is ON, +0 will remain ON, and the contents of +0 will not change.
(3) When the command is turned OFF during the execution of this instruction, the contents of
+0 will not change following this.
When the command goes ON again, the RAMP instruction will begin a new move from the
present value at +0.
(4) Do not change the specified values in n1 and n2 before the completion device specified in
+0 turns ON.
Since the same expression is used every scan to calculate the value stored in +1,
changing n1/n2 may cause a sudden variation.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• The device specified by or exceeds the range of the corresponding device.
(For the Universal model QCPU only.) (Error code: 4101)
Caution
(1) When the digit specification of bit device is made to , the digit specification of bit device
can only be used when the following condition is met.
• Specification of digits: K8
D2
D1
D2
D2
D2
D2 D2 D1
D1
D2
D1
D1 D2
D1