CANCONFIG
Configure CAN ports
Platform: |
OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7, SMART2 |
Use the CANCONFIG command to configure the hardware parameters of the CAN ports.
Message ID: 884
Abbreviated ASCII Syntax:
CANCONFIG port switch [speed]
Factory Default:
CANCONFIG CAN1 OFF 250K
CANCONFIG CAN2 OFF 250K
ASCII Example:
CANCONFIG CAN1 OFF 500K
Field |
Field Type |
ASCII Value |
Binary Value |
Description |
Format |
Binary Bytes |
Binary Offset |
---|---|---|---|---|---|---|---|
1 |
Command header |
- |
- |
CANCONFIG header This field contains the command name for abbreviated ASCII or the message header for ASCII or Binary. |
- |
H |
0 |
2 |
port |
CAN1 |
1 |
Physical CAN port ID Note: The SMART2 supports the CAN1 port only. Note: The OEM7500 supports the CAN1 port only (firmware version 7.07.03 and later). |
Enum |
4 |
H |
CAN2 |
2 |
||||||
3 |
switch |
ON |
1 |
Sets the port to be On or Off the CAN bus |
Enum |
4 |
H+4 |
OFF |
0 |
||||||
4 |
speed |
Physical CAN port speed (bits per second) |
Enum |
4 |
H+8 |
The CAN port must be set to OFF (using CANCONFIG <port> OFF) before the port speed can be changed.
ASCII Value |
Binary Value |
---|---|
10K |
0 |
20K |
1 |
50K |
2 |
100K |
3 |
125K |
4 |
250K |
5 |
500K |
6 |
1M |
7 |