Via Montefeltro, 6 – 20156 Milano (MI) – Italy
- 8 -
Tel. +39 (02) 3088583 – Fax +39 (02) 33406697
www.blinkmarine.com
–
info@blinkgroup.com
PKP-2200-SI_CANopenUM_REV1.0
PDO messages
PDO (Process Data Object) are fast telegram messages that can simply manage most important functions.
There are no answers for this kind of messages. Each PDO message has an equivalent Service Data Object
message.
11.
Keys state message
The keypad must be activated, see NMT Start CANopen Node message.
•
PKP-2200-SI
Identifier
180h + current CAN ID
Default 195h
Byte 0
Keys from #1 to #4
0 0 0 0 – K4 K3 K2 K1
Keys: 1=pressed; 0=released
Byte 1, 3
00h
Not used
Byte 4
XXh
Tick Timer
Examples:
Direction
Identifier
Format
Message
Key state
From Keypad
195
Std
00 00 00 00 XX
No Key pressed
From Keypad
195
Std
01 00 00 00 XX
Key #1 pressed
From Keypad
195
Std
08 00 00 00 XX
Key #4 pressed
From Keypad
195
Std
05 00 00 00 XX
Keys #1 and #3
pressed
From Keypad
195
Std
0F 00 00 00 XX
All Keys pressed
12.
Set LED ON message
The keypad must be activated, see NMT Start CANopen Node message.
•
PKP-2200-SI
Identifier
200h + current CAN ID
Default 215h
Byte 0
0 0 0 0 – R4 R3 R2 R1
Red LED
Byte 1
0 0 0 0 – G4 G3 G2 G1
Green LED
Byte 2
0 0 0 0 – B4 B3 B2 B1
Blue LED
Byte 3,7
00h
Not used
Examples:
Direction
Identifier Format Message
LED
To Keypad
215
Std
00 00 00 00 00 00 00 00
Turn OFF all the LED
To Keypad
215
Std
01 00 00 00 00 00 00 00
Only red LED #1 ON
To Keypad
215
Std
00 0A 00 00 00 00 00 00
Green LED #2 and #4 ON,
other LED OFF
To Keypad
215
Std
00 00 08 00 00 00 00 00
Only blue LED #4 ON
To Keypad
215
Std
00 00 01 00 00 00 00 00
Only blue LED #1 ON
To Keypad
215
Std
09 00 00 00 00 00 00 00
Red LED #1 and #4 ON,
other LED OFF