
Chapter 4 SMART2 CAN Bus
SMART2 Installation and Operation Manual 1
39
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.
The address can also be assigned using J1939
Commanded Address
message sent by another
ECU on the bus, such as a tester unit. The commanded address always overrides the address
specified using
J1939CONFIG
command. When the
Commanded Address
is received, the
receiver reports a status of
CLAIMING
followed by
CLAIMED
. Restarting CAN using the
J1939CONFIG
command or
CANCONFIG
command clears the commanded address; the
Address Claim procedure will be executed again based on parameters specified in the
J1939CONFIG
command.
4.3 SMART2 NMEA2000 Logging
All NMEA2000 logs are configured using the
LOG
command, where the COM port is a CAN port
(CCOM).
To enable NMEA2000 logs:
1. Configure the CAN bus. See
2. Enable the desired NMEA2000 logs.
NMEA2000 logs can be requested regardless of the on/off bus status of the receiver or the J1939
configuration. They are output if and only if the receiver is online.
The position for the
PGN129025
,
PGN129027
and
PGN129029
logs are reported in
the user selected datum. See the
OUTPUTDATUM
command for more details.
4.3.1 How to Configure CAN1 to Transmit NMEA2000 Messages
1.
Enter the follow to configure CAN1:
CANCONFIG CAN1 ON 500K
2.
Enter the following to request NMEA2000 logs:
LOG CCOM1 PGN129029B ONTIME 1
LOG CCOM1 PGN129025B ONTIME 0.1
LOG CCOM1 PGN129026B ONTIME 0.1
LOG CCOM1 PGN129027B ONTIME 0.1