can interface for bodywork - scania technical information ... · pdf filescania's can...

13
22:10-078 Issue 1 en-GB 1 (13) © Scania CV AB 2014, Sweden Scania's CAN interface for bodywork CAN interface for bodywork Scania's CAN interface for bodywork CAN connection For vehicles with BWE (Bodywork Electrical System), the CAN connection for bod- ywork equipment is connector C493, pin 3 (CAN-low) and pin 4 (CAN-high). If the vehicle is equipped with a factory fitted extension cable harness, the connection is made out on the frame to connector C487 pin 6 (CAN-high) and to connector C487 pin 7 (CAN-low). The CAN bus that connects to the CAN interface for bodywork equipment is called the external CAN bus in this document. Requirements for CAN communication with the ve- hicle SAE J1939 forms the basis of the protocol. However, large parts of SAE J1939 are not implemented. This applies to the entire SAE J1939-81 (Network Management), main part of SAE J1939-73 (Diagnostics) and parts of SAE J1939-21 (Data Link Layer). SAE J1939-81 Network Management: The address space in a Scania vehicle is static. Because of this, there is no need for the Network Management as described in SAE J1939-81. Fixed addressing is used in accordance with Preferred addresses for Industry group 0, Global and Industry group 1, On-highway Equipment. Source addresses for equipment which does not normally belong to the vehicle follow the requirements in J1939, ISO 11992 or OBD/EOBD. SAE J1939-73 Diagnostics: The only PGN (Parameter Group Number) used by Scania is DM1, Diagnostic Message 1 (PGN 00FECA). This message is sent continuously by all control units in More information on all CAN messages which can be used for Scania’s trucks is found in the CAN Communication Specification document under CAN interface. More information on connections is found under Connections.

Upload: dinhtram

Post on 27-Feb-2018

233 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

22:10-078 Issue 1 en-G

CAN interface for bodywork

Scania's CAN interface for bodywork

• More information on all CAN messages which can be used for Scania’s trucks is found in the CAN Communication Specification document under CAN interface.

• More information on connections is found under Connections.

Scania's CAN interface for bodyworkCAN connectionFor vehicles with BWE (Bodywork Electrical System), the CAN connection for bod-ywork equipment is connector C493, pin 3 (CAN-low) and pin 4 (CAN-high).

If the vehicle is equipped with a factory fitted extension cable harness, the connection is made out on the frame to connector C487 pin 6 (CAN-high) and to connector C487 pin 7 (CAN-low).

The CAN bus that connects to the CAN interface for bodywork equipment is called the external CAN bus in this document.

Requirements for CAN communication with the ve-hicleSAE J1939 forms the basis of the protocol. However, large parts of SAE J1939 are not implemented. This applies to the entire SAE J1939-81 (Network Management), main part of SAE J1939-73 (Diagnostics) and parts of SAE J1939-21 (Data Link Layer).

SAE J1939-81 Network Management:

The address space in a Scania vehicle is static. Because of this, there is no need for the Network Management as described in SAE J1939-81.

• Fixed addressing is used in accordance with Preferred addresses for Industry group 0, Global and Industry group 1, On-highway Equipment.

• Source addresses for equipment which does not normally belong to the vehicle follow the requirements in J1939, ISO 11992 or OBD/EOBD.

SAE J1939-73 Diagnostics:

The only PGN (Parameter Group Number) used by Scania is DM1, Diagnostic Message 1 (PGN 00FECA). This message is sent continuously by all control units in

B 1 (13)© Scania CV AB 2014, Sweden

Page 2: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

the vehicle to signal that communication is working correctly and is also used to send the status for displaying warning lamps. Fault codes in accordance with SAE J1939-71 are not used.

SAE J1939-21 Data Link Layer:

SAE J1939-21 defines five message types:

• Commands – Not supported.

• Requests – Not supported.

• Broadcast/Response – All available information is sent periodically.

• Acknowledgement – Not supported.

• Group Functions – Proprietary messages and Multipacket messages, TP.CM, TP.DT, are supported.

Note:According to section 5.2.1 SAE J1939-21, Revised Version July 1998, priority bits in message identifiers must be filtered out and ignored by the receivers.

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 2 (13)

Page 3: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

Load guidelines• Control units connected to a CAN bus must be able to handle up to 100% CAN

bus load with the correct messages with no significant functional limitations or malfunctions.

• Under normal circumstances the CAN bus load should never exceed 80%.

• Scania recommends not to close any control loops over the CAN since the guar-anteed access time is relatively long and fast control loops require a lot of band-width. If closed control loops over the CAN are still required, then they must be fully capable of sending the necessary CAN messages using only half the trans-mission frequency.

IMPORTANT!

The bodybuilder is responsible for ensuring that the external CAN bus is used cor-rectly.

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 3 (13)

Page 4: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

Connectors and cables• Scania does not use connectors in accordance with SAE J1939.

• Scania uses twisted pair cables (twisted 40 times per metre) with no shield or sheath.

• The electrical properties (resistance, impedance, capacitance etc.) are defined in SAE J1939-15 Physical Layer Light.

• Scania uses a cross-sectional area of 0.75 mm² for cables inside the cab. If the ve-hicle is equipped with factory fitted extension harness on the frame, the cross-sec-tional area is 1.5 mm².

• CAN connectors and ECU pins outside the cab should preferably be gold-plated.

• Scania recommends the following colours and markings for to the external CAN bus cables: CAN_H should be blue and CAN_L should be white. To avoid mis-understanding it is important that the cables retain their colour for the lifetime of the vehicle. CAN-low should be marked as CAN_L and CAN-high as CAN_H.

IMPORTANT!

It is not permitted to connect to any other connector or CAN bus. An incorrect con-nection could cause the vehicle’s normal functions to behave unpredictably. There is a risk that the vehicle will stop and have to be recovered.

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 4 (13)

Page 5: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

C493 ECU X

ECU Z ECU Y

C487

< 30 m

< 3

m

> 0,1 mLHD 6,0 mRHD 8,5 m

b346

394

The length of the cables should not exceed 30 metres (main cable) between connec-tor C493 in the truck and the control unit with the other termination resistor.

If more than one control unit is connected, the length of the cables between the main cable and control unit should not exceed 3 metres. The cables should be as short as possible to minimise the effect of electromagnetic interference. The number of con-trol units in the external CAN network should not exceed 9. The topology is primarily a bus cable with the nodes connected to the CAN bus with at least 0.1 metres between each node. The figure shows the principle of the external CAN network topology.

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 5 (13)

Page 6: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

External busC493 ECU XBodybuilder system

ECU B

ECU A

ECU C

b346

393

The external CAN bus’s topologyThe external CAN bus interfaces with the vehicle’s CAN network. The BWE body-work electrical system sends information from the vehicle’s network to the external CAN bus. It is also possible to send information to the bodywork control unit in order to activate bodywork functions in the vehicle.

It is the responsibility of the bodybuilder to ensure that the BWE bodywork control system does not receive contradictory commands. If, for example, the bodywork con-trol unit gives a command that sounds the horn, no other control unit must give con-tradictory commands to the horn.

One way of solving this problem is to use a topology as shown in the diagram. Con-trol unit X collects, compares and collates the information before the commands are sent to the bodywork control unit.

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 6 (13)

Page 7: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

C493

CAN-high CAN-high

CAN-low CAN-low

BCI ECU X

C487

4

C=100nF

GND

6

73

R=60

Ω

R=60

Ω

R=12

b346

395

Termination resistorsThe CAN bus cable (main cable) must be connected using a 120 Ohm resistor at each end in accordance with SAE J1939-15 Physical Layer "Light". A split termination re-sistor (2 resistors and 1 capacitor) is fitted in the bodywork control unit (see illustra-tion).

There must also be a termination resistor in the control unit installed furthest away from the bodywork control unit. Scania recommends a split termination resistor. If the control unit installed furthest from the bodywork control unit is not equipped with an internal termination resistor, the resistor must be connected as close to the control unit as possible (see the illustration).

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 7 (13)

Page 8: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

Fault validation of communication (time-out)Avoid CAN communication when the starter key is in the lock or radio positions. Also avoid CAN communication when starting up the control units connected to the external CAN bus.

During normal operation, when the starter key is in the drive position, a message should not be validated as missed (time-out) until at least 5 times the message period time. A longer fault validation time is permitted.

During the engine start, when the starter motor is turning, the supply voltage can be extremely low. Because of this, communication from the bodywork control unit can-not be guaranteed during this period. For this reason, no fault codes related to CAN communication with the bodywork control unit are set when the system voltage is under 18 V.

When the starter key is turned to the drive position, the bodywork control unit starts sending messages within 1,000 ms. A message sent from the bodywork control unit cannot be considered missed until after 1,000 ms + 5 x the message period time, e.g. if a message has a period of 100 ms it cannot be considered missed until after 1,000 + 5 x 100 = 1,500 ms. Longer fault validation times are permitted.

When the starter key is turned to the radio or locked positions, the CAN messages cannot expect acknowledgement. No communication from the bodywork control unit can be expected.

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 8 (13)

Page 9: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

Parameter values and status• Parameters not used must be sent as NotAvailable/TakeNoAction. Even when a

fault is detected and validated, Error is handled as NotAvailable/TakeNoAction.

• If, for example, a sensor, switch or solenoid is not connected to the ECU, the CAN parameter must contain the status parameter Not available/TakeNoAction. This status must also be used when there is a signal which is not yet validated, for ex-ample when starting up a control unit.

• The Diagnosis of external CAN parameter controls if BCI should set fault codes for the external CAN interface.

• The External CAN interface parameter controls if the external CAN bus should be active or not.

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 9 (13)

Page 10: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

Source address (Hex)

0xB

0x64

0x1D

0x30

0x44

0x04

0xE6

0x43

0x0

0x2F

0x17

0x27

0x10

0x5

Source addressesThe bodywork control unit has a non-configurable address and sends all messages with the source address 0xE6 (hex). The source addresses in table 1 are used for mes-sages sent from the vehicle’s internal CAN bus to the external CAN bus via the bod-ywork control unit. These addresses must not be used by other control units on the external network. Incorrect use can lead to conflicts and malfunctions in the external network.

Table 1 shows the addresses currently in use, but addresses may be added in the fu-ture. The source address 0xFE, used in the CAN documentation from Scania for such messages that the bodybuilder sends, is only an example of a source address that the bodybuilder may use. The important thing is that the addresses in the list are not used.

Table 1: Predefined source addresses on the external CAN bus

System Name

A Brake

AB Air Bag

AL Locking and Alarm System

APS Air Processing System

ATA Air to Air Heater

AWD Differential Lock Controller

BCI Bodywork Communication Interface

CV Converter Controller

E Engine

F Suspension Management

ICL Instrument Cluster

K Coordinator

RD Retarder

SC Shift Selector Module

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 10 (13)

Page 11: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

0x3

0xEE

0x33

0x1E

0x45

T Gearbox

TCO Tachograph

TM Tire Pressure Monitoring

V Visibility System

WTA Water to Air Heater

Table 1: Predefined source addresses on the external CAN bus

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 11 (13)

Page 12: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

ty

Parameter group numbersIn addition to the parameter group numbers (PGN) specified in SAE J1939-71, there are a number of PGNs specified by Scania. A number of these are used on the exter-nal CAN bus. Refer to table 2. These PGNs must not be used for any other purpose.

Table 2: Scania-specified messages on the external CAN bus.

Name PGN (Hex) Standard priori

Alarm Status Proprietary 00 FF B4 6

Bodywork Auxiliary Information 00 FF 9B 6

Bodywork Driver Information 2 00 FF 5C 6

Bodywork Engine Limitation 00 FF 2B 3

Bodywork Engine Request 1 00 FF 5B 6

Bodywork Engine Request 2 00 FF 5A 6

Bodywork PTO Control 00 FF 2C 3

Bodywork Vehicle Control 00 FF 2A 3

Bodywork Visibility Control 00 FF 2F 3

Cab Information Proprietary 1 00 FF 96 6

Coordinator General Information 00 FF B0 3

Coordinator General Information 2 00 FF AF 3

CUV information 00 FF B1 6

DLN2-Proprietary 00 FF 81 3

Transmission Proprietary (DLN5) 00 FF A0 3

DLN8 Proprietary 00 FF 88 6

General Purpose Message 1 00 FF 60 6

PTO Information 00 FF 90 6

Scania Vehicle Status Message 1 00 FF 27 6

Scania Vehicle Status Message 2 00 FF 28 6

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 12 (13)

Page 13: CAN interface for bodywork - Scania Technical Information ... · PDF fileScania's CAN interface for bodywork 22:10-078 Issue 1 en-GB 10 (13) Source addresses The bodywork control unit

CAN interface for bodyworkScania's CAN interface for bodywork

Transmission Proprietary 2 -T 00 FF A1 6

Transmission Proprietary 2 -AWD 00 FF A1 6

Table 2: Scania-specified messages on the external CAN bus.

© Scania CV AB 2014, Sweden

22:10-078 Issue 1 en-GB 13 (13)