js1 canopen can joystick function block user manual1 configures the function block to listen for can...

12
User Manual PLUS+1® Compliant JS1 CANopen Joystick Function Block powersolutions.danfoss.com

Upload: others

Post on 17-Jul-2020

15 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

User Manual

PLUS+1® CompliantJS1 CANopen Joystick Function Block

powersolutions.danfoss.com

Page 2: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

Revision history Table of revisions

Date Changed Rev

March 2018 Re-branding 0102

January 2016 First edition 0101

User ManualPLUS+1® Compliant JS1 CANopen Joystick Function Block

2 | © Danfoss | March 2018 AQ00000203en-US0102

Page 3: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

JS1_CANopen Function BlockFunction Block Inputs..................................................................................................................................................................... 4Function Block Outputs..................................................................................................................................................................4Status and Fault Logic.....................................................................................................................................................................7

Boolean Output Signals............................................................................................................................................................ 7Proportional Output Signals................................................................................................................................................... 7

Configuration Values.......................................................................................................................................................................8Function Block Connections.........................................................................................................................................................9Configuration of Input and Output Buses...............................................................................................................................9

User ManualPLUS+1® Compliant JS1 CANopen Joystick Function Block

Contents

© Danfoss | March 2018 AQ00000203en-US0102 | 3

Page 4: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

This joystick has a CAN (Controller Area Network) 2.0B output that uses the CANopen 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 24 grip-mounted push-button switches.

Function Block Inputs

JS1_CANopen Function Block Inputs

Input Type Range Description

Node U8 1 to 127 Specifies 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:C33 (right) = 0x33C34 (left) = 0x34C35 (center) = 0x35C36 (auxiliary) = 0x36

Ext BOOL —— T = Incoming CAN messages must use 29 bit extended identifiers.F = Incoming CAN messages must use 11 bit standard identifiers.

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

JS1_CANopen Function Block Outputs

Output Type Range Description

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.T = Not available.F = Available.

User ManualPLUS+1® Compliant JS1 CANopen Joystick Function Block

JS1_CANopen Function Block

4 | © Danfoss | March 2018 AQ00000203en-US0102

Page 5: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

JS1_CANopen Function Block Outputs (continued)

Output Type Range Description

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 timedout 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 signalsource 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 theconfigured 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 missingPDO 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 associatedwith the PDO message. It resets all Fault signals associated with the PDO message to F (orcurrently 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 theconfigured timeout limit after never receiving the message since startup.When this signal is T, the function block sets all Out signals associated with the missingPDO 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 associatedwith the PDO message. It resets all Fault signals associated with the PDO message to F (orcurrently 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 thesignal 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 timedout.T = Fault.F = No fault.

YGrp_Flt BOOL —— Indicates if the input from a grip-mounted, Y-axis proportional switch has a fault or thesignal 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 timedout.T = Fault.F = No fault.

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.

User ManualPLUS+1® Compliant JS1 CANopen Joystick Function Block

JS1_CANopen Function Block

© Danfoss | March 2018 AQ00000203en-US0102 | 5

Page 6: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

JS1_CANopen Function Block Outputs (continued)

Output Type Range Description

Btn1–Btn24 BOOL —— Indicates the states of grip-mounted push-button switches.T = Closed.F = Open.

Curr_NMT_State U8 0 to 255 Indicates 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 ofgrip-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 toindicate the joystick is alive on the bus.T = Message received.F = Message not received.

T_Axis_Psn S16 -10000 to +10000 Indicates the position of the joystick’s rotational (theta) axis.-10000 = -100%+10000 = +100%

X_Grp_Psn S16 -10000 to +10000 Indicates the position of a grip-mounted, X-axis proportional switch.-10000 = -100%+10000 = +100%

X_Axis_Psn S16 -10000 to +10000 Indicates the position of the joystick’s X-axis.-10000 = -100%+10000 = +100%

YGrp_Psn S16 -10000 to +10000 Indicates the position of a grip-mounted, Y-axis proportional switch.-10000 = -100%+10000 = +100%

Y_Axis_Psn S16 -10000 to +10000 Indicates 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 andfailure information reported by the joystick.

Error_Code U16 0 to 0xFFFF Indicates the specific error condition reported for the joystick.• 0x3110 = Voltage high• 0x3120 = Voltage low• 0xFF10 = Not calibrated• 0xFF20 = Redundancy failure

Error_Register U8 0 to 10000 Indicates what type of error is reported by the joystick.• Bit 0 : Generic• Bit 1 : Current• Bit 2 : Voltage• Bit 3 : Temperature• Bit 4 : Communication• Bit 5 : Device• Bit 6 : Reserved• Bit 7 : Manufacturer Specific

OccurrenceCounter U8 0 to 127 Indicates number of recorded instances of the error.

User ManualPLUS+1® Compliant JS1 CANopen Joystick Function Block

JS1_CANopen Function Block

6 | © Danfoss | March 2018 AQ00000203en-US0102

Page 7: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

JS1_CANopen Function Block Outputs (continued)

Output Type Range Description

SensorIdentifier U8 0 to 255 Indicates the source of the error reported by the joystick.• 0x80 = X• 0x81 = Y• 0x82 = Grip X• 0x83 = Grip Y• 0x84 = Grip Theta

Rx_EMCY BOOL —— Indicates when the function block receives a CANopen EMCY message. This messagereports joystick detected failures and fault conditions.T = Message received.F = Message not received.

Status and Fault Logic

Use status and fault codes to determine if the function block is operating properly.

Boolean Output Signals

You can change the states of the Status and Fault signals to impact the value of Boolean output signals.

Output Signal Status Signal State Fault Signal State Output Signal Value

Btn1–Btn24 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 CANopen Joystick Function Block

JS1_CANopen Function Block

© Danfoss | March 2018 AQ00000203en-US0102 | 7

Page 8: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

Configuration Values

The first level inside the function block contains constant values that set the function block’s operatingcharacteristics.

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

Input Type Range Description

Timeouts

Heartbeat_Timeout_ms U16 0 to 1000 Heartbeat_Timeout_ms sets the maximum time allowed between received NMTmessages before either Timeout_Heartbeat or NoMsgReceived_Heartbeat is set totrue.

PDO1_Timeout_ms U16 0 to 1000 PDO1_Timeout_ms sets the maximum time allowed between received PDO1 messagesbefore either Timeout_PDO1 or NoMsgReceived_PDO1 is set to true.

PDO2_Timeout_ms U16 0 to 1000 PDO2_Timeout_ms sets the maximum time allowed between received PDO2 messagesbefore either Timeout_PDO2 or NoMsgReceived_PDO2 is set to true.

PDO3_Timeout_ms U16 0 to 1000 PDO3_Timeout_ms sets the maximum time allowed between received PDO3 messagesbefore either Timeout_PDO3 or NoMsgReceived_PDO3 is set to true.

NMT Strt BOOL — Enables the function block to transmit a request to the joystick to enter the operationalstate when the joystick is in Boot up or Preoperational state.

User ManualPLUS+1® Compliant JS1 CANopen Joystick Function Block

JS1_CANopen Function Block

8 | © Danfoss | March 2018 AQ00000203en-US0102

Page 9: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

Function Block Connections

Item Description

1 Configures the function block to listen for CAN data from the joystick’s network address.

2 Configures the function block to listen for CAN data from Extended or Standard CAN IDs.

3 Determines the CAN port connected to the joystick.

4 Reports CANopen Emergency Object failures detected and reported by the joystick.

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.

6 Reports faults for individual signals or communication timeout.

7 Output bus containing the joystick axis position, proportional grip inputs, and button states.

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 CANopen Joystick Function Block

JS1_CANopen Function Block

© Danfoss | March 2018 AQ00000203en-US0102 | 9

Page 10: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

User ManualPLUS+1® Compliant JS1 CANopen Joystick Function Block

10 | © Danfoss | March 2018 AQ00000203en-US0102

Page 11: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

User ManualPLUS+1® Compliant JS1 CANopen Joystick Function Block

© Danfoss | March 2018 AQ00000203en-US0102 | 11

Page 12: JS1 CANopen CAN Joystick Function Block User Manual1 Configures the function block to listen for CAN data from the joystick’s network address. 2 Configures the function block to

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 AQ00000203en-US0102

Products we offer:

• Bent Axis Motors

• Closed Circuit Axial PistonPumps and Motors

• Displays

• Electrohydraulic PowerSteering

• Electrohydraulics

• Hydraulic Power Steering

• Integrated Systems

• Joysticks and ControlHandles

• Microcontrollers andSoftware

• Open Circuit Axial PistonPumps

• 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