Example:
Example:
14. Object 6000h: Digital input module, keys states
This module contains all the Switch State information.
A one indicates the switch is on, a zero indicates the switch is off.
The keypad must be enabled, see NMT messages.
•
PKP 2200
Identifier
600h + current CAN ID
Default 615h
Byte 0
40h
Read Device Register
Byte 1
00h
CAN Object 6000h
Byte 2
60h
Byte 3
00h
Sub index
Byte 4,7
00h
Not used
Direction
Identifier
Format
Message
Data
To Keypad
615
Std
40 00 60 00 00 00 00 00
Keypad
reply
595
std
43 00 60 00 00 00 00 00 No key pressed
43 00 60 00 01 00 00 00 Key 1 pressed
43 00 60 00 02 00 00 00 Key 2 pressed
43 00 60 00 04 00 00 00 Key 3 pressed
43 00 60 00 08 00 00 00 Key 4 pressed
43 00 60 00 03 00 00 00 Key 1 and 2 pressed
43 00 60 00 0A 00 00 00 Key 2 and 4 pressed
43 00 60 00 07 00 00 00 Key 1, 2 and 3 pressed
43 00 60 00 0F 00 00 00 All keys pressed
•
PKP 2400
Identifier
600h + current CAN ID
Default 615h
Byte 0
40h
Read Device Register
Byte 1
00h
CAN Object 6000h
Byte 2
60h
Byte 3
00h
Sub index
Byte 4,7
00h
Not used
Direction
Identifier
Format
Message
Data
To Keypad
615
Std
40 00 60 00 00 00 00 00
Keypad
reply
595
std
43 00 60 00 00 00 00 00 No key pressed
43 00 60 00 01 00 00 00 Key 1 pressed
43 00 60 00 02 00 00 00 Key 2 pressed
43 00 60 00 04 00 00 00 Key 3 pressed
43 00 60 00 08 00 00 00 Key 4 pressed
43 00 60 00 10 00 00 00 Key 5 pressed
43 00 60 00 20 00 00 00 Key 6 pressed
43 00 60 00 40 00 00 00 Key 7 pressed
43 00 60 00 80 00 00 00 Key 8 pressed
43 00 60 00 03 00 00 00 Key 1 and 2 pressed
43 00 60 00 81 00 00 00 Key 1 and 8 pressed
43 00 60 00 FF 00 00 00 All keys pressed
Blink S.r.l.
Via
Montefeltro, 6
- 20156 Milano - Italy - Tel. +39 02 3088583 - Fax +39 02 33406697
www.blinkmarine.com - info@blinkgroup.com
16
FOR REFERENCE ON
LY