Fnc 67 - Ramp / Ramp Variable Value - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
14.8
FNC 67 – RAMP / Ramp Variable Value
Outline
This instruction obtains the data which changes between the start value (initial value) and the end value (target value)
over the specified "n" times.
1. Instruction format
FNC 67
RAMP
2. Set data
Operand type
S
S
1
1
S
2
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
S
1
1
S
2
S
D
2
n
Explanation of function and operation
1. 16-bit operation (RAMP)
When the start value
value obtained by adding a value divided equally by "n" times to
By combining this instruction and an analog output, the cushion start/stop command can be output.
Command
input
FNC 67
RAMP
1) In the case of "
S
1
"n" scans
• The number of scans ("0" to "n") is stored in
• The time from start to the end value is the operation cycle multiplied by "n" times.
• If the command input is set to OFF in the middle of operation, execution is paused. (The present data value stored
in
D
D
is held, and the number of scans stored in
1
D
D
again,
is cleared, and the operation is started from
1
Mnemonic
16-bit Instruction
9 steps RAMP
Device number storing the initial value of ramp
Device number storing the target value of ramp
Device number storing the current value of ramp
Ramp transfer time (scan) [1 to 32, 767]
Digit Specification
S
D
and the end value
1
1
S
S
1
2
S
S
2) In the case of "
1
<
2
"
S
1
S
2
D
D
Number of scans
+1
14 Handy Instruction – FNC 60 to FNC 69
14.8 FNC 67 – RAMP / Ramp Variable Value
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
V
D
S
have been specified and the command input is set to ON, the
2
1
D
S
in every operation cycle is stored to
1
1
D
n
S
S
>
1
2
D
S
2
"n" scans
Number of scans
D
D
+1.
1
D
D
+1 is cleared.) When the command input is set to ON
1
D
S
.
1
1
Mnemonic
Operation Condition
Data type
16-bit binary
16-bit binary
16-bit binary
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K
H
E
" "
"
D
+1
11
12
13
14
15
Pointer
P
16
17
D
D
.
1
18
19
20
413

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents