
Via Montefeltro, 6 – 20156 Milano (MI) – Italy
- 13 -
Tel. +39 (02) 3088583 – Fax +39 (02) 33406697
www.blinkmarine.com
–
PK-1400_CANOpen_UM_REV1.3
15.
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 normal. If the blink message is sent when the LED is already
ON, the LED blinks in alternate mode.
a)
Set LED blink
•
PK-1400
LED From L1 to L32
Identifier
600h + current CAN ID
Default 615h
Byte 0
23h
Set Device Register
Byte 1
02h
CAN Object 2002h
Byte 2
20h
Byte 3
XXh
XX: Sub index
01h: Red LED blink from L1 to L32
02h: Green LED blink from L1 to L32
Byte 4
XXh
L8 L7 L6 L5 – L4 L3 L2 L1
Byte 5
XXh
L16 L15 L14 L13 – L12 L11 L10 L9
Byte 6
XXh
L24 L23 L22 L21 – L20 L19 L18 L17
Byte 7
XXh
L32 L31 L30 L29 – L28 L27 L26 L25
Examples:
Direction
Identifier
Format
Message
Data
To Keypad
615
Std
23 02 20 01 04 00 00 00 Set red LED #3 blink
Keypad reply
595
Std
60 02 20 01 00 00 00 00
To Keypad
615
Std
23 02 20 02 00 20 00 00 Set green LED #14 blink
Keypad reply
595
Std
60 02 20 02 00 00 00 00
To Keypad
615
Std
23 02 20 01 00 00 88 00 Set red LED #20 and
#24 blink
LED From L33 to L40
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
04h: Red LED blink from L33 to L40
05h: Green LED blink from L33 to L40
Byte 4
XXh
L40 L39 L38 L37 – L36 L35 L34 L33
Byte 5,7
00h
Not used
Examples:
Direction
Identifier
Format
Message
Data
To Keypad
615
Std
2F 02 20 04 01 00 00 00 Set red LED #33 blink
Keypad reply
595
Std
60 02 20 04 00 00 00 00
To Keypad
615
Std
2F 02 20 05 1C 00 00 00 Set green LED #35,
#36 and #37 blink
Keypad reply
595
Std
60 02 20 05 00 00 00 00