7.16
Ramp Signal Instruction
Ramp signal
RAMPQ
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
This instruction shifts from a specified value to another specified value in (n) times.
Ladder
(s1)
(s2)
(d1)
FBD/LD
EN
ENO
s1
d1
s2
d2
n
■Execution condition
Instruction
RAMPQ
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Initial value
(s2)
Last value
(d1)
(d1)+0: Current value
(d1)+1: Number of executions
(n)
Number of shifts
(d2)
(d2)+0: Completion device
(d2)+1: Bit for selecting data retention at completion
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d1)
(n)
(d2)
RnSFCPU RnSFCPU
(Standard)
(Safety)
(n)
(d2)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=RAMPQ(EN,s1,s2,n,d1,d2);
Range
Data type
-32768 to 32767
16-bit signed binary
-32768 to 32767
16-bit signed binary
16-bit signed binary
1 to 32767
16-bit signed binary
Bit
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY16
ANY16
ANY16_ARRAY
(Number of elements: 2)
ANY16
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.16 Ramp Signal Instruction
7
891