-
User Manual
PLUS+1® CompliantJS1 J1939 CAN Joystick Function Block
powersolutions.danfoss.com
http://powersolutions.danfoss.com
-
Revision history Table of revisions
Date Changed Rev
March 2018 Re-branding 0102
September 2015 0101
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
2 | © Danfoss | March 2018 AQ00000202en-US0102
-
JS1_J1939 Function BlockFunction Block Inputs..................................................................................................................................................................... 4Function Block Outputs..................................................................................................................................................................4Status and Fault Logic.....................................................................................................................................................................8
Status Logic................................................................................................................................................................................... 8Boolean Output Signals............................................................................................................................................................ 8Proportional Output Signals................................................................................................................................................... 8
Function Block Connections.........................................................................................................................................................9Configuration of Input and Output Buses...............................................................................................................................9
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
Contents
© Danfoss | March 2018 AQ00000202en-US0102 | 3
-
The JS1_J1939 function block configures the output of a JS1 Joystick with CAN.
This joystick has a CAN (Controller Area Network) 2.0B output that uses the J1939 communicationprotocol.
The JS1 Joystick with CAN is a highly configurable joystick that has:• A joystick base with a single three-point Y-axis or with three-point X- and Y-axes.• Up to three grip-mounted proportional three-point rocker switches.• Up to 12 grip-mounted push-button switches.
Function Block Inputs
Inputs to the function block are described.
JS1_J1939 Function Block Inputs
Input Type Range Description
SA U8 0-253 Specifies the factory-set source address of the joystick.All source addresses on the same CAN bus must be different. Do not use the same address twice.The Type code on the joystick label identifies the source address. Typical addresses are C33 (right), C34 (left),C35 (center), and C36 (auxiliary).Enter the source address in hexadecimal format as shown in the following examples:C33 (right) = 0x33C34 (left) = 0x34C35 (center) = 0x35C36 (auxiliary) = 0x36
CAN —— —— Inputs CAN messages from the joystick. Route this bus to the CAN pin on this function block.CAN messages sent from the joystick to the function block contain information about the availability of joystickinputs, joystick input faults, and joystick commands.
Function Block Outputs
The outputs of the function block are described.
JS1_J1939 Function Block Outputs
Output Type Range Description
Status —— —— Outputs a bus that contains the following status signals.
Btn1_NA–Btn12_NA BOOL —— Indicates if an input is available from a grip-mounted push-button switch.T = Not available.F = Available.
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
JS1_J1939 Function Block
4 | © Danfoss | March 2018 AQ00000202en-US0102
-
JS1_J1939 Function Block Outputs (continued)
Output Type Range Description
T_Det_NA BOOL —— Indicates if an input from a detent switch on the joystick’s rotational (theta) axis isavailable.T = Not available.F = Available.
T_NA BOOL —— Indicates if an input from a rotational (theta) axis is available.T = Not available.F = Available.
XGrp_Det_NA BOOL —— Indicates if an input from a grip-mounted, X-axis detent switch is available.T = Not available.F = Available.
XGrp_NA BOOL —— Indicates if an input from a grip-mounted, X-axis proportional switch is available.T = Not available.F = Available.
X_Det_NA BOOL —— Indicates if an input from an X-axis detent switch is available.T = Not available.F = Available.
X_NA BOOL —— Indicates if an input from the joystick’s X-axis is available.T = Not available.F = Available.
YGrp_Det_NA BOOL —— Indicates if an input from a grip-mounted, Y-axis detent switch is available.T = Not available.F = Available.
YGrp_NA BOOL —— Indicates if an input from a grip-mounted, Y-axis proportional switch is available.T = Not available.F = Available.
Y_Det_NA BOOL —— Indicates if an input from a Y-axis detent switch is available.T = Not available.F = Available.
Y_NA BOOL —— Indicates if an input from the joystick’s Y-axis is available.T = Not available.F = Available.
Fault —— —— Outputs a bus that contains the following fault signals.
Btn1_Flt–Btn12_Flt BOOL —— Indicates if the input from a grip-mounted push-button switch has a fault.T = Fault.F = No fault.
T_Det_Flt BOOL —— Indicates if the input from a detent switch on the joystick’s rotational (theta) axis has afault.T = Fault.F = No fault.
T_Flt BOOL —— Indicates if the input from the joystick’s rotational (theta) axis has a fault.T = Fault.F = No fault.
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
JS1_J1939 Function Block
© Danfoss | March 2018 AQ00000202en-US0102 | 5
-
JS1_J1939 Function Block Outputs (continued)
Output Type Range Description
TimeOut_BJM BOOL —— Indicates if the function block receives a BJM (Basic Joystick Message) within a 100 mstimeout limit.This message reports joystick X-axis and Y-axis positions as well as the state of grip-mounted button switches.When a message has not been seen for 100 ms, this signal becomes True. The functionblock then sets all Out signals associated with the message to either 0 or F. It sets all faultsignals associated with the message to True.Once a message is seen again, this signal becomes False and the function block enablesall Out signals associated with the message. It resets all fault signals associated with themessage to False.T = Timeout fault. Message not received within 100 ms limit.F = Message received within 100 ms limit.
TimeOut_EJM BOOL —— Indicates if the function block receives an EJM (Extended Joystick Message) within a 100ms timeout limit.This message reports the position of grip-mounted proportional switches.When a message has not been seen for 100 ms, this signal becomes True. The functionblock then sets all Out signals associated with the message to either 0 or F. It sets all faultsignals associated with the message to True.Once a message is seen again, this signal becomes False and the function block enablesall Out signals associated with the message. It resets all fault signals associated with themessage to False.T = Timeout fault. Message not received within 100 ms limit.F = Message received within 100 ms limit.
NoMsgReceived_BJM BOOL —— No BJM received from the device.T = No message received since power on.F = At least one message has been received.
NoMsgReceived_EJM BOOL —— No EJM received from the device.T = No message received since power on.F = At least one message has been received.
XGrp_Det_Flt BOOL —— Indicates if the input from a grip-mounted, X-axis detent switch has a fault.T = Fault.F = No fault.
XGrp_Flt BOOL —— Indicates if the input from a grip-mounted, X-axis proportional switch has a fault.T = Fault.F = No fault.
X_Det_Flt BOOL —— Indicates if the input from a detent switch on the joystick’s X-axis has a fault.T = Fault.F = No fault.
X_Flt BOOL —— Indicates if the input from the joystick’s X-axis has a fault.T = Fault.F = No fault.
YGrp_Det_Flt BOOL —— Indicates if the input from a detent switch on the joystick’s Y-axis has a fault.T = Fault.F = No fault.
YGrp_Flt BOOL —— Indicates if the input from a grip-mounted, Y-axis proportional switch has a fault.T = Fault.F = No fault.
Y_Det_Flt BOOL —— Indicates if the input from a detent switch on the joystick’s Y-axis has a fault.T = Fault.F = No fault.
Y_Flt BOOL —— Indicates if the input from the joystick’s Y-axis has a fault.T = Fault.F = No fault.
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
JS1_J1939 Function Block
6 | © Danfoss | March 2018 AQ00000202en-US0102
-
JS1_J1939 Function Block Outputs (continued)
Output Type Range Description
Out —— —— Outputs a bus that contains the following command signals. These signals indicate theposition of each joystick axis and the state of push-button and detent switches.
Btn1–Btn12 BOOL —— Indicates the states of grip-mounted push-button switches.T = Closed.F = Open.
Rx_BJM BOOL —— Indicates when the function block receives a BJM (Basic Joystick Message).This message reports joystick X-axis and Y-axis positions as well as the state of grip-mounted button switches.T = Message received.F = Message not received.
Rx_EJM BOOL —— Indicates when the function block receives an EJM (Extended Joystick Message).This message reports the position of grip-mounted proportional switches.T = Message received.F = Message not received.
Status U16 —— Reports the status of the function block.See Status Logic for more about this output.
T_Axis_Det BOOL —— Indicates the state of a detent switch on the joystick’s rotational (theta) axis.T = Closed.F = Open.
T_Axis_Psn S16 -10000 to +10000 Indicates the position of the joystick’s rotational (theta) axis.-10000 = -100%+10000 = +100%
XGrp_Det BOOL —— Indicates the state of a detent switch on a grip-mounted, X-axis proportional switch.T = Closed.F = Open.
XGrp_Psn S16 -10000 to +10000 Indicates the position of a grip-mounted, X-axis proportional switch.-10000 = -100%+10000 = +100%
X_Axis_Det BOOL —— Indicates the state of a detent switch on the joystick’s X-axis.T = Closed.F = Open.
X_Axis_Psn S16 -10000 to +10000 Indicates the position of the joystick’s X-axis.-10000 = -100%+10000 = +100%
YGrp_Det BOOL —— Indicates the state of a detent switch on a grip-mounted, Y-axis proportional switch.T = Closed.F = Open.
YGrp_Psn S16 -10000 to +10000 Indicates the position of a grip-mounted, Y-axis proportional switch.-10000 = -100%+10000 = +100%
Y_Axis_Det BOOL —— Indicates the state of a detent switch on the joystick’s Y-axis.T = Closed.F = Open.
Y_Axis_Psn S16 -10000 to +10000 Indicates the position of the joystick’s Y-axis.-10000 = -100%+10000 = +100%
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
JS1_J1939 Function Block
© Danfoss | March 2018 AQ00000202en-US0102 | 7
-
Status and Fault Logic
Use status and fault codes to determine if the function block is operating properly.
Status Logic
This topic describes codes that can help you determine if the function block is operating properly.
Status Hex* Binary Cause Response Correction
Parameters are corrupt. 0x8008 1000 Msg value > 3 or < 1. Incorrect or no message may bereceived. Data presented to theapplication may be incorrect.
Verify correct Msg value forconnected hardware and setvalue within its 1–3 range.
SA value > 253 or < 0. Incorrect or no message may bereceived. Data presented to theapplication may be incorrect.
Verify correct SA for connectedhardware and set value within its0–253 range.
* Bit 16 set to 1 identifies a standard Danfoss status or fault code.
Boolean Output Signals
The changing states of the Status and Fault signals affect the value of Boolean output signals.
Output Signal Status Signal State Fault Signal State Output Signal Value
Btn1–Btn12, Rx_BJM, Rx_EJM, T_Axis_Det, XGrp_Det, X_Axis_Det,YGrp_Det, Y_Axis_Det
F F T or F
T T F
T F F
F T F
For example:• As long as the Status signal and the Fault signal for the Btn1 input are both F, the Btn1 output signal
can be either T or F.• As soon as either the Status signal or the Fault signal for the Btn1 input becomes T, the Btn1 output
signal goes to and stays F.• When the Status signal and the Fault signal for the Btn1 input are again both F, the Btn1 output
signal returns to its normal T or F operation.
Proportional Output Signals
The states of the Status and Fault signals can change and affect the value of proportional output signals.
Output Signal Status Signal State Fault Signal State Output Signal Value
T_Axis_Psn, XGrp_Psn, X_Axis_Psn, YGrp_Psn, Y_Axis_Psn F F ±10000
T T 0
T F 0
F T 0
For example:• As long as the Status signal and the Fault signal for the T_Axis_Psn input are both F, the
T_Axis_Psn output signal ranges ±10000.• As soon as either the Status signal or the Fault signal for the T_Axis_Psn input becomes T, the
T_Axis_Psn output signal goes to and stays at 0.• When the Status signal and the Fault signal for the T_Axis_Psn input are again both F, the
T_Axis_Psn output signal returns to its normal ±10000 operation.
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
JS1_J1939 Function Block
8 | © Danfoss | March 2018 AQ00000202en-US0102
-
Function Block Connections
Connections you can make with the function block are described.
Item Description
1 Determines the CAN port connected to the joystick.
2 Configures the function block to listen for CAN data from the joystick’s network address.
3 Output bus containing the joystick axis position, proportional grip inputs, and button states.
4 Reports faults for individual signals or communication timeout.
5 Reports Not Available state for each signal if connected joystick hardware does not support the function or for all signals if communicationhas not yet been established.
Configuration of Input and Output Buses
You do not have to change the configuration of either input or output buses to use the function block.
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
JS1_J1939 Function Block
© Danfoss | March 2018 AQ00000202en-US0102 | 9
-
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
10 | © Danfoss | March 2018 AQ00000202en-US0102
-
User ManualPLUS+1® Compliant JS1 J1939 CAN Joystick Function Block
© Danfoss | March 2018 AQ00000202en-US0102 | 11
-
Danfoss Power Solutions is a global manufacturer and supplier of high-quality hydraulic andelectronic components. We specialize in providing state-of-the-art technology and solutionsthat excel in the harsh operating conditions of the mobile off-highway market. Building onour extensive applications expertise, we work closely with our customers to ensureexceptional performance for a broad range of off-highway vehicles.
We help OEMs around the world speed up system development, reduce costs and bringvehicles to market faster.
Danfoss – Your Strongest Partner in Mobile Hydraulics.
Go to www.powersolutions.danfoss.com for further product information.
Wherever off-highway vehicles are at work, so is Danfoss. We offer expert worldwide supportfor our customers, ensuring the best possible solutions for outstanding performance. Andwith an extensive network of Global Service Partners, we also provide comprehensive globalservice for all of our components.
Please contact the Danfoss Power Solution representative nearest you.
Local address:
Danfoss Power Solutions GmbH & Co. OHGKrokamp 35D-24539 Neumünster, GermanyPhone: +49 4321 871 0
Danfoss Power Solutions ApSNordborgvej 81DK-6430 Nordborg, DenmarkPhone: +45 7488 2222
Danfoss Power Solutions (US) Company2800 East 13th StreetAmes, IA 50010, USAPhone: +1 515 239 6000
Danfoss Power Solutions Trading(Shanghai) Co., Ltd.Building #22, No. 1000 Jin Hai RdJin Qiao, Pudong New DistrictShanghai, China 201206Phone: +86 21 3418 5200
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 productsalready on order provided that such alterations can be made without 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 | March 2018 AQ00000202en-US0102
Products we offer:
• Bent Axis Motors• Closed Circuit Axial Piston
Pumps and Motors• Displays• Electrohydraulic Power
Steering• Electrohydraulics• Hydraulic Power Steering• Integrated Systems• Joysticks and Control
Handles• Microcontrollers and
Software• Open Circuit Axial Piston
Pumps• Orbital Motors• PLUS+1® GUIDE• Proportional Valves• Sensors• Steering• Transit Mixer Drives
Comatrolwww.comatrol.com
Turolla www.turollaocg.com
Hydro-Gearwww.hydro-gear.com
Daikin-Sauer-Danfosswww.daikin-sauer-danfoss.com
ContentsJS1_J1939 Function BlockFunction Block InputsFunction Block OutputsStatus and Fault LogicStatus LogicBoolean Output SignalsProportional Output Signals
Function Block ConnectionsConfiguration of Input and Output Buses