Via Montefeltro, 6 – 20156 Milano (MI) – Italy
- 11 -
Tel. +39 (02) 3088583 – Fax +39 (02) 33406697
www.blinkmarine.com
–
PKP-2400-LI_CANOpen_UM_REV1.1
SDO Messages:
A SDO (Service Data Object) is providing direct access to object entries of a CANopen
device's object dictionary.
13.
Object 6500h: Command Module
a)
Set single LED state: 01h
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
01h
Command: Set single LED state
Byte 5
XXh
Key Number (01-04h) for PKU 2200
Key Number (01-08h) for PKU 2400
Key Number (01-0Ch) for PKU 2600
Byte 6
00h
OFF
01h – 03h
Red: 01h on; 02h blink; 03h alt blink
04h – 06h
Green: 04h on; 05h blink; 06h alt blink
07h – 09h
Blue: 07h on; 08h blink; 09h alt blink
0Ah
RED/GREEN blink 0Ah
0Ch
AMBER/RED blink 0Ch
0Eh
GREEN/AMBER blink 0Eh
Byte 7
00h
Not used
Examples:
Direction
Identifier Format Message
Data
To Keypad
615
Std
23 00 65 01 01 08 01 00
Switch on LED #8 red
Keypad
reply
595
Std
60 00 65 01 00 00 00 00
Switch off LED
To Keypad
615
Std
23 00 65 01 01 09 04 00
Switch on LED #9
green
Keypad
reply
595
Std
60 00 65 01 00 09 07 00
Switch on LED #9 blue
To Keypad
615
Std
23 00 65 01 01 0C 05 00
23 00 65 01 01 0C 09 00
LED #12 blue and
green blinks in
alternate mode
b)
Set LED brightness level: 02h
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
02h
Command: Set LED brightness
Byte 5
XXh
Intensity 00h-3Fh
à
min – 100%
brightness
Byte 6,7
00h
Not used
Example:
Direction
Identifier Format Message
Data
To Keypad
615
Std
23 00 65 01 02 10 00 00
Brightness = 25%
Keypad reply
595
Std
60 00 65 01 00 00 00 00