CCS Standardfunction   CAN2000Ini []
 

CAN2000Ini []

Interface [Str]

ID [Str]

BaudRate [Baud]

ScanningPoint [%]

TerminalResistance [Ohm]

MessageArchitecture [Hex]

ID_Send [Hex]

ID_Send_Length [INT]

ID_Read [Hex]

ID_Read_Length [INT]

Description of Function

Initializes the CAN interface for the KWP2000 protocol. Following successful initialization, the testing station can communicate with the control unit using the function ComBlock. The timing parameters are automatically set to default values (1000 ms) by the tester when the function is invoked (see ISO/DIS 15765-2 Table 16 - Network layer timing parameter values). The specified timeout periods are: Timeout flowcontrol: 20 ms; timeout after flowcontrol: 50 ms; timeout after consecutive: 50 ms; timeout first frame: 50 ms; timeout after reject: 5000 ms.

Testing Points

None

Parameters

Interface

Specifies which CAN interface is to be initialized (a control unit can have more than one CAN interface). The name specified here is made up of the letters 'CAN' and a serial number (CAN1, CAN2...).

ID

Specifies whether the interface has a high-speed or low-speed transceiver. The following values are allowed:

H

High-speed (vehicle engine-compartment bus)

L

Low-speed (vehicle passenger-compartment bus)

BaudRate

Specifies the baud rate (max. 1 Mbaud).

ScanningPoint

Time in % at which a bit received by the tester is to be scanned.

TerminalResistance

Terminal resistance that has to be connected to the CAN interface by the tester. Permissible values are 60 Ohm, 120 Ohm or infinite (=Not specified).

0 Ohm is also allowed for the short-circuit test. In that case, the function is invoked only as preparation for the short-circuit test. Afterwards, it has to be invoked again with a terminal resistance 0 Ohm in order to enable communication again.

MessageArchitecture

Specifies the addressing types as hexadecimal value for diagnosis via CAN:

1 Normal addressing

2 Normal fixed addressing

3 Extended addressing

4 Mixed addressing

See ISO/DIS 15765-2 Contens 8.3 Mapping of the N_PDU fields

See ISO/DIS 15765-3 Table 12 - Definition of addressFormat values

ID_Send

Specifies the identifier for the message to be sent in hexadecimal format. If no message is to be sent, no value should be entered.

ID_Send_Length

Specifies whether the identifier is to be sent using a length of 11 bits or 29 bits. If no message is to be sent, no value should be specified. The following values are allowed:

11

11 bits (default)

29

29 bits (extended)

ID_Read

Specifies the identifier for the message to be read in hexadecimal format. If no message is to be read, no value should be entered.

ID_Read_Length

Specifies whether the message to be read has an 11-bit or a 29-bit identifier. If no message is to be read, no value should be specified. The following values are allowed:

11

11 bits (default)

29

29 bits (extended)

Example

CAN2000Ini

CAN1,H, 500000,75,120,1,610,11,01F,11

CAN1= Interface

H = High-speed interface

500000 = Baud rate

75 = Scanning point 75 %

120 = Terminal resistor impedance in Ohms

1 = Message architecture is normal addressing

610 = ID_Send

11 = ID_Send_Length 11-bit ID

01F = ID_Receive

11 = ID_Receive_Length 11-bit ID