www.eao.com
60
10.8.2
Manually configure the Node-ID
As an example the following table shows the CANopen messages that are necessary for
changing the Node-ID from 0x0B (default value) to 0x0E.
CAN-ID
DLC
Data
Byte 0
Data
Byte 1
Data
Byte 2
Data
Byte 3
Data
Byte 4
Data
Byte 5
Data
Byte 6
Data
Byte 7
0x60B
8
0x2F
0x04
0x20
0x03
0xAA
0x00
0x00
0x00
0x58B
8
0x60
0x04
0x20
0x03
0x00
0x00
0x00
0x00
0x60B
8
0x2F
0x04
0x20
0x01
0x0E
0x00
0x00
0x00
0x58B
8
0x60
0x04
0x20
0x01
0x00
0x00
0x00
0x00
0x60B
8
0x23
0x10
0x10
0x06
0x73
0x61
0x76
0x65
0x58B
8
0x60
0x10
0x10
0x06
0x00
0x00
0x00
0x00
First step is to unlock the Node-ID object. The Node-ID and the baud rate can’t be written
before the value 0xAA is written to the protection object.
Second step for changing the Node-ID is to send the new Node-ID to the keypad. Data byte 4
represents the new Node-ID (0x0E), data byte 1 the low byte and data byte 2 the high byte of
the index, data byte 3 the subindex and data byte 0 the command (Download request; 1 byte).
After the keypad receives a valid Node-ID, the keypad send a “Download Response”- message
(Data byte 0 = 0x60).
Third step is to save the new Node-ID to the non-volatile memory. The index of the store-NVM-
object is 0x1010 (data byte 1 and 2). The data byte 3 contains the save group. Referenced to
the CANopen K-Matrix of the keypad the Node-ID uses the save group “Custom Layer
Settings”. The data bytes 4 – 8 contains the ASCII-Coded word “SAVE” (0x73; 0x61; 0x76;
0x65). After the write request the keypad sends a “Download Response”- message.
4
th
step is to disconnect the keypad from the power supply and do a Power-On-Reset. After
that the keypad uses the new Node-ID 0x0E for communication.
Basic functions
10.9.1
Pressed Key data
The information whether or not a button is pressed can be found in a defined object 0x6000 of
the keypad. The sub-index correspond with the buttons of the keypad. And the content
visualizes whether or not the button is pressed. If subindex 1 is 2, button 2 is pressed (Bitwise
coded).
For further information please refer to the corresponding K-Matrix.
10.9.1.1 Stuck Button Time
The Keypad provide the option to detect a continuous pressed button and send an error
message after a defined time. This so called stuck button detection will be controlled via the
stuck button detection time object (Object index: 0x2101s0).