Panasonic FP Series Programming Manual page 476

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

F284_RAMP
Executes linear ramp output based on the parameters set.
Description
Availability of F284_RAMP (see page 1323)
PLC types
Data types
Variable
s1_InitialValue
s2_TargetValue
s3_RiseTime
d_OutputValue
Operands
For
s1, s2, s3
d
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
In this example, the same POU header is used for all programming languages.
Example
POU header
All input and output variables used for programming this function have been declared in the POU
header.
In this example, the input variables iInitialValue, iTargetValue and iRiseTime are declared.
However, you can write a constant directly at the input contact of the function instead. Additionally,
the variable bRun is declared to start the ramp function and the variable iOutputValue is declared
for storing the result.
Inclination output of 16-bit data
Data type
Function
INT
The initial value from which the output value increases or
decreases after the trigger's rising edge has been detected by
the system
INT
The target value to which the output value increases or
decreases
INT
The time range in ms for the output value to increase or
decrease from the initial value to the target value
INT
The output value
Relay
WX
WY
WR
WL
-
WY
WR
WL
Set
permanently
for an instant
T/C
Register
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
If
 the area specified using the index
modifier exceeds the limit.
 the output time range specified by
s3_RiseTime is smaller than 1 or larger
than 30000.
Arithmetic instructions
Constant
dec. or hex.
-
475

Advertisement

Table of Contents
loading

Table of Contents