Via Montefeltro, 6 – 20156 Milano (MI) – Italy
- 13 -
Tel. +39 (02) 3088583 – Fax +39 (02) 33406697
www.blinkmarine.com
–
PKP-2400-LI_CANOpen_UM_REV1.1
d)
Set device active on startup: 10h
If keypad is active on startup don
’
t need Start command from host
Identifier
600h + current CAN ID
Default 615h
Byte 0
23h
Set Device Register
Byte 1
00h
CAN Object 6500h
Byte 2
65h
Byte 3
01h
Sub index
Byte 4
10h
Command: Set device active on startup
Byte 5
XXh
00h: Not active
01h: Active
Byte 6,7
00h
Not used
Example:
Direction
Identifier Format Message
Data
To Keypad
615
Std
23 00 65 01 10 01 00 00
Set device active on
startup
Keypad reply
595
Std
60 00 65 01 00 00 00 00
e)
Set device baud rate: 11h
Identifier
600h + current CAN ID
Default 615h
Byte 0
23h
Set Device Register
Byte 1
00h
CAN Object 6500h
Byte 2
65h
Byte 3
01h
Sub index
Byte 4
11h
Command: Set baud rate
Byte 5
XXh
00h: 125k (default)
01h: 250k
02h: 500k
Byte 6,7
00h
Not used
Example:
Direction
Identifier
Format Message
Data
To Keypad
615
Std
23 00 65 01 11 01 00 00 Baud rate = 250k
Keypad reply
595
Std
60 00 65 01 00 00 00 00
f)
Set periodic transmission: 12h
Note: the keypad must be activated, see NMT messages.
Identifier
600h + current CAN ID
Default 615h
Byte 0
23h
Set Device Register
Byte 1
00h
CAN Object 6500h
Byte 2
65h
Byte 3
01h
Sub index
Byte 4
12h
Command: Set periodic messages
Byte 5
XXh
00h: off; 01h: on
Byte 6
YYh
Period in milliseconds * 10
Byte 7
00h
Not used
Example:
Direction
Identifier
Format Message
Data
To Keypad
615
Std
23 00 65 01 12 01 32 00
Period = 500 ms
Keypad reply
195
Std
60 00 65 01 00 00 00 00