Via Montefeltro, 6 – 20156 Milano (MI) – Italy
- 11 -
Tel. +39 (02) 3088583 – Fax +39 (02) 33406697
www.blinkmarine.com
–
FOR REFERENCE ONLY
b)
Read LED ON
The LED have the same mapping of Set LED ON message
•
PKP 1500LI
Identifier
600h + current CAN ID
Default 615h
Byte 0
40h
Read Device Register
Byte 1
01h
CAN Object 2001h
Byte 2
20h
Byte 3
XXh
XX: Sub index
01h: Red LED
02h: Green LED
03h: Blue LED
Byte 4,7
00h
Not used
Examples:
Direction
Identifier Format Message
Data
To Keypad
615
Std
40 01 20 01 00 00
00 00
Read red LED
Keypad reply
595
Std
4F 01 20 01 08 00
00 00
Only red LED #4 ON
To Keypad
615
Std
40 01 20 02 00 00
00 00
Read green LED
Keypad reply
595
Std
4F 01 20 02 01 00
00 00
Only green LED #1 ON
To Keypad
615
Std
40 01 20 03 00 00
00 00
Read blue LED
Keypad reply
595
Std
4F 01 20 03 04 00
00 00
Only blue LED #3 ON
18.
Object 2002h: Digital output module.
This module sets and reads the LED Blink States.
Each bit position represents the corresponding LED. A one indicates the LED is blinking a
zero indicates the LED is not blinking. If the blink message is sent when the LED is
already ON, the LED blinks in alternate mode.
a)
Set LED blink
•
PKP 1500LI
Identifier
600h + current CAN ID
Default 615h
Byte 0
2Fh
Set Device Register
Byte 1
02h
CAN Object 2002h
Byte 2
20h
Byte 3
XXh
XX: Sub index
01h: Red LED
02h: Green LED
03h: Blue LED
Byte 4
YYh
0 0 0 L5 L4 L3 L2 L1 LED position
Byte 5,7
00h
Not used