Example Of Modifying The Can Bus Parameters; Example Of Detecting An Address Claim Failure And Reconfiguring; Address Claim Procedure - Novatel SMART2 Installation And Operation User Manual

Table of Contents

Advertisement

Chapter 4   SMART2 CAN Bus
4. SAVECONFIG
< J1939STATUS NODE1 DISABLED 0 0xFE
< J1939STATUS NODE1 CLAIMING 1 <address>
< J1939STATUS NODE1 CLAIMED <attempt count> <address>

4.2.3 Example of Modifying the CAN Bus Parameters

1. LOG J1939STATUS ONCHANGED
2. CANCONFIG CAN1 OFF
3. J1939CONFIG NODE1 CAN1 <addresses>
4. CANCONFIG CAN1 ON
5. SAVECONFIG
< J1939STATUS NODE1 DISABLED 0 0xFE
< J1939STATUS NODE1 CLAIMING 1 <address>
< J1939STATUS NODE1 CLAIMED <attempt count> <address>

4.2.4 Example of Detecting an Address Claim Failure and Reconfiguring

1. LOG J1939STATUS ONCHANGED
2. J1939CONFIG NODE1 CAN1 <addresses>
3. CANCONFIG CAN1 ON
< J1939STATUS NODE1 DISABLED 0 0xFE
< J1939STATUS NODE1 CLAIMING 1 <address>
< J1939STATUS NODE1 FAILED <attempt count> 0xFE
4. CANCONFIG CAN1 OFF
< J1939STATUS NODE1 DISABLED 0 0xFE
5. J1939CONFIG NODE1 CAN1 <addresses>
6. CANCONFIG CAN1 ON
< J1939STATUS NODE1 CLAIMING 1 <address>
< J1939STATUS NODE1 CLAIMED <attempt count> <address>

4.2.5 Address Claim Procedure

To become operational on the CAN bus, a SMART2 must claim a J1939 address. The preferred address and a
range of alternative addresses are specified using the J1939CONFIG command. When a configured receiver is
placed on bus, it may make multiple attempts to claim an address. It may also have its address bumped by a
higher priority device claiming the same address.
While the device is attempting to claim an address, the J1939STATUS log reports a status of CLAIMING and
automatically tries to claim the next allowed address. Depending on the J1939CONFIG parameters, an address
different from the J1939CONFIG preferred address may be claimed or the address claim procedure can fail
entirely. If no addresses could be claimed, a FAILED status is reported and the receiver takes no further action.
To recover from this failure, take the receiver off bus using the CANCONFIG command and change the CAN
address configuration using the J1939CONFIG command.
SMART2 Installation and Operation Manual v4
38

Advertisement

Table of Contents
loading

Table of Contents