J1939CONFIG

Configure CAN network-level parameters

Platform:

OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7, SMART2

Use this command to configure the CAN J1939 network-level parameters (NAME, etc).

Issuing this command may initiate a CAN 'Address Claim' procedure. The status of the node and address claim are reported in the J1939STATUS log.

Once a "node" is configured using J1939CONFIG, and the "port" is configured to ON using CANCONFIG "port" ON, J1939CONFIG "node" cannot be entered again until the "port" is configured to "OFF" using CANCONFIG "port" OFF. (See the CANCONFIG command

Message ID: 1903

Abbreviated ASCII Syntax:

J1939CONFIG node port [pref_addr [alt_addr_range_start] [alt_addr_range_end] [mfgcode] [industry] [devclass] [devinstance] [func] [funcinstance] [ECUinstance]]

Factory Default:

J1939CONFIG NODE1 CAN1 1C 0 FD 305 2 0 0 23 0 0

J1939CONFIG NODE2 CAN2 1C 0 FD 305 2 0 0 23 0 0

ASCII Example :

J1939CONFIG NODE1 CAN1 AA 0 FD 305 2 0 0 23 0 0

Field

Field Type

ASCII Value

Binary Value

Description

Format

Binary Bytes

Binary Offset

1

Command header

-

-

J1939CONFIG header

This field contains the command name for abbreviated ASCII or the message header for ASCII (see page 1) or Binary (see page 1).

-

H

0

2

node

NODE1

1

Identifies the J1939 Node (i.e., CAN NAME)

SMART2 does not support NODE2.

Enum

4

H

NODE2

2

3

port

CAN1

1

Physical CAN port to use

SMART2 does not support the CAN2 port.

Enum

4

H+4

CAN2

2

4

pref_addr

0x0 - 0xFD

Preferred CAN address. The receiver attempts to claim this address

(default = 0x0)

Ulong

4

H+8

5

alt_addr_range_start

0x0 - 0xFD

When the pref_addr cannot be claimed, the receiver attempts to claim an address from this range.

(default: 0x0)

Ulong

4

H+12

6

alt_addr_range_end

0x0 - 0xFD

End of alternative address range.

(default: 0xFD)

Ulong

4

H+16

7

mfgcode

0-2047

NAME: Manufacturer Code. Refer to ISO 11783-5.

(default: 0)

Ulong

4

H+20

8

industry

0 - 7

NAME: Industry Group

(default: 2)

Ulong

4

H+24

9

devclass

0 - 127

NAME: Device Class

(default: 0)

Ulong

4

H+28

10

devinstance

0 - 15

NAME: Device Class Instance

(default: 0)

Ulong

4

H+32

11

func

0 - 255

NAME: Function

(default: 23)

Ulong

4

H+36

12

funcinstance

0 - 31

NAME: Function instance

(default: 0)

Ulong

4

H+40

13

ECUinstance

0 - 7

NAME: ECU Instance

(default: 0)

Ulong

4

H+44

Due to current limitations in the CAN stack, NODE1 can only be associated with CAN1 and NODE2 can only be associated with CAN2. A mismatch combination results in an 'invalid parameter' error.

Node statistics are reported in the J1939STATUS log.