Mitsubishi MELSEC Q Series Programming Manual page 363

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.8.6
Ramp signal (RAMP)
RAMP
RAMP
Setting
Data
n1
n2
D1
n3
D2
Function
(1) When the execution command is ON, the following processing is executed.
• Shifts from the value specified by n1 to the value specified by n2 in the number of times
specified by n3.
• For n3, designate the number of scans (number of shifts) required for shift from n1 to n2.
No operation if other than 0<n3<32768.
• The system uses
• The value of one variation (one scan) is obtained by the expression below:
Example
Value specified by n1 (0)
When the calculated one variation is indivisible, compensation is made to achieve the value
specified in n2 by the number of shifts specified in n3.
Hence, a linear ramp may not be made.
Command
RAMP
n1 : Initial value (BIN 16 bits)
n2 : Final value (BIN 16 bits)
:
+ 0
: Present value (BIN 16 bits)
D1
D1
+ 1
: Number of executions (BIN 16 bits)
D1
n3 : Number of shifts (BIN 16 bits)
:
+ 0 : Completion device (bits)
D2
D2
+ 1 : Bit for selecting data retaining at completion (bit)
D2
Internal Devices
R, ZR
Bit
Word
+1 to store the number of times the instruction has been executed.
D1
Value of one variation (one scan)
0 is varied to 350 in seven scans as shown below.
Value stored in
+ 0 (Present value)
D1
100
50
(0)
Number of shifts (7) specified by n3
High
Basic
performance
n1
n2
D1
J
\
U
\G
Bit
Word
––
(Value specified by n2) (Value specified by n1)
(Value specified by n3)
300
250
200
150
RAMP
Process
Redundant
Universal
LCPU
n3
D2
Constants
Zn
Other
K, H
––
––
––
––
––
––
––
Value specified by n2 (350)
Value stored in
+ 1
D1
(Number of execution times)
6-161
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents