PLUS+1® Compliant JS1 CANopen Joystick Function Block
Contents
JS1_CANopen Function Block
Function Block Inputs..................................................................................................................................................................... 4
Function Block Outputs..................................................................................................................................................................4
Status and Fault Logic.....................................................................................................................................................................7
Function Block Connections.........................................................................................................................................................9
Configuration of Input and Output Buses...............................................................................................................................9
PLUS+1® Compliant JS1 CANopen Joystick Function Block
JS1_CANopen Function Block
This joystick has a CAN (Controller Area Network) 2.0B output that uses the CANopen communication
protocol.
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 24 grip-mounted push-button switches.
•
Function Block Inputs
JS1_CANopen Function Block Inputs
InputTypeRangeDescription
NodeU81 to 127Specifies the CANopen address of the joystick.
All Node addresses on the same CANopen 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:
ExtBOOL——T = Incoming CAN messages must use 29 bit extended identifiers.
CAN————Inputs CAN messages from the joystick. Route this bus to the CAN pin on this function block.
F = Incoming CAN messages must use 11 bit standard identifiers.
CAN messages sent from the joystick to the function block contain information about the availability of joystick
inputs, joystick input faults, and joystick commands.
Function Block Outputs
JS1_CANopen Function Block Outputs
OutputTypeRangeDescription
Status————Outputs a bus that contains the following status signals.
Btn1_NA–Btn24_NA BOOL——Indicates if an input is available from a grip-mounted push button switch.
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_NA BOOL——Indicates if an input from a grip-mounted, X-axis proportional switch is available.
PLUS+1® Compliant JS1 CANopen Joystick Function Block
JS1_CANopen Function Block
JS1_CANopen Function Block Outputs (continued)
OutputTypeRangeDescription
X_NA BOOL——Indicates if an input from the joystick’s X-axis 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_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–Btn24_Flt BOOL——Indicates if the input from a grip-mounted push-button switch signal sources has timed
out and switch states are not actively updated.
T = Fault.
F = No fault.
T_Flt BOOL——Indicates if the input from the joystick’s rotational (theta) axis has a fault or the signal
source has timed out.
T = Fault.
F = No fault.
TimeOut_X BOOL——Indicates if the function block has not received a CAN PDO or NMT message within the
configured timeout limit after already receiving the message at least once since startup.
When this signal is T, the function block sets all Out signals associated with the missing
PDO message to either 0 or F. It sets all Fault signals associated with the message to T.
When this signal becomes F again, the function block enables all Out signals associated
with the PDO message. It resets all Fault signals associated with the PDO message to F (or
currently fault conditions as detected and reported by the joystick).
T = Message not received within the time limit.
F = Message received within the time limit.
NoMsgReceived_X BOOL——Indicates if the function block has not received a CAN PDO or NMT message within the
configured timeout limit after never receiving the message since startup.
When this signal is T, the function block sets all Out signals associated with the missing
PDO message to either 0 or F. It sets all Fault signals associated with the message to T.
When this signal becomes F again, the function block enables all Out signals associated
with the PDO message. It resets all Fault signals associated with the PDO message to F (or
currently fault conditions as detected and reported by the joystick).
T = Message not received within the time limit.
F = Message received within the time limit.
XGrp_Flt BOOL——Indicates if the input from a grip-mounted, X-axis proportional switch has a fault or the
signal source has timed out.
T = Fault.
F = No fault.
X_Flt BOOL——Indicates if the input from the joystick’s X-axis has a fault or the signal source has timed
out.
T = Fault.
F = No fault.
YGrp_Flt BOOL——Indicates if the input from a grip-mounted, Y-axis proportional switch has a fault or the
signal source has timed out.
T = Fault.
F = No fault.
Y_Flt BOOL——Indicates if the input from the joystick’s Y-axis has a fault or the signal source has timed
out.
T = Fault.
F = No fault.
Out————Outputs a bus that contains the following command signals. These signals indicate the
position of each joystick axis and the state of push-button and detent switches.
PLUS+1® Compliant JS1 CANopen Joystick Function Block
JS1_CANopen Function Block
JS1_CANopen Function Block Outputs (continued)
OutputTypeRangeDescription
Btn1–Btn24 BOOL——Indicates the states of grip-mounted push-button switches.
T = Closed.
F = Open.
Curr_NMT_State U80 to 255Indicates the CANopen communication state of the joystick.
•
0x00 = Boot Up
•
0x04 = Stopped
•
0x05 = Operational
•
0x7F = Pre-operational
Rx_PDOX BOOL——Indicates when the function block receives a CANopen PDO.
This message reports joystick base and grip proportional signals as well as the state of
grip-mounted button switches.
T = Message received.
F = Message not received.
Rx_Heartbeat BOOL——Indicates when the function block receives a CANopen Heartbeat or NMT message.
This message reports the current NMT State and provides a continuous heartbeat to
indicate the joystick is alive on the bus.
T = Message received.
F = Message not received.
T_Axis_Psn S16-10000 to +10000Indicates the position of the joystick’s rotational (theta) axis.
-10000 = -100%
+10000 = +100%
X_Grp_Psn S16-10000 to +10000Indicates the position of a grip-mounted, X-axis proportional switch.
-10000 = -100%
+10000 = +100%
X_Axis_Psn S16-10000 to +10000Indicates the position of the joystick’s X-axis.
-10000 = -100%
+10000 = +100%
YGrp_Psn S16-10000 to +10000Indicates the position of a grip-mounted, Y-axis proportional switch.
-10000 = -100%
+10000 = +100%
Y_Axis_Psn S16-10000 to +10000Indicates the position of the joystick’s Y-axis.
-10000 = -100%
+10000 = +100%
EMCY————Outputs a bus that contains the following status signals. These signals indicate errors and
failure information reported by the joystick.
Error_Code U160 to 0xFFFF
Error_Register U80 to 10000Indicates what type of error is reported by the joystick.
OccurrenceCounter U80 to 127Indicates number of recorded instances of the error.
Indicates the specific error condition reported for the joystick.
PLUS+1® Compliant JS1 CANopen Joystick Function Block
JS1_CANopen Function Block
Configuration Values
The first level inside the function block contains constant values that set the function block’s operating
characteristics.
Typically, you do not have to change any of these values for the correct operation of the function block.
Optionally, you can modify the constant values on this page.
Configuration Values
InputTypeRangeDescription
Timeouts
Heartbeat_Timeout_ms U16
PDO1_Timeout_ms U16
PDO2_Timeout_ms U16
PDO3_Timeout_ms U16
NMT StrtBOOL—Enables the function block to transmit a request to the joystick to enter the operational
0 to 1000
0 to 1000
0 to 1000
0 to 1000
Heartbeat_Timeout_ms sets the maximum time allowed between received NMT
messages before either Timeout_Heartbeat or NoMsgReceived_Heartbeat is set to
true.
PDO1_Timeout_ms sets the maximum time allowed between received PDO1 messages
before either Timeout_PDO1 or NoMsgReceived_PDO1 is set to true.
PDO2_Timeout_ms sets the maximum time allowed between received PDO2 messages
before either Timeout_PDO2 or NoMsgReceived_PDO2 is set to true.
PDO3_Timeout_ms sets the maximum time allowed between received PDO3 messages
before either Timeout_PDO3 or NoMsgReceived_PDO3 is set to true.
state when the joystick is in Boot up or Preoperational state.
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
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
•
Danfoss Power Solutions is a global manufacturer and supplier of high-quality hydraulic and
electronic 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. Building on
our extensive applications expertise, we work closely with our customers to ensure
exceptional performance for a broad range of off-highway vehicles.
We help OEMs around the world speed up system development, reduce costs and bring
vehicles 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 support
for our customers, ensuring the best possible solutions for outstanding performance. And
with an extensive network of Global Service Partners, we also provide comprehensive global
service for all of our components.
Please contact the Danfoss Power Solution representative nearest you.
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 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.