CCS Standardfunction CANInit [] |
Initializes the CAN interface. Following successful initialization, the testing station can communicate with the control unit using the function CANBlock.
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...).'' The name specified will also be required by the function CANBlock in order to select the interface for communication.
Specifies whether the interface has a high-speed or low-speed transceiver. The following values are allowed:
Time in % at which a bit received by the tester is to be scanned.
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.