Panasonic FP Series Programming Manual page 969

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Process control instructions
SmoothSignal_UINT
This instructions uses a 1st order delay time tT1 to smooth the unsigned INTEGER input value at
Description
iIN.
see page 1331
PLC types
Data types
Input variable
uiIn
tT1
Input/output variable
dutMemory
Output variable
uiOut
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_UINT(uiIn
tT1
:= t#2s,
968
Smooth UINT signals
Data type
Function
UINT
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!
UINT
Output signal
:= uiIn,
dutMemory
:= Memory_DUT,
uiOut
=> uiOut);

Advertisement

Table of Contents
loading

Table of Contents