Via Montefeltro, 6 – 20156 Milano (MI) – Italy
- 22 -
Tel. +39 (02) 3088583 – Fax +39 (02) 33406697
www.blinkmarine.com
–
PowerTruck_CANOpen_UM_REV1.5
29.
Object 2001h: LED state
a)
Sub 1 – LED green state
Identifier
615h (600h + current CAN ID)
Byte 0
27h
Set Device Register
Byte 1
01h
CAN Object 2001h
Byte 2
20h
Byte 3
01h
Sub index
Byte 4
LG8 LG7 LG6 LG5 - LG4 LG3 LG2 LG1
LED green
Byte 5
LG16 LG15 LG14 LG13 – LG12 LG11 LG10 LG9
LED green
Byte 6
0 0 0 0 – 0 0 LG18 LG17
LED green
Byte 7
00h
Not used
Examples:
Direction
Identifier Format
Data
LED
To Keypad
615
Std
27 01 20 01 00 00 00
Turn off all the LED green
To Keypad
615
Std
27 01 20 01 01 00 00
Green LED #1 ON
To Keypad
615
Std
27 01 20 01 05 00 00
Green LED #1 and 3 ON
To Keypad
615
Std
27 01 20 01 00 02 00
Green LED #10 ON
Keypad reply
595
Std
60 01 20 01 00 00 00
b)
Sub 2 - LED red state
Identifier
615h (600h + current CAN ID)
Byte 0
27h
Set Device Register
Byte 1
01h
CAN Object 2001h
Byte 2
20h
Byte 3
02h
Sub index
Byte 4
LR8 LR7 LR6 LR5 - LR4 LR3 LR2 LR1
LED red
Byte 5
LR16 LR15 LR14 LR13 – LR12 LR11 LR10 LR9
LED red
Byte 6
0 0 0 0 – 0 0 LR18 LR17
LED red
Byte 7
00h
Not used
Examples:
Direction
Identifier Format
Data
LED
To Keypad
615
Std
27 01 20 02 00 00 00 00
Turn off all the LED red
To Keypad
615
Std
27 01 20 02 00 00 80 00
Red LED #16 ON
To Keypad
615
Std
27 01 20 02 41 00 00 00
Red LED #1 and 7 ON
To Keypad
615
Std
27 01 20 02 00 04 00 00
Red LED #11 ON
Keypad reply
595
Std
60 01 20 02 00 00 00 00