Danfoss PLUS 1 Compliant Operating guide [ar]

User Manual
PLUS+1® Compliant
Preco_Std_Target Function Block
www.danfoss.com
User Manual
Revision history Table of revisions
Date Changed Rev
October 2020 First edition 0101
2 | © Danfoss | October 2020 AQ345700053996en-000101
User Manual

Contents

Preco_Std_Target Function Block
Inputs....................................................................................................................................................................................................4
Parameters..........................................................................................................................................................................................4
Outputs................................................................................................................................................................................................ 4
Diagnostic Signals............................................................................................................................................................................5
Status Logic........................................................................................................................................................................................ 5
Enabling Checkpoints.....................................................................................................................................................................6
Identical Function Blocks Need Different Namespace Values to Successfully Compile....................................6
Change Namespace Value.......................................................................................................................................................6
Pre-Made Service Screen............................................................................................................................................................... 7
©
Danfoss | October 2020 AQ345700053996en-000101 | 3
User Manual

Preco_Std_Target Function Block

The Preco_Std_Target function block is used with Preco radars.
This function block receives the Standard Closest Target CAN Message data from the radar.

Inputs

Inputs to the Preco_Std_Target function block are described.
Item Type Range Description [Unit] Port Port
Chkpt
BOOL T/F Enables Advanced Checkpoints with Namespace for each Diag signal.
——
Determines which CAN port to receive data from. This variable can be found in the CAN sub-bus if using the Main Template.
T: Include checkpoints when compiled. F: Do not include checkpoints when compiled.

Parameters

The parameters that can be used to configure the Preco_Std_Target function block are described.
Item Type Range Description [Unit] Src_Addr U8 1-253 Source address.
Timeout U16 0-1000 How long to wait for a response before timing out. A value less than twenty disables
timeout checking. [ms]

Outputs

Outputs of the Preco_Std_Target function block are described.
Item Type Range Description [Unit] Diag BUS —— This bus provides diagnostic values for troubleshooting and information about
the current status of the sensor.
Status U16
Output
Detection_Zone
BUS
U8
——
——
0-5
Bitwise code where multiple items can be reported at a time. 0x0000: Status OK. 0x8008: At least one parameter is out of range.
The Output bus contains data from the Standard Closest Target CAN Message from the sensor and information about the current status of the sensor.
Indicates what zone the target is detected in. 0: No detection or sensor failure. 1-5: Detection from nearest to farthest.
4 | © Danfoss | October 2020 AQ345700053996en-000101
User Manual
Preco_Std_Target Function Block
Item Type Range Description [Unit]
Updated
Sensor_Status
MsgTimeout
NoMsgReceived
BOOL T/F Indicates if the information has been updated in the last program loop.
T: The data has been updated. F: The data has not been updated.
X_Dist
S16
Y_Dist
U16
U8
BOOL T/F True if the time since the last message has exceeded the value determined by
BOOL T/F No message has been received yet from the device.
-3048-3048
0-3048
0-3, 5
The horizontal X distance from the sensor. It is measured parallel to the face of the sensor from the boresight. [0.01 m]
The horizontal Y distance from the sensor. It is measured perpendicular to the face of the sensor. [0.01 m]
The current status of the sensor. If the value is not 0, the X_Dist and Y_Dist values are 0. 0: Sensor OK. 1-2: Sensor failure. 3: Blockage error. 5: Missing speed.
Timeout. T: The message has timed out. F: No error.
T: No message received since power on. F: A message has been received since power on.

Diagnostic Signals

Entering the Checkpoints page on the second level of the function block provides access to the function block’s diagnostic signals.
It contains checkpoints on input, output and internal signals. Only the internal signals are explained here. Input and output signals are described in other topics.
Item Type Range Description [Unit] Mounting_Location U8 0-3 The mounting location of the sensor.
0: Rear. 1: Right. 2: Left. 3: Front.
Sensor_State U8 0-1 The current state of the sensor.
0: Inactive. 1: Active.
Sensor_Temp S8 -128-127 The current temperature of the sensor.
[deg C]
X_Dist_ft S8 -100-100 The horizontal X distance from the sensor. It is measured parallel to the
face of the sensor from the boresight. [ft]
Y_Dist_ft
U8 0-100 The horizontal Y distance from the sensor. It is measured perpendicular to
the face of the sensor. [ft]

Status Logic

This topic describes how status logic is indicated for the Preco_Std_Target function block. The status code indicates whether the parameters used in the function are within their valid range.
©
Danfoss | October 2020 AQ345700053996en-000101 | 5
W
User Manual
Preco_Std_Target Function Block
Condition Hex Binary Cause Response Correction
Invalid setup. 0x8008
*
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.

Enabling Checkpoints

*
1000 At least one parameter is out
of range.
—— Correct the out of range
parameters.
Chkpt enables the checkpoints for each Diag Bus Signal. It is pre-connected to a constant True. Set Chkpt to False if you do not want to use the checkpoints or if you need to free up some memory. Be
aware that Fault and Status signals disappear from the service screen by setting to False.
Warning
The programmer must implement sufficient fault management and is responsible to reach the safe state according to the safety concept for the application.

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.
®

Change Namespace Value

To successfully compile your application, change the namespace value for function blocks that are used more than once in an application.
6 | © Danfoss | October 2020 AQ345700053996en-000101
User Manual
Preco_Std_Target Function Block
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.

Pre-Made Service Screen

This screen gives an overview of the Preco_Std_Target function block.
Item Description Parameters ——
Source Address Source Address.
Timeout How long to wait for a response before timing out. A value less than twenty disables
timeout checking.
Outputs ——
Detection Zone Indicates the zone in which the target is detected.
0: No detection or sensor failure. 1-5: Detection from nearest to farthest.
X Distance The horizontal X distance from the sensor. It is measured parallel to the face of the
sensor from the boresight.
Y Distance The horizontal Y distance from the sensor. It is measured perpendicular to the face of
the sensor.
©
Danfoss | October 2020 AQ345700053996en-000101 | 7
User Manual
Preco_Std_Target Function Block
Item Description
Sensor Status The current status of the sensor. If the value is not 0, the X_Dist and Y_Dist values are
0. 0: Sensor OK. 1-2: Sensor failure. 3: Blockage error. 5: Missing speed.
MsgTimeout True if the time since the last message has exceeded the value determined by
NoMsgReceived No message has been received yet from the device.
Timeout. T: The message has timed out. F: No error.
T: No message received since power on. F: A message has been received since power on.
8 | © Danfoss | October 2020 AQ345700053996en-000101
Danfoss Power Solutions GmbH & Co. OHG
Krokamp 35 D-24539 Neumünster, Germany Phone: +49 4321 871 0
Danfoss Power Solutions ApS
Nordborgvej 81 DK-6430 Nordborg, Denmark Phone: +45 7488 2222
Danfoss Power Solutions (US) Company
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.
©
Danfoss | October 2020 AQ345700053996en-000101
Loading...