background image

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

- 4 - 

 

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

 

 

 

www.blinkmarine.com

 – 

[email protected]

 

 

 

PKP-2200-SI_J1939_UM_REV1.0 

 

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 PK and 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 

 

 

 

Содержание PKP-2200-SI

Страница 1: ...3 Fax 39 02 33406697 www blinkmarine om info blinkgroup com PKP 2200 SI_J1939_UM_REV1 0 PKP 2200 SI 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 ...

Страница 2: ...backlight level 03h 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 state transmission 71h 9 16 Event state transmission 72h 10 17 LED Acknowledgment 73h 10 18 Address Claim at boot 74h 11 19 Heartbeat 75h 12 20 Periodic Key message period 77h 12 21 Start Demo mode 7Ah 13 22 Set back...

Страница 3: ..._REV1 0 1 How to connect CAN bus Each end of the 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 2 Reference PKP 2200 SI PIN COLOUR FUNCTION 1 Blue CAN L 2 White CAN H 3 Black Negative battery 4 Red Vbatt 12 24V ...

Страница 4: ...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 ...

Страница 5: ...dcast message See chapter 2 for Key number reference Byte 0 04h Header bytes Byte 1 1Bh Byte 2 01h Contact state message Byte 3 XXh XX Key number Byte 4 YYh Contact State 00h Switch OFF Key released 01h 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 Fro...

Страница 6: ...en Byte 5 ZZh LED 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 To Keypad 18EF2100h Ext 04 1...

Страница 7: ...Set backlight level 03h This message sets the value of the backlight LED brightness The value can be set from 0 to 3Fh from 0 to 100 of the brightness range Byte 0 04h Header bytes Byte 1 1Bh Byte 2 03h Backlight brightness level message Byte 3 XXh XX Value default 00h From 00h 0 to 3Fh 100 Byte 4 7 FFh Not used Example Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 03 0C F...

Страница 8: ...lete LED show default 02h Fast flash Byte 4 7 FFh Not used Example Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 34 00 FF FF FF FF Set Startup LED show OFF 13 Baud rate setting 6Fh This message is used to change the baud rate of the CAN bus Connecting only one keypad to the bus when changing the baud rate is recommended If an invalid value is chosen then no change is done ...

Страница 9: ...h to FEh FFh No change Byte 4 YYh YY Keypad Identifier From 00h to FEh 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 Set Source address 18h Set Keypad identifier 22h 15 Periodic state transmission 71h This message enables or disables the periodic transmission of the Key state When enabled one contact state messa...

Страница 10: ...F FF FF Disable event state transmission 17 LED Acknowledgment 73h This message 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 ...

Страница 11: ... connected 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 t...

Страница 12: ...t 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 00 K4 K3 K2 K1 Button state indicators Each bit represents a button state 0 OFF 1 ON Byte 5 6 7 FFh Not used Example Direction Identifier Format Message Data From Keypad 18EFFF21h Ext 04 1B F9 03 01 FF FF...

Страница 13: ...Bh Byte 2 7Ah Demo mode Byte 3 XXh XX 00h Disabled Default 01h Enabled Byte 4 7 FFh Not used Example Direction Identifier Format Message Data To Keypad 18EF2100h Ext 04 1B 7A 01 FF FF FF FF Demo mode enabled 22 Set backlight level at startup 7Bh This message sets the value of the backlight at keypad power up The value can be set from 0 to 3Fh from 0 to 100 of the brightness range Byte 0 04h Header...

Страница 14: ...Set backlight color Byte 3 XXh XX color 01h red 02h green 03h blue 04h yellow 05h cyan 06h magenta 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 02 FF FF FF FF Set backlight color to green 25 Set CAN protocol This set of messages are used to change to the desired CANbus protocol Change ...

Страница 15: ... 6 Magenta 7 White light blue 8 Amber 9 Yellow green 10 OFF Pressing key 2 you can increase LED and backlight brightness Pressing key 4 you can decrease LED and backlight brightness For the key 3 each time that you press the button 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 keys ...

Отзывы: