Via Montefeltro, 6 – 20156 Milano (MI) – Italy
- 12 -
Tel. +39 (02) 3088583 – Fax +39 (02) 33406697
www.blinkmarine.com
–
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