PLUS+1® Compliant Function Block Library—Filter Function Blocks
Contents
Risk Reduction
Design, Test, and Secure to Reduce Risks................................................................................................................................4
Function Block Connections.........................................................................................................................................................7
Function Block Connections...................................................................................................................................................... 11
Status Logic......................................................................................................................................................................................11
Identical Function Blocks Need Different Namespace Values to Successfully Compile...................................... 11
Function Block Connections...................................................................................................................................................... 15
Status Logic......................................................................................................................................................................................15
Identical Function Blocks Need Different Namespace Values to Successfully Compile...................................... 15
Function Block Connections...................................................................................................................................................... 21
Status Logic......................................................................................................................................................................................22
Split and Dwell Tm Values.......................................................................................................................................................... 23
Sft Strt and Sft End Values...........................................................................................................................................................27
Identical Function Blocks Need Different Namespace Values to Successfully Compile...................................... 29
Function Block Connections...................................................................................................................................................... 34
Function Block Values.................................................................................................................................................................. 35
Identical Function Blocks Need Different Namespace Values to Successfully Compile...................................... 35
Danfoss | January 201911062070 | AQ00000101en-000102 | 3
User Manual
PLUS+1® Compliant Function Block Library—Filter Function Blocks
Risk Reduction
Design, test, and secure applications that you develop to reduce risks of personal injury and equipment
damage.
Design, Test, and Secure to Reduce Risks
Applications created with PLUS+1® GUIDE typically control equipment such as tractors, cranes, and
harvesters.
Using heavy, powerful, and mobile off-road equipment always involves the risk of personal injury and
equipment damage, even when this equipment is operating under normal operating conditions.
Abnormal operating conditions greatly increase the risk of personal injury and equipment damage.
The PLUS+1® program has no automatic protections against these risks. The tool has no protection
against the risks that result from bugs in the tool software, errors in the tool manual, or incompatibilities
between software versions of the tool.
You must:
•
Design your application to reduce these risks.
•
Test your application to reduce these risks.
•
Secure your application against unauthorized changes in its operating parameters to reduce these
risks.
Design
Test
As you design your application, you must include the fault checking and the error handling needed to
reduce risks in normal and abnormal operating conditions.
Consider the following when developing fault checking and error handling for your PLUS+1® GUIDE
application:
•
How the machine is normally used.
•
Possible operator errors and their consequences.
•
Industry safety standards and legal requirements.
•
Input and output failures and their consequences. These failures can include:
Joystick, sensor, and other inputs suddenly going to ±100 % or to 0 %.
‒
Joystick, sensor, and other inputs suddenly going to ±100 % or to 0 %.
‒
Outputs that control machinery direction, speed, and force suddenly changing direction or going
‒
to ±100 % or to 0 %.
Decide how likely each failure is. The more likely a failure, the more you need to protect against
the consequences of the failure.
•
The sequence of events and consequences of a fault or error.
•
The sequence of events and consequences of an emergency stop.
After creating an application, you are responsible for testing the application.
Download your application to hardware and test its operation under both normal and abnormal
operating conditions. Make sure:
•
Individual inputs produce expected outputs.
•
Fault handling and error checking work as designed.
You must repeat your tests when you make configuration, calibration, or software changes to the
application.
PLUS+1® Compliant Function Block Library—Filter Function Blocks
Risk Reduction
Secure
You have the responsibility to secure your application against unauthorized changes.
Always use the PLUS+1® GUIDE program’s Toolkey feature to restrict access to your application’s
operating parameters.
•
Without Toolkey protection, there is an increased risk that unauthorized personnel could use the
PLUS+1® Service Tool program to change your application’s operating parameters.
Changes in your application’s operating parameters might cause unexpected machinery movement
that results in personal injury and equipment damage.
•
Toolkey protection reduces the risk that unauthorized personnel could use the PLUS+1® program to
change your application’s operating parameters.
Refer to How to Use the Toolkey to Restrict Service Tool Access to Application Values in the PLUS+1—How-to
chapter of the PLUS+1 GUIDE User Manual (Danfoss part 10100824).
PLUS+1® Compliant Function Block Library—Filter Function Blocks
Exp_Filter Function Block
IEC 61508-3 Annex D Supplemental Information
The following table provides IEC 61508-3 Annex D supplemental information.
Item
Function block nameExp_Filter
Function block version4.0.
Function block development
environment
Compatible hardware
Function block developed in
compliance with
Competence required of
function block integrator
Contacting Danfoss
Description
PLUS+1® GUIDE version 8.1 and later.
Verified in the PLUS+1® GUIDE compile process.
When the PLUS+1® GUIDE compiler finds a function block that is incompatible with hardware, it aborts the compile
process and logs an error message. The error message gives the location of the function block and states “Error 80:
component not supported in hwd.”
Danfoss Software Product Development Process (PDP), which includes ISO 9001 and IEC 61508-3 standards.
The knowledge, competence, and training required to:
Understand this manual.
•
Use the PLUS+1® GUIDE program to develop a machine control application.
•
Follow quality software practices to develop a machine control application.
PLUS+1® Compliant Function Block Library—Filter Function Blocks
Median_Filter Function Block
Function Block Connections
Connections made with the Median_Filter function block are described.
ItemDescription
1
2Sets the interval between consecutive input samples.
3Sets the number of sample used in the calculation of the middle value.
4The signal to be filtered.
5Outputs a bus with all of the function block's input and output signals.
6Reports the status of the function block.
7The Input signal after filtering.
True—include the function block’s built-in Advanced Checkpoint with Namespace in the compiled LHX download file.
•
False—exclude the function block’s built-in Advanced Checkpoint with Namespace components from the compiled LHX download file.
•
Status Logic
This topic describes how status logic is indicated for the function block.
StatusHex
Invalid setup.0x80081000
*
Bit 16 set to 1 identifies a standard Danfoss status or fault code.
*
Binary Cause
Smpl Nmbr input is greater than
7.
LoopTm input is out of range.
ResponseCorrection
The function block clamps its
Smpl Nmbr input at 7,
The function block clamps its
LoopTm input at 1,
Identical Function Blocks Need Different Namespace Values to Successfully Compile
If you use the same function block more than once in an application, you must change each function
block’s namespace value to avoid compiler errors.
All function blocks contain Advanced Checkpoint with Namespace components that enable the PLUS+1
Service Tool to read block input and output values.
Some function blocks contain non-volatile memory components that store function block operating
parameters.
Both these components use memory names (“aliases”) to allocate memory. Identical memory names
cause compiler errors.
The namespace value adds a unique prefix to each component name to avoid errors. Keep each
namespace value short to save controller memory.