Indicator numbers 16, 17, and 18 are skipped, as button 6 does not have indicators. Joystick Controller Digital Joystick VDC Rotary Encoder VDC Figure 1 – 3J Gen 2.0 Joystick & VDC Button and Indicator Map Grayhill Confidential Page 5 2/15/24...
Figure 2 – Joystick Controller Output The Joystick Controller also features a momentary rotary input that provides a momentary signal indicating clockwise or counterclockwise rotation. This is reported on the CAN bus as part of Basic Joystick Message 1. Grayhill Confidential Page 6 2/15/24...
The device will wake with one of the following events: • Button Press • CAN Traffic From here, the device enters Run. Upon wake-up, the device will send an Address Claimed message. Grayhill Confidential Page 7 2/15/24...
For n = 1, see the above table. For n > 1, the indicator behavior is the same for button n as is described for button 1 in the table above, but the state for brightness control does not change. Grayhill Confidential Page 8 2/15/24...
For a dual Hall effect Joystick Controller, normal output features a primary and a nearly identical secondary set of X and Y positional values for the joystick. This provides sensor Grayhill Confidential Page 9 2/15/24...
In order to configure the device, the PC tool must send out an Address Claim message using source address 0xFD (Reserved for OEM) with the Grayhill Manufacturer Code of 294 (0x126). When the device detects this address claim, it will allow for configuration of the...
ECUID_PN: ASCII string up to 64 characters long occupying field 1 of the ECUID PGN request 4.3.2. ECUID Location ID=0x01,Size <= 64 ECUID_LOC: ASCII string up to 64 characters long occupying field 3 of the ECUID PGN request Grayhill Confidential Page 11 2/15/24...
ID=0x0C, Size = 1 NAME_FUNCTION: Integer value representing the Function portion of the J1939 Name 4.3.14.J1939 Name Vehicle System ID=0x0D, Size = 1 NAME_VEH_SYS: Integer value representing the Vehicle System portion of the J1939 Name Grayhill Confidential Page 12 2/15/24...
LED_STAT_2_PGN: The lower 16 bits is the PGN used for transmitting eight data bytes containing the indicator status of indicators 33 to 64. The two bit field occupying locations 17 and 18 determine the data page where 0b00 is Data Page 0. Grayhill Confidential Page 13 2/15/24...
4.3.29.LED Stuffing Configuration 1 ID=0x1C, Size = 3 **** GRAYHILL INTERNAL USE ONLY **** DO NOT MODIFY **** Each bit within the three bytes represents an indicator LED controlled by the first driver and determines if that LED is stuffed or not. This is needed to prevent false failures during LED diagnostics.
4.3.34.LED PWM BASE 1 ID=0x21, Size = 24 **** GRAYHILL INTERNAL USE ONLY **** DO NOT MODIFY **** Each byte corresponds to an indicator LED and is used for balancing the intensity of the indicators when different LED types with different forward voltage drops are used. The valid range is between 0 and 255.
**** UNUSED (3K Feature) **** DO NOT MODIFY **** AUXIO1_TX_PER: The value sets the transmission period of the button PGN in units of 10ms. Ex. A value of 20 sets the period to 200ms. A value of zero inhibits periodic transmission. Grayhill Confidential Page 16 2/15/24...
DEVICE_SA_SAVE: When the device is configured for Arbitrary Address Capable and it successfully claims a different address than when it started, this option determines if this new source address is attempted at the next power-up (enabled) or if it tries the default source address. Grayhill Confidential Page 17 2/15/24...
Used in the following message that is only applicable for dual output proportional joystick: 5.5.23.2 Basic Joystick Message 2 (BJM2) 64984 (0xFDD8) Communications 5.1. Message Header Description The following figure illustrates the format of the CAN 2.0B message ID. A brief description of each field follows. Grayhill Confidential Page 18 2/15/24...
The byte and bit ordering and location within the data field are per the J1939 specification. The first data byte is sent first and is referenced as Byte 1. The LSB of the data bytes are on the right and are referenced as Bit 1. Grayhill Confidential Page 19 2/15/24...
5.3. Joystick Controller and VDC Source Address The source address of the Grayhill standard Joystick Controllers and VDCs is set by default to 241 (F1h). This may be modified either dynamically if Dynamic Addressing is turned on, with the Commanded Address message in accordance with J1939-81, or with Configuration Command (requires a reset).
Used for memory reading/writing during device re-flashing. Refer to SAE J1939/73 for more detail. 5.5.4. Memory Access Response (DM15) 55296 (0xD800) Used for memory reading/writing during device re-flashing. Refer to SAE J1939/73 for more detail. Grayhill Confidential Page 21 2/15/24...
5.5.9. Transport Protocol Data Transfer 60160 (0xEB00) Used for messages that require nine bytes or more. Refer to J1939/21 5.5.10.Transport Protocol Connection Mgmt 60416 (0xEC00) Used for messages that require nine bytes or more. Refer to J1939/21 Grayhill Confidential Page 22 2/15/24...
= 255. This data is stored in non-volatile memory INIT VAL (Param = 2): Changes the initial value after boot to the value in DATA. This data is stored in non-volatile memory. It does not manually change the encoder’s value to DATA. Grayhill Confidential Page 24 2/15/24...
5.5.13.Prop A (Configuration Mode*) 61184 (0xEF00) *Device is placed in this mode by sending the Address Claimed message from a Source Address of 0xFD with Manufacturer Code of 294 (Grayhill). Direction – Transmit and Receive Priority – 7 Data Length – Variable...
PGN: 65235 (0xFED3) Direction: Not Directly Transmitted or Received Data Page: PDU Format: PDU Specific: 202 Priority: Data Length: TX Rate: A request clears the active trouble codes then a Positive Acknowledgement is sent Grayhill Confidential Page 26 2/15/24...
ASCII characters. Each field delimited with Variable Software ID field an asterisk and up to 200 characters Each asterisk delimited field is further delimited by commas with the following sub fields • Grayhill Software part number. • Software revision • Compile Date •...
Example: Pressing button 2 will cause the following message to be transmitted. ID=0x18FF03F1, LEN=8, DATA=0x00,0x00,0x00,0x04,0xC0,0xFF,0xFF,0xFF Example: Pressing buttons 2 and 6 and pushing the joystick upward will cause the following message to be transmitted. ID=0x18FF03F1, LEN=8, DATA=0x10,0x00,0x00,0x04,0xC1,0xFF,0xFF,0xFF Grayhill Confidential Page 28 2/15/24...
0x3FF - Unused 1 byte Unused All bits set 00 - Button not pressed 01 - Button pressed 2 bits Button 4 Status 10 - Error 11 - Unused 2 bits Button 3 Status Same Grayhill Confidential Page 29 2/15/24...
Page 30
2 bits Encoder Neutral Position Status 10 - Error 11 - Unused 00 - Not in CCW position Encoder Counter Clockwise 01 - In CCW position 2 bits Position Status 10 - Error 11 - Unused Grayhill Confidential Page 30 2/15/24...
Page 31
0x000 to 0x3E8 - Valid magnitude (0 to 1000). Value changes by 20 (2%) each 3.7 10 bits Joystick 2 Y Position step. 0x3FE - Error 0x3FF - Unused 5-8 4 bytes Unused All bits set Grayhill Confidential Page 31 2/15/24...
10 (0x0A) 1000ms 4.3.28 LED_TIMEOUT_PER 27 (0x1B) 0-255 30 (0x1E) 3000ms Appendix C 4.3.29 LED_STUFFING_1~24 28 (0x1C) DO NOT Grayhill Use Only MODIFY 4.3.30 LED_STUFFING_25~48 29 (0x1D) DO NOT Grayhill Use Only MODIFY Unused – N/A for this product 4.3.31 LED_IND_DEFAULT...
Page 35
4.3.36 LED_PWM_BASE_2 35 (0x23) DO NOT Grayhill Use Only MODIFY 4.3.37 LED_IREF_BASE_2 36 (0x24) DO NOT Grayhill Use Only MODIFY 4.3.38 DEVICE_CFG 37 (0x25) DO NOT Grayhill Use Only MODIFY 4.3.39 FLEXIO_CFG 38 (0x26) DO NOT Unused – N/A for this product MODIFY 4.3.40...
If other messages are present on the CAN bus when the device enters low power mode from an absence of LED messages, the device will immediately re-enter run mode and the timeout cycle will repeat. Grayhill Confidential Page 36 2/15/24...
RUN MODE Changing an EEPROM configuration setting (example is changing low power mode) 1) First, send an address claim message with Grayhill's CAN manufacturer code and debug tool source address FD to make the unit listen to subsequent configuration messages: 1CEEFFFD 00 00 C0 24 00 00 00 00 2) Then send the message to set the parameter.
Need help?
Do you have a question about the 3J Gen 2.0 and is the answer not in the manual?
Questions and answers