www.eao.com
59
Custom Layer Settings
The baud rate and the Node-ID can be changed by the user by means of writing in the
corresponding sub-index of object 0x2004. The default values are as follows:
Object
Default value
Baud rate (subindex 2)
0x03 (250 kbps)
Node-ID (subindex 1)
0x0B (Node-ID 11)
The objects with their respective description including the corresponding save/clear Block can
be found in the K-Matrix. To change the values the user has to first write 0xAA to sub-index 3
of Object 0x2004. This is the protection register to make sure no accidental change occurs.
Then the desired value can be written to the correct subindex. After the keypad accepted the
change the values have to be stored in non-volatile memory (see chapter 10.7). After the
values are stored correctly a power reset has to be performed. After that the keypad will be set
to the new settings and communication will be able only by using the changed values.
10.8.1
Manually configure the baud rate
As an example the following table shows the CANopen messages that are necessary for
changing the baud rate from 250 kbps (default value) to 500 kbps.
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
0x02
0x02
0x00
0x00
0x00
0x58B
8
0x60
0x04
0x20
0x02
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 baud rate 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 baud rate is to send the new baud rate to the keypad. Data byte
4 represents the new baud rate (0x02 = 500kbps; 0x03 = 250kbps), 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 baud rate, the keypad
send a “Download Response”- message (Data byte 0 = 0x60).
Third step is to save the new baud rate 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 baud rate 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 baud rate 500kbps for communication.