Panasonic FP Series Programming Manual page 967

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Process control instructions
SmoothSignal_INT
This instructions uses a 1st order delay time tT1 to smooth the INTEGER input value at iIN.
Description
see page 1330
PLC types
Data types
Input variable
iIn
tT1
Input/output variable
dutMemory
Output variable
iOut
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
LD
ST
When programming with structured text, enter the following:
SmoothSignal_INT(iIn
tT1
966
Smooth INT signals
Data type
Function
INT
Input signal
TIME
Time constant of the 1st order low-pass filter
dutMemory
Instance-dependent data memory structure, which serves as the internal
memory of the function. As with the instance name of a function block, it
may be neither initialized nor written in the body!
INT
Output signal
:= iIn,
:= t#2s,
dutMemory
:= Memory_DUT,
iOut
=> iOut);

Advertisement

Table of Contents
loading

Table of Contents