Danfoss HMK-Color-Cfg Operating guide

User Manual
Plus+1® Compliant
HMK_Color_Cfg Function Block
www.danfoss.com
User Manual
Revision history Table of revisions
Date Changed Rev
April 2019 First edition 0101
2 | © Danfoss | April 2019 AQ299163763138en-000101
User Manual

Contents

HMK_Color_Cfg
Overview..............................................................................................................................................................................................4
Inputs....................................................................................................................................................................................................4
Parameters..........................................................................................................................................................................................5
Outputs................................................................................................................................................................................................ 5
Diagnostic Signals............................................................................................................................................................................5
Status Logic........................................................................................................................................................................................ 6
Status Logic...................................................................................................................................................................................6
©
Danfoss | April 2019 AQ299163763138en-000101 | 3
User Manual

HMK_Color_Cfg

Overview

This function block configures the function for use with the HMK and is used to send out the command for adjusting the color of an index. The color indexes for the backlight are separate from the color indexes for the indicator LEDs.

Inputs

Entering the HMK_Color_Cfg function block gives an overview about the block’s signals.
To avoid compiler errors, use only the data types specified in this table.
Function Block Inputs
Input Type Range Unit Description CAN.Port PORT -- -- Determines which physical CAN port of the hardware to receive data from.
Red U8 0 to 255 -- Value for RED Color. Green U8 0 to 255 -- Value for GREEN Color. Blue U8 0 to 255 -- Value for BLUE Color. White U8 0 to 255 -- Value for WHITE. Send BOOL T/F --
This variable can be found in the CAN sub-bus if using the Main Template.
False to true transition will send the specified command. T: Positive transition will send the command F: Do not send command
4 | © Danfoss | April 2019 AQ299163763138en-000101
User Manual
HMK_Color_Cfg

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.
Function Block Parameters
Parameter Type Range Unit Description Src_Addr U8 0 to 253 -- Source Address of the local device.
Dest_Addr U8 0 to 253 -- Destination Address of the HMK. Cmd U8 0 to 2 --
Index U8 0 to 15 -- Which color index to modify. SetDefaults BOOL T/F --
Selects which index table to modify. 0: Backlight, and LED indicator 1: Backlight only 2: LED indicator only
Used to reset indexes 0 to 15 to their default values. Indexes that are reset are dependent on the index table set by Cmd. T: Set indexes to default values F: Do not reset table

Outputs

Learn how the outputs of the function block work.
Function Block Outputs
Parameter Type Range Unit Description OR1 BOOL T/F -- CAN Tx OverRun Flag for the backlight message.
Pend1 BOOL T/F -- CAN Tx Pending Flag for the backlight message. OR2 BOOL T/F -- CAN Tx OverRun Flag for the indicator LED message Pend2 BOOL T/F -- CAN Tx Pending Flag for the indicator LED message. Diag BUS -- -- This bus provides diagnostic values for troubleshooting. In addition, all
Status U16 0, 0x8008 --
inputs, parameters, and output signals are contained inside of the bus. This signal indicates if a parameter fault is declared. It’s 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

Diagnostic Signals

The diagnostic bus contains signals for input, parameter, and output signals. Input, parameter, and output signals are described in the above chapters.
Function Block Diagnostic Signals
Name Type Range Unit Description CAN_ID1 U32 -- -- The resulting 29-bit J1939 ID.
CAN_Data1 ARRAY[8
]U8
CAN_Send1 BOOL T/F --
CAN_ID2 U32 -- -- The resulting 29-bit J1939 ID.
-- -- Data that is to be sent over CAN.
Pulses true when a message is being sent. T: Pulse triggered F: Idle
©
Danfoss | April 2019 AQ299163763138en-000101 | 5
User Manual
HMK_Color_Cfg
Function Block Diagnostic Signals (continued)
Name Type Range Unit Description CAN_Data2 ARRAY[8
CAN_Send2 BOOL T/F --
]U8

Status Logic

Status Logic

Condition Hex
Invalid Setup 0x8008 1000 Dest_Addr > 253, Src_Addr > 253, Cmd >
*
Bit 16 set to 1 identifies a standard Danfoss status or fault code.
*
Binary Cause Response Correction
-- -- Data that is to be sent over CAN.
Pulses true when a message is being sent. T: Pulse triggered F: Idle
This topic describes how status and fault logic is indicated for the function block.
Status Logic
The status code indicates whether the parameters used in the function are within their valid range.
2, Index > 15
Status Code, Transmission is disabled
Correct Dest_Addr, Src_Addr, Cmd, or Index value.
6 | © Danfoss | April 2019 AQ299163763138en-000101
User Manual
©
Danfoss | April 2019 AQ299163763138en-000101 | 7
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 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.
©
Danfoss | April 2019 AQ299163763138en-000101
Loading...