CCOMCONFIG
Configure the CAN COM port
Platform: |
OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7 |
Bind a CAN communication port to a J1939 node (see J1939CONFIG command) and specify the CAN protocol, PGN, priority and address for messages transmitted and received over the CCOM port.
This command is not supported on the SMART2.
Message ID: 1902
Abbreviated ASCII Syntax:
CCOMCONFIG port node protocol [pgn [priority [address]]]
Factory Default:
CCOMCONFIG ccom1 node1 J1939 61184 7 fe
CCOMCONFIG ccom2 node2 J1939 61184 7 fe
CCOMCONFIG ccom3 node1 J1939 126720 7 fe
CCOMCONFIG ccom4 none none 0 0 0
CCOMCONFIG ccom5 none none 0 0 0
CCOMCONFIG ccom6 none none 0 0 0
ASCII Example :
ccomconfig ccom1 node1 j1939 1792 6 1b
Field |
Field Type |
ASCII Value |
Binary Value |
Description |
Format |
Binary Bytes |
Binary Offset |
---|---|---|---|---|---|---|---|
1 |
Command header |
- |
- |
CCOMCONFIG 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 |
port |
CCOM1 |
38 |
Name of CCOM port. |
Enum |
4 |
H |
CCOM2 |
39 |
||||||
CCOM3 |
40 |
||||||
CCOM4 |
41 |
||||||
CCOM5 |
42 |
||||||
CCOM6 |
43 |
||||||
3 |
node |
NODE1 |
1 |
The J1939 node to use. This binds a CCOM port to the CAN NAME/address associated with the node. |
Enum |
4 |
H+4 |
NODE2 |
2 |
||||||
4 |
protocol |
CAN transport protocol to use. |
Enum |
4 |
H+8 |
||
5 |
pgn |
0 - 131071 |
Any valid PGN as defined by the J1939 protocol. All messages transmitted over this CCOM port will contain this PGN value. Only messages with this PGN will be received on this CCOM port. Note: This value is ignored if the protocol is NMEA2000. |
Ulong |
4 |
H+12 |
|
6 |
priority |
0-7 |
Default CAN message priority for transmitted messages. (Priority 0 is the highest priority) Note: This value is ignored if the protocol is NMEA2000. |
Uchar |
1 |
H+16 |
|
7 |
address |
00 – FF |
00 – FD: FE: FF: Note: This value is ignored if the protocol is NMEA2000. |
Hex |
1 |
H+17 |
Binary |
ASCII |
Description |
---|---|---|
2 |
J1939 |
J1939 single packet |
3 |
NMEA2000 |
NMEA2000 (single packet, multi-packet, fast packet) |
5 |
ISO11783 |
ISO 11783 transport protocol |