Ramp Signal (Ramp) - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS

6.8.6 Ramp signal (RAMP)

Internal Devices
Set
(System, User)
Data
Bit
Word
n1
n2
D1
n3
D2
[Instruction Symbol] [Execution Condition]
RAMP
[Set Data]
Set Data
n1
n2
D1
n3
D2
[Functions]
(1) Stores in
linearly by the number of shifts specified in n3.
The value to be stored in
{(Value specified in n2) - (Value specified in n1)}
0 is varied to 350 in six scans as shown below.
Value (0)
specified in n1
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.
6 - 124
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
Command
RAMP
• Initial value
• Final value
+0: Present value
D1
+1: Number of times executed (for system use)
D1
• Number of times moved
+0: Completion device
D2
+1: Selected bit where data is to be saved at completion.
D2
+1 the value which varies the value specified in n1 to the value specified in n2
D1
+1 is calculated every scan with the following expression.
D1
(Number of shifts)
One variation
Value stored in
+0
D1
150
100
50
Number of shifts (7)
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
n1
n2
D1
Meaning
(Number of executions)
350
300
250
200
Value (350)
specified in n2
MELSEC-Q/QnA
QnA
Process CPU
Index
Constant
Register
Other
K, H
Zn
n3
D2
Data Type
BIN 16 bits
Bit
6 - 124
Q4AR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents