Status Logic........................................................................................................................................................................................ 8
Configure Communication for the Function Block..............................................................................................................8
Configure Primary Communication for Function Block................................................................................................8
Configure Redundant Communication for Function Block.........................................................................................8
Pre-Made Service Screen.............................................................................................................................................................10
IEC 61508-3 Annex D Supplemental Information.............................................................................................................. 10
PLUS+1® Compliant PVED_CLS_STAT_MSG_1 Function Block
Before You Begin
Before reading this manual, read and understand the safety manual of the entire library (Safety Manual
and Programmer Guide - General, document number AQ00000254).
Warning
Do not change parameters while the machine is driving. Before changing parameters bring the machine
into a safe state to prevent harm for the operator and bystanders.
Warning
Fault detection and diagnostics must be tested with the final application which is assembled from the
function blocks.
PLUS+1® Compliant PVED_CLS_STAT_MSG_1 Function Block
PVED_CLS_STAT_MSG_1 Function Block
This function block configures the PVED_CLS_STAT_MSG_1 for use with the PVED-CLS.
The inputs of the block are formatted to generate the message identifier that the PVED-CLS transmits.
This block receives the message and reformats the data for use in PLUS+1® GUIDE. For more information,
refer to PVED-CLS communication protocol.
Inputs
Enter the PVED_CLS_STAT_MSG_1 function block for an overview of its signals.
To avoid compiler errors, use only the data types specified in this table.
ItemTypeRange
ParaBus————This bus contains configuration values. You can replace these values with signals
CAN.PortPort————Determines which CAN port to transmit data from. This variable can be found in the
ChkptBOOLT/F——Enables advanced checkpoints with namespace for each Diag signal.
Unit
Description
routed from the application if desired.
CAN sub-bus if using the Main Template.
T: Include checkpoints when compiled.
F: Do not include checkpoints when compiled.
Parameters
Learn how the function block uses parameters to customize the function.
To avoid compiler errors, use only the data types specified in this table.
ParameterTypeRangeUnitDescription
AddrU80 to 253——Source address of the PVED-CLS.
Primary default: 19
Redundant default: 90
TimeoutU1610 to 10000msMaximum time in ms between messages before a timeout fault is triggered.
Outputs
Learn how the outputs of the function block work.
ParameterTypeRangeUnitDescription
Diag
Status
STAT_MSG
Bus————This bus provides diagnostic values for troubleshooting. In addition,
U160, 0x8008——
Bus————This bus provides the output values for the block.
all inputs, parameters, and output signals are contained inside of the
bus.
This signal indicates if a parameter fault is declared. It is a bitwise
code, so multiple items can be reported at a time. The following
status codes are provided:
0x0000: No fault.
0x8008: At least one parameter is out of range.
PLUS+1® Compliant PVED_CLS_STAT_MSG_1 Function Block
PVED_CLS_STAT_MSG_1 Function Block
ParameterTypeRangeUnitDescription
ReqdSpoolPos S16-1000 to 10000.01 mm
ActSpoolPos S16-1000 to 10000.01 mm
AD1 U160 to 6000mVData from the external analog input 1. Measured value at the
AD2 U160 to 6000mVData from the external analog input 2. Measured value at the
Updated BOOLT/F——
CAN_RawData ARRAY[8]U8————Data passed directly from the CAN receiver.
NoMsgReceived BOOLT/F——
MsgTimedOut BOOLT/F——
ReqdSpoolPos_NA BOOL——T/F
ActSpoolPos_NA BOOL——T/F
AD1_NA BOOL——T/F
AD2_NA BOOL——T/F
Requested spool position.
Negative values correspond to spool movement to left.
Positive values correspond to spool movement to right.
Actual spool position.
Negative values correspond to spool movement to left.
Positive values correspond to spool movement to right.
external AD1 input.
external AD2 input.
Pulses TRUE for one loop when new data is available.
T: Received new data.
F: Did not receive new data.
No message has been received yet from the device.
T: No message received since power on.
F: A message has been received since power on.
True if the time since the last status message has exceeded the
value determined by Timeout.
T: The status message has timed out, block outputs set to zero/false.
NA signals set true.
F: No error.
Indicates if the related signal is available.
T: Signal is not available.
F: Signal available.
Indicates if the related signal is available.
T: Signal is not available.
F: Signal available.
Indicates if the related signal is available.
T: Signal is not available.
F: Signal available.
Indicates if the related signal is available.
T: Signal is not available.
F: Signal available.
Diagnostic Signals
Enter the Checkpoints page on the second level of the PVED_CLS_STAT_MSG_1 function block to access
the function block’s signals.
The page contains checkpoints on input, parameter, and output signals. Other topics in this book
describe input, parameter, and output signals.
Indicates if the related signal is reserved.
T: Signal is reserved.
F: Signal available.
Indicates if the related signal is reserved.
T: Signal is reserved.
F: Signal available.
User Manual
PLUS+1® Compliant PVED_CLS_STAT_MSG_1 Function Block
PVED_CLS_STAT_MSG_1 Function Block
NameTypeRangeUnitDescription
AD1_RsvdBOOLT/F
AD2_RsvdBOOLT/F
Status Logic
This topic describes how status logic is indicated for the function block.
The status code indicates whether the parameters used in the function are within their valid range.
ConditionHexBinaryCauseResponseCorrection
Invalid setup
*
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.
0x8008
*
1000At least one parameter is out
of range.
Configure Communication for the Function Block
The following sequence demonstrates how to setup the function block for primary or redundant
communication.
Note, you need to route the Addr parameter out from the Parameters page.
Indicates if the related signal is reserved.
T: Signal is reserved.
F: Signal available.
Indicates if the related signal is reserved.
T: Signal is reserved.
F: Signal available.
Status code reported.Correct the out of range
parameters.
Enabling Checkpoints
Configure Primary Communication for Function Block
For primary communication, set the parameter Addr to 19.
Configure Redundant Communication for Function Block
For redundant communication, set the parameter Addr to 90.
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.
PLUS+1® Compliant PVED_CLS_STAT_MSG_1 Function Block
PVED_CLS_STAT_MSG_1 Function Block
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.
®
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.
PLUS+1® Compliant PVED_CLS_STAT_MSG_1 Function Block
PVED_CLS_STAT_MSG_1 Function Block
Pre-Made Service Screen
This screen gives an overview of the PVED_CLS_STAT_MSG_1 function block.
OutputTypeDescription
Address
TimeoutmsMaximum time in ms between messages before a timeout fault is triggered.
ReqdSpoolPos mm
ActSpoolPosmm
AD1V
AD2V
Msg Timed Out T/F
No Msg RcvT/F
——Source address of the PVED-CLS.
Requested spool position.
Negative values correspond to spool movement to left.
Positive values correspond to spool movement to right.
Actual spool position.
Negative values correspond to spool movement to left.
Positive values correspond to spool movement to right.
Data from the external analog input 1. Measured value at the external AD1 input.
Data from the external analog input 2. Measured value at the external AD2 input.
True if the time since the last status message has exceeded the value determined by Timeout.
T: The message has timed out, block outputs set to zero/false. NA signals set true.
F: No error.
No message has been received yet from the device.
T: No message received since power on.
F: A message has been received since power on.
IEC 61508-3 Annex D Supplemental Information
The following table provides IEC 61508-3 Annex D supplemental information.
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 3418 5200
Products we offer:
Comatrol
www.comatrol.com
Turolla
www.turollaocg.com
Hydro-Gear
www.hydro-gear.com
Daikin-Sauer-Danfoss
www.daikin-sauer-danfoss.com
DCV directional control
•
valves
Electric converters
•
Electric machines
•
Electric motors
•
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.