How the SDT_Pred_Temp Function Block Works.................................................................................................................4
Function Block Connections.........................................................................................................................................................6
Using Namespaces...........................................................................................................................................................................7
Include Advanced Checkpoint with Namespace in Compiled Application...........................................................8
Status and Fault Logic.....................................................................................................................................................................8
Status Logic...................................................................................................................................................................................8
Legacy MC Controller—Input Configuration.........................................................................................................................9
Configure the MFIn.....................................................................................................................................................................9
Configure the AnIn..................................................................................................................................................................... 9
SC and Non-Legacy MC Controller—Input Configuration..............................................................................................10
Configure the MFIn..................................................................................................................................................................10
Configure the DigAn................................................................................................................................................................11
Customizable Service Screens...................................................................................................................................................11
Pre-Made Service Screen for SDT_Pred_Temp Function Block............................................................................... 12
The SDT_Pred_Temp function block is intended to be used with the Danfoss Speed, Direction, and
Temperature sensor.
The function block contains additional logic to predict the temperature faster than the standard
SDT_Temp_Snsr function block.
Route the Temp on the page to the sub-BUS containing their respective hardware signals.
Input data types must exactly match the indicated type for a successful compile.
How the SDT_Pred_Temp Function Block Works
The following diagram illustrates, in a simplified way, how the SDT_Pred_Temp function block works.
1. Validate that temperature signal is in range.
2. Reduce signal noise by filtering the temperature signal. See the SignalFltrTm parameter in the
Parameters topic for more information.
3. Calculate the temperature value.
4. Pass the temperature through a median filter.
5. Determine the rate of change of the temperature signal, sampled every 1000 ms.
Outputs of the SDT_Pred_Temp function block are described.
ItemTypeRangeDescription [Unit]
TempV_ UsedU160-2318Voltage used for calculations.
DegC_RawS16-400-1250Temperature reading, without any filtering or prediction applied.
TempV_ Used_FltrS320-2318Signal, after being filtered by the exponential filter.
Temp_HiResS16
Temp_RateOfChangeS16-32768-32767Derivative of the high resolution temperature.
Temp_FactorS160-60Temperature factor determined by the rate of change.
Temp_PreFilterS32-4000-12500Temperature before being processed by the prediction exponential filter.
Tol_JumpBOOLT/FIndicates that the exponential filter was reset to the current
Function Block Connections
Connections you can make with the SDT_Pred_Temp function block are described.
Bitwise code where multiple items can be reported at a time.
0x0000: No Fault.
0x8001: Temperature input voltage too low.
0x8002: Temperature input voltage too high.
0x8008: Temperature input voltage is at ground.
[0.1 Deg F]
[0.1 Deg C]
[mV]
[0.1 Deg C]
[mV]
-4000-12500
High resolution temperature after filtering, but before prediction logic.
[0.01 Deg C]
[0.01 Deg C / 1000 ms]
[0.01 Deg C]
Temp_PreFilter value.
T: Prediction filter reset to current prediction value.
F: Output determined by normal function.
ItemDescription
1Input for external parameter values.
2The signal bus coming from the Input pin that accepts the temperature signal.
3Bus that provides diagnostic values for troubleshooting.
4Reports the status of the function block.
5Reports the faults of the function block.
6Degrees in Fahrenheit.
7Degrees in Celsius.
Using Namespaces
Namespaces can help you successfully compile an application that uses the same function block more
than once.
Change each function block's namespace by setting its Namespace value to something unique. If you do
not change the Namespace value, you cannot compile the application.
The Namespace value adds a unique prefix to each component name.
Also, if you want to use these function blocks' companion Service Tool screens, you must include the
function block's advanced checkpoint with namespace in the application's compiled .lhx file. Use the
function block's Checkpoints page to include the checkpoint.
Change Namespace Value
To successfully compile your application, change the namespace value for function blocks that are used
more than once in an application.
1. In the PLUS+1® GUIDE menu bar, click the Query/Change button.
2. Click on the function block whose namespace you want to set to a unique value.The Edit Page window opens.
3. In the Edit Page window, enter a meaningful Namespace value.
Namespace values are case-sensitive.
•
To save controller memory, use a short namespace value.
•
4. Press Enter.
5. Repeat these steps to enter unique namespace values for other identical function blocks.
Include Advanced Checkpoint with Namespace in Compiled Application
Make all of a function block's input, output and internal signals available to the Service Tool.
Each function block has an Advanced Checkpoint with Namespace page that you can edit to ensure
unique namespaces are included in the application's companion screens for the Service Tool.
1. Enter the function block.
2. On the Checkpoints CP page, ensure the Chkpt signal is set to T.
3. To set the value to true:
a) Select the chkpt signal.
The Edit Value window opens.
b) Select T from the drop-down menu.
Status and Fault Logic
Use status and fault codes to determine proper program operation.
Status Logic
The status code indicates the calibration state of the function block.
ConditionHex
Invalid setup.0x8008At least one parameter is out of
*
Position of set bit in a 16 bit fault or status code. Bit 1 is the least significant bit. Bit 16 set to 1 indicates a standard Danfoss status code or fault code.
*
CauseResponseCorrection
Status code reported.Correct the out of range
range.
parameters.
Fault Logic
A frequency input signal is compared with sensor power voltage to detect faults.
ConditionHex
Temperature input
voltage too low.
Temperature input
voltage too high.
Temperature input
voltage is at ground.
*
Position of set bit in a 16 bit fault or status code. Bit 1 is the least significant bit. Bit 16 set to 1 indicates a standard Danfoss status code or fault code.
*
0x8001TempV < 366 mV.Block disabled, temperature set to
0x8002TempV > 2318 mV.Block disabled, temperature set to
0x8008Input voltage is at ground.
CauseResponseCorrection
minimum value.
minimum value.
Block disabled, temperature set to
TempV < 150 mV.
minimum value.
Verify that the temperature signal
is connected properly. Check for
shorts.
Verify that the temperature signal
is connected properly. Check for
shorts.
Verify that the temperature signal
is not shorted to ground.
Configure the DigAn
Configure the DigAn to accept input from the SDT_Pred_Temp function block.
1. In the GUIDE template, enter the Inputs page.
2. Enter the DigAn page that receives the input.
3. Make the changes shown in the following figure.
Customizable Service Screens
This function block comes with pre-made service screens that you can customize when building your
Service Tool application.
The pre-made screens simplify the task of creating Service Tool applications. You can use the screens as
is. Or, you can choose screen components to place in your application.
Refer to the PLUS+1® GUIDE Service Tool Design Manual (Danfoss document number AQ152986485048)
for more information on how to create Service Tool screens.
Pre-Made Service Screen for SDT_Pred_Temp Function Block
This topic describes a pre-made screen that you can use in your Service Tool application.
ItemDescription
Inputs——
Temp Voltage The measured voltage of the temperature signal. Used
for temperature and fault detection.
Parameters——
EN Prediction This signal allows for the prediction logic to be enabled
or disabled.
Fault Detect Time Defines the time that an input must be outside the valid
range before a fault is declared.
Signal Filter Time Signal Filter Time. Applies light filtering to the input
signal, before prediction methods are applied. The time
constant of the exponential filter. If less than Loop_Tm,
then Loop_Tm is used for T1.
Predict Filter Time Prediction Filter Time. Applies filtering to the final
temperature signal. The time constant of the exponential
filter. If less than Loop_Tm then Loop_Tm is used for T1.
Tolerance If the difference between the predicted temperature and
final filtered prediction is greater than Tolerance, the
prediction filter is set to the unfiltered prediction value.
If equal to zero, this option is disabled.
Diagnostic Signals——
Voltage Used Voltage used for calculations.
Raw Temperature Temperature reading, without any filtering or prediction
applied.
Filtered Voltage Signal, after being filtered by the exponential filter.
Hi-Res Temp High resolution temperature after filtering, but before
prediction logic.
Rate of Change Derivative of the high resolution temperature.
2800 East 13th Street
Ames, IA 50010, USA
Phone: +1 515 239 6000
Danfoss
Power Solutions Trading
(Shanghai) Co., Ltd.
Building #22, No. 1000 Jin Hai Rd
Jin Qiao, Pudong New District
Shanghai, China 201206
Phone: +86 21 2080 6201
Products we offer:
Hydro-Gear
www.hydro-gear.com
Daikin-Sauer-Danfoss
www.daikin-sauer-danfoss.com
Cartridge valves
•
DCV directional control
•
valves
Electric converters
•
Electric machines
•
Electric motors
•
Gear motors
•
Gear pumps
•
Hydraulic integrated
•
circuits (HICs)
Hydrostatic motors
•
Hydrostatic pumps
•
Orbital motors
•
PLUS+1® controllers
•
PLUS+1® displays
•
PLUS+1® joysticks and
•
pedals
PLUS+1® operator
•
interfaces
PLUS+1® sensors
•
PLUS+1® software
•
PLUS+1® software services,
•
support and training
Position controls and
•
sensors
PVG proportional valves
•
Steering components and
•
systems
Telematics
•
Danfoss Power Solutions is a global manufacturer and supplier of high-quality hydraulic and
electric components. We specialize in providing state-of-the-art technology and solutions
that excel in the harsh operating conditions of the mobile off-highway market as well as the
marine sector. Building on our extensive applications expertise, we work closely with you to
ensure exceptional performance for a broad range of applications. We help you and other
customers around the world speed up system development, reduce costs and bring vehicles
and vessels to market faster.
Danfoss Power Solutions – your strongest partner in mobile hydraulics and mobile
electrification.
Go to www.danfoss.com for further product information.
We offer you expert worldwide support for ensuring the best possible solutions for
outstanding performance. And with an extensive network of Global Service Partners, we also
provide you with comprehensive global service for all of our components.
Local address:
Danfoss can accept no responsibility for possible errors in catalogues, brochures and other printed material. Danfoss reserves the right to alter its products without notice. This also applies to products
already on order provided that such alterations can be made without subsequent changes being necessary in specifications already agreed.
All trademarks in this material are property of the respective companies. Danfoss and the Danfoss logotype are trademarks of Danfoss A/S. All rights reserved.