6.4 Example on the Layer Setting Services (LSS)
This service object is used to change the Node_ID and the baudrate over the network.
There are two possible methods for this:
1. “Switch mode global”: for single devices.
2. “Switch mode selective”: for several networked devices, with unique identification.
1. "Switch mode global"
First step: Read out optional identification
Data direction Type Data packet Remarks
Send LSS 7E5 | 08 | 5A 00 00 00 00 00 00 00
Receive LSS 7E4 | 08 | 5A DB 00 00 00 00 00 00
Send LSS 7E5 | 08 | 5B 00 00 00 00 00 00 00
Receive LSS 7E4 | 08 | 4B 09 04 00 00 00 00 09
Send LSS 7E5 | 08 | 5C 00 00 00 00 00 00 00
Receive LSS 7E4 | 08 | 4C 37 00 03 00 00 00 37
Send LSS 7E5 | 08 | 5D 00 00 00 00 00 00 00
Receive LSS 7E4 | 08 | 5D 54 FF 6D 06 00 00 00
Second step: go to "mode global"
Data direction Type Data packet Remarks
Switch over to configuration mode
Send LSS 7E5 | 08 | 04 01 00 00 00 00 00 00
Receive No reply, as described in specification Note flashing code!
Node_ID Modify
Send LSS 7E5 | 08 | 11 Node_ID 00 00 00 00 00
00
Receive LSS 7E4 | 08 | 11 Err 00 00 00 00 00 00 Err: 0 amendment successful
Err: 1 amendment unsuccessful
Baudrate Modify
Send LSS 7E5 | 08 | 13 00 Index 00 00 00 00 00 Index: See CAN-OPEN chapter in
specification
Receive LSS 7E4 | 08 | 13 Err 00 00 00 00 00 00 Err: 0 amendment successful
Err: 1 amendment unsuccessful
Save settings in the Flash memory
Receive LSS 7E5 | 08 | 17 00 00 00 00 00 00 00
Receive LSS 7E4 | 08 | 17 Err 00 00 00 00 00 00 Err: 0 amendment successful
Err: 1 amendment unsuccessful
Return to standard mode
Receive LSS 7E5 | 08 | 04 00 00 00 00 00 00 00
Receive LSS No reply, as described in specification Note flashing code!
Operating Instructions AM-CAN-OPEN – model series Communication
L-BAL-E199-GB 1846 Index 005 Part.-No. 00163405-GB
17/28