background image

 
 

Via Montefeltro, 6 – 20156 Milano (MI) – Italy 

- 4 - 

 

Tel. +39 (02) 3088583 – Fax +39 (02) 33406697 

 

 

 

www.blinkmarine.com

 – 

[email protected]

 

 

 

FOR REFERENCE ONLY

 

3.

 

Message header description 

 

The 29-bit CAN identifier used in J1939 is structured in the following way. 

Priority

 

Reserved  Data Page  PDU Format  PDU Specific  Source Address 

3 bits 

1 bit 

1 bit 

8 bits 

8 bits 

8 bits 

 

The proprietary format used by PKP keypads is defined as follows: 
Priority = 6. 
Reserved = 0. 
Data page = 0. 
PDU Format = EFh (the message is addressable). 
PDU Specific = Destination Address. 
Parameter Group Number (PGN) = 61184 (EF00h). 
 
An example of CAN identifier of messages sent to the keypad is 18EF2100h where: 
21h is the destination address (keypad) 
00h is the source address. 
 
An example of CAN identifier of messages sent by the keypad is 18EFFF21h where: 
FFh refers to broadcast messages (no specific destination address) 
21h is the source address (keypad). 

 

4.

 

General Data Format 

 

The proprietary protocol has defined a general format for the data fields in the PGN 61184. 
The format consists of: 
1 header field (2 bytes) 
1 command byte  
5 bytes (the remaining field) are defined specifically for each command.  
 
The data length is 8 bytes,

 

unused bits and bytes are set to all 1’s (0xFF). 

 

Byte 0 

          04h 

Byte 1 

1Bh 

Byte 2 

Command 

Byte 3-7 

Data required for each specific 

command 

 

 

 

Summary of Contents for J1939

Page 1: ...8583 Fax 39 02 33406697 www blinkmarine com info blinkgroup com FOR REFERENCE ONLY PKP 1500 LI J1939 USER MANUAL THE PRESENT MANUAL IS FOR REFERENCE ONLY AND MIGHT BE NOT UP TO DATE TO THE LATEST VERSION PLEASE CONTACT US FOR GETTING THE MOST UPDATED FILE ...

Page 2: ...3h 7 10 Set startup keys message 28h 7 11 Get software revision 2Ah 8 12 Set startup LED show 34h 8 13 Baud rate setting 6Fh 8 14 Set Source Address 70h 9 15 Periodic key state transmission 71h 9 16 Event state transmission 72h 10 17 LED Acknowledgment 73h 10 18 Address Claim at boot 74h 11 19 Heartbeat message 75h 12 20 Key state message period 77h 13 21 Start Demo mode 7Ah 13 22 Default backligh...

Page 3: ...he CAN bus is terminated with 120Ω resistors in compliance with the standard to minimize signal reflections on the bus You may need to place a 120Ω resistor between CAN L and CAN H Warning to avoid breakage do not tighten the backshell nuts with a torque exceeding 0 8 Nm 2 Reference PKP1500LI PIN COLOUR FUNCTION 1 Blue CAN L 2 White CAN H 3 Black Negative battery 4 Red Vbatt 12 24V ...

Page 4: ...mber PGN 61184 EF00h An example of CAN identifier of messages sent to the keypad is 18EF2100h where 21h is the destination address keypad 00h is the source address An example of CAN identifier of messages sent by the keypad is 18EFFF21h where FFh refers to broadcast messages no specific destination address 21h is the source address keypad 4 General Data Format The proprietary protocol has defined ...

Page 5: ...nce Byte 0 04h Header bytes Byte 1 1Bh Byte 2 01h Key Contact state Byte 3 XXh XX Key number Byte 4 YYh Contact State 00 Switch OFF Key released 01 Switch ON Key pressed Byte 5 ZZh Keypad Identifier default 21h Byte 6 7 FFh Not used Examples Direction Identifier Format Message Data From Keypad 18EFFF21h Ext 04 1B 01 01 01 21 FF FF Key 1 ON From Keypad 18EFFF21h Ext 04 1B 01 01 00 21 FF FF Key 1 OF...

Page 6: ...ED State 00h off 01h on 02h blink 03h alternate blink Byte 6 WWh LED Secondary Color only for alt blink 00h off 01h red 02h green 03h blue 04h yellow 05h cyan 06h magenta 07h white light blue 08h amber orange 09h yellow green Byte 7 FFh Not used Examples Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 01 01 01 01 00 FF LED key1 red on To Keypad 18EF2100h Ext 04 1B 01 01 00 0...

Page 7: ...le Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 02 2F FF FF FF FF Brightness level set to 75 8 Set backlight level 03h This message sets the value of the backlight brightness The value can be set from 0 to 3Fh 0 100 of the brightness range NOTE this setting has temporary effect and at the startup comes back to the default value If the default value is desired to change pl...

Page 8: ... To Keypad 18EF2100h Ext 04 1B 2A FF FF FF FF FF Get software revision From Keypad 18EFFF21h Ext 04 1B 2A 56 32 2E 31 30 V2 10 11 Set startup LED show 34h Byte 0 04h Header bytes Byte 1 1Bh Byte 2 34h Set startup LED show Byte 3 XXh XX 00h OFF 01h Complete LED show default 02h Fast flash Byte 4 7 FFh Not used 12 Baud rate setting 6Fh This message is used to change the baud rate of the CAN bus Conn...

Page 9: ... FDh FEh reserved FFh no change Byte 5 7 FFh Not used Example Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 70 18 22 FF FF FF Source address set to 18h keypad identifier set to 22h 14 Periodic key state transmission 71h This message enables or disables the periodic transmission of the Key state When enabled one contact state message is periodically sent for each button of ...

Page 10: ...FF Event state transmission disabled 16 LED Acknowledgment 73h This command enables or disables the transmission of the LED Acknowledgement message When this feature is enabled the keypad transmits an acknowledgement message each time a LED Command is received Byte 0 04h Header bytes Byte 1 1Bh Byte 2 73h LED Acknowledgement Byte 3 XXh XX 00h Disabled default 01h Enabled Byte 4 7 FFh Not used Exam...

Page 11: ...nected to the same network to send a message containing the device s address and name The keypad checks every response and compares the names to see who has the highest priority If a device is already using the address and has a higher priority then a new address is selected and the process starts over If the keypad has a higher priority than the device in use then it waits for other systems to re...

Page 12: ...Eh 2 54 sec Byte 5 7 FFh Not used Example Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 75 01 32 FF FF FF Heartbeat enabled with 500ms period Heartbeat generated message Byte 0 04h Header bytes Byte 1 1Bh Byte 2 F9h Heartbeat message Byte 3 XXh XX Message counter incremented each message sent Byte 4 00 00 00 K5 K4 K3 K2 K1 Button state indicators Each bit represents a butt...

Page 13: ... 1B 77 3C FF FF FF FF Period set to 600ms 20 Start Demo mode 7Ah This message enables the Demo mode function Demo mode is a special feature that consists in different LED states for each button pressing Refer to the appendix Demo mode instructions to try these special features Disconnect and reconnect the keypad after sending the message to enter this mode To exit the Demo mode send the Disable De...

Page 14: ...Byte 4 7 FFh Not used Example Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 7B 10 FF FF FF FF Default backlight level set to 25 22 Default LED indicators brightness level 7Ch This message sets the default value of the LED indicator brightness level The value can be set from 0 to 3Fh min 100 of the LED dimming range Byte 0 04h Header bytes Byte 1 1Bh Byte 2 7Ch Default LED ...

Page 15: ...genta 07h white light blue 08h amber orange 09h yellow green Byte 4 7 FFh Not used Example Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 7D 07 FF FF FF FF Default backlight color set to blue 24 Set CAN protocol This set of messages are used to change to the desired CANbus protocol Change from J1939 to CANopen Direction Identifier Format Message Data To Keypad 18EF2100h Ext...

Page 16: ...F Holding down the key 2 you can increase LED brightness level Holding down the key 3 you can decrease LED brightness level If you press the key 4 there are different steps in this sequence 1 Complete LED show of all colors 2 Backlight active with keys on in sequence it is possible to change the color of LED indicators by pressing button 1 and the color of the backlight by pressing button 5 3 Alte...

Reviews: