background image

 

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

- 12 - 

 

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

 

 

 

www.blinkmarine.com

 – 

[email protected]

 

 

 

PK-1400_J1939_UM_REV1.2 

17.

 

Heartbeat (75h)

 

This message enables or disables the transmission of Heartbeat message. This message is 
designed to indicate to other devices on the bus that this unit continues to function. 

Byte 0 

04h 

Header bytes 

Byte 1 

1Bh 

Byte 2 

75h 

Heartbeat  

Byte 3 

XXh 

XX: 
00h Disabled (default) 
01h Enabled 

Byte 4 

YYh 

YY: Period in milliseconds ÷ 10 
From 05h (50ms) to FEh (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 

Set 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 

K8 K7 K6 K5 K4 K3 K2 K1 

Button state indicators 
Each bit represents a button state  
0: OFF 
1: ON 

Byte 5 

00 00 K14 K13 K12 K11 K10 K9 

Byte 6,7 

FFh 

Not used 

Example: 

Direction 

Identifier 

Format  Message 

Data 

From 
keypad 

18EFFF21h  Ext 

04 1B F9 03 02 00 FF 
21 

Heartbeat message with 
button 2 pressed. 

 

18.

 

 

Periodic Key message period (77h)

 

This message sets the period time for the Key state messages (71h). This does not enable 
or disable the messages. 

 

Byte 0 

04h 

Header bytes 

Byte 1 

1Bh 

Byte 2 

77h 

Periodic key message period 

Byte 3 

XXh 

XX: Period in milliseconds ÷ 10 
From 05h (50ms) to FEh (2.54 sec) 

Byte 4,7 

FFh 

Not used 

Example: 

Direction  Identifier 

Format 

Message 

Data 

To 
keypad 

18EF2100h  Ext 

04 1B 77 0A FF FF FF FF 

Period set to 100ms 

 

Содержание PK-1400

Страница 1: ...583 Fax 39 02 33406697 www blinkmarine com info blinkgroup com PK 1400_J1939_UM_REV1 2 PK 1400 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 Set Source Address 70h 9 14 Periodic state transmission 71h 9 15 Event state transmission 72h 10 16 LED Acknowledgment 73h 10 17 Address Claim at boot 74h 11 18 Heartbeat 75h 12 19 Periodic Key message period 77h 12 20 Start Demo mode 7Ah 13 21 Set backlight level at startup 7Bh ...

Страница 3: ...V1 2 1 How to connect Deutsch 4 pin 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 Key LED PIN COLOUR FUNCTION 1 Blue CAN L 2 White CAN H 3 Black Negative battery 4 Red Vbatt 12 24V ...

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

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

Страница 6: ...h LED Secondary Color only for alt blink 00 off 01 red 02 green 03 color 03 04 color 04 Byte 7 FFh Not used Examples Direction Identifier Format Message Data To keypad 18EF2100h Ext 04 1B 01 01 01 01 00 FF LED 1 red To keypad 18EF2100h Ext 04 1B 01 01 00 00 00 FF LED 1 off To keypad 18EF2100h Ext 04 1B 01 02 03 01 00 FF LED 2 color 03 To keypad 18EF2100h Ext 04 1B 01 04 02 01 00 FF LED 4 green To ...

Страница 7: ...et backlight level 03h This message sets the value of the backlight LED brightness The value can be set from 0 to 3Fh for 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 10 FF ...

Страница 8: ... Byte 3 6 XXh XXh XXh XXh SW revision ASCII Byte 7 00h Not used Example Direction Identifier Format Message Data 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 00 V2 1 11 Set startup LED show 34h Byte 0 04h Header bytes Byte 1 1Bh Byte 2 34h Startup LED show Byte 3 XXh XX 00h OFF 01h Complete led show default 02h Amber fast flas...

Страница 9: ... 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 05 21 FF FF FF Set source address 05h Set keypad identifier 21h 13 Periodic 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 the keypad For s...

Страница 10: ...FF FF Disable event state transmission 15 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 Ex...

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

Страница 12: ...beat 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 K8 K7 K6 K5 K4 K3 K2 K1 Button state indicators Each bit represents a button state 0 OFF 1 ON Byte 5 00 00 K14 K13 K12 K11 K10 K9 Byte 6 7 FFh Not used Example Direction Identifier Format Message Data From keypad 18EFFF21h Ext 04 1B F9 03 02 00 F...

Страница 13: ...de command or another command message Byte 0 04h Header bytes Byte 1 1Bh 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 20 Set backlight level at startup 7Bh This message sets the value of the backlight at keypad power up The value can be set...

Страница 14: ...tup Byte 3 XXh XX Value From 00h min to 3Fh 100 Byte 4 7 FFh Not used Example Direction Identifier Format Message Data To keypad 18EF2100h Ext 04 1B 7C 10 FF FF FF FF LED dim set to 25 22 Set backlight color 7Dh This message sets the color of the backlight Byte 0 04h Header bytes Byte 1 1Bh Byte 2 7Dh Set backlight color Byte 3 XXh XX color 01 red 02 green 03 blue 04 yellow 05 cyan 06 magenta 07h ...

Страница 15: ... 0 04h Header bytes Byte 1 1Bh Byte 2 6Fh Set baud rate message Byte 3 02h 500kbit s 03h 250kbit s Byte 4 7 FFh Not used Example Direction Identifier Format Message Data To keypad 18EF2100h Ext 04 1B 6F 02 FF FF FF FF Set baud rate 500kbit s 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 Da...

Страница 16: ...nge color pressing key 1 3 Pause step 2 4 Return to the starting demo mode state If you press the other keys you have no effect 25 Revision history Date Manual Revision Comment Related SW version 03 02 2017 1 0 First Release 23 11 2017 1 1 Second Release Replaced 0 with min value for LED brightness Corrected heartbeat generated message with exact number of keys Updated LED acknowledgement message ...

Отзывы: