svensk standard ss-iso 11783-3:2018

11
SVENSK STANDARD SS-ISO 11783-3:2018 Fastställd/Approved: 2018-11-09 Utgåva/Edition: 4 Språk/Language: engelska/English ICS: 35.240.99; 65.060.01 Traktorer och maskiner för jordbruk och skogsbruk – Seriellt datanät för övervakning och kommunikation – Del 3: Datalänkskikt (ISO 11783‑3:2018, IDT) Tractors and machinery for agriculture and forestry – Serial control and communications data network – Part 3: Data link layer (ISO 11783‑3:2018, IDT) This preview is downloaded from www.sis.se. Buy the entire This preview is downloaded from www.sis.se. Buy the entire This preview is downloaded from www.sis.se. Buy the entire This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721 standard via https://www.sis.se/std-80007721 standard via https://www.sis.se/std-80007721 standard via https://www.sis.se/std-80007721

Upload: others

Post on 16-Oct-2021

22 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SVENSK STANDARD SS-ISO 11783-3:2018

SVENSK STANDARDSS-ISO 11783-3:2018Fastställd/Approved: 2018-11-09Utgåva/Edition: 4Språk/Language: engelska/EnglishICS: 35.240.99; 65.060.01

Traktorer och maskiner för jordbruk och skogsbruk – Seriellt datanät för övervakning och kommunikation – Del 3: Datalänkskikt (ISO 11783‑3:2018, IDT)

Tractors and machinery for agriculture and forestry – Serial control and communications data network – Part 3: Data link layer (ISO 11783‑3:2018, IDT)

This preview is downloaded from www.sis.se. Buy the entireThis preview is downloaded from www.sis.se. Buy the entireThis preview is downloaded from www.sis.se. Buy the entireThis preview is downloaded from www.sis.se. Buy the entirestandard via https://www.sis.se/std-80007721standard via https://www.sis.se/std-80007721standard via https://www.sis.se/std-80007721standard via https://www.sis.se/std-80007721

Page 2: SVENSK STANDARD SS-ISO 11783-3:2018

Standarder får världen att fungeraSIS (Swedish Standards Institute) är en fristående ideell förening med medlemmar från både privat och offentlig sektor. Vi är en del av det europeiska och globala nätverk som utarbetar internationella standarder. Standarder är dokumenterad kunskap utvecklad av framstående aktörer inom industri, näringsliv och samhälle och befrämjar handel över gränser, bidrar till att processer och produkter blir säkrare samt effektiviserar din verksamhet.

Delta och påverkaSom medlem i SIS har du möjlighet att påverka framtida standarder inom ditt område på nationell, europeisk och global nivå. Du får samtidigt tillgång till tidig information om utvecklingen inom din bransch.

Ta del av det färdiga arbetetVi erbjuder våra kunder allt som rör standarder och deras tillämpning. Hos oss kan du köpa alla publikationer du behöver – allt från enskilda standarder, tekniska rapporter och standard-paket till handböcker och onlinetjänster. Genom vår webbtjänst e-nav får du tillgång till ett lättnavigerat bibliotek där alla standarder som är aktuella för ditt företag finns tillgängliga. Standarder och handböcker är källor till kunskap. Vi säljer dem.

Utveckla din kompetens och lyckas bättre i ditt arbeteHos SIS kan du gå öppna eller företagsinterna utbildningar kring innehåll och tillämpning av standarder. Genom vår närhet till den internationella utvecklingen och ISO får du rätt kunskap i rätt tid, direkt från källan. Med vår kunskap om standarders möjligheter hjälper vi våra kunder att skapa verklig nytta och lönsamhet i sina verksamheter.

Vill du veta mer om SIS eller hur standarder kan effektivisera din verksamhet är du välkommen in på www.sis.se eller ta kontakt med oss på tel 08‑555 523 00.

Standards make the world go roundSIS (Swedish Standards Institute) is an independent non-profit organisation with members from both the private and public sectors. We are part of the European and global network that draws up international standards. Standards consist of documented knowledge developed by prominent actors within the industry, business world and society. They promote cross-border trade, they help to make processes and products safer and they streamline your organisation.

Take part and have influenceAs a member of SIS you will have the possibility to participate in standardization activities on national, European and global level. The membership in SIS will give you the opportunity to influence future standards and gain access to early stage information about developments within your field.

Get to know the finished workWe offer our customers everything in connection with standards and their application. You can purchase all the publications you need from us - everything from individual standards, technical reports and standard packages through to manuals and online services. Our web service e-nav gives you access to an easy-to-navigate library where all standards that are relevant to your company are available. Standards and manuals are sources of knowledge. We sell them.

Increase understanding and improve perceptionWith SIS you can undergo either shared or in-house training in the content and application of standards. Thanks to our proximity to international development and ISO you receive the right knowledge at the right time, direct from the source. With our knowledge about the potential of standards, we assist our customers in creating tangible benefit and profitability in their organisations.

If you want to know more about SIS, or how standards can streamline your organisation, please visit www.sis.se or contact us on phone +46 (0)8‑555 523 00

This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 3: SVENSK STANDARD SS-ISO 11783-3:2018

© Copyright/Upphovsrätten till denna produkt tillhör SIS, Swedish Standards Institute, Stockholm, Sverige. Användningen av denna produkt regleras av slutanvändarlicensen som återfinns i denna produkt, se standardens sista sidor.

© Copyright SIS, Swedish Standards Institute, Stockholm, Sweden. All rights reserved. The use of this product is governed by the end-user licence for this product. You will find the licence in the end of this document.

Upplysningar om sakinnehållet i standarden lämnas av SIS, Swedish Standards Institute, telefon 08-555 520 00. Standarder kan beställas hos SIS som även lämnar allmänna upplysningar om svensk och utländsk standard.

Information about the content of the standard is available from the Swedish Standards Institute (SIS), telephone +46 8 555 520 00. Standards may be ordered from SIS, who can also provide general information about Swedish and foreign standards.

Den internationella standarden ISO 11783-3:2018 gäller som svensk standard. Detta dokument innehåller den officiella engelska versionen av ISO 11783-3:2018.

Denna standard ersätter SS-ISO 11783-3:2014, utgåva 3

The International Standard ISO 11783-3:2018 has the status of a Swedish Standard. This document contains the official English version of ISO 11783-3:2018.

This standard supersedes the SS-ISO 11783-3:2014, edition 3

Denna standard är framtagen av kommittén för Lantbruksmaskiner, SIS/TK 228.

Har du synpunkter på innehållet i den här standarden, vill du delta i ett kommande revideringsarbete eller vara med och ta fram andra standarder inom området? Gå in på www.sis.se - där hittar du mer information.

This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 4: SVENSK STANDARD SS-ISO 11783-3:2018

Contents Page

Foreword .......................................................................................................................................................................viIntroduction ................................................................................................................................................................vii1 Scope ................................................................................................................................................................... 12 Normative references ................................................................................................................................... 13 Termsanddefinitions ................................................................................................................................... 14 General description ....................................................................................................................................... 15 Technical requirements ............................................................................................................................... 2

5.1 Message frame format ........................................................................................................................................25.1.1 General .....................................................................................................................................................25.1.2 Message frame format according to ISO 11783 (ISO 11898-1 CEFF) ..........................25.1.3 Parameter group numbers (PGN) ................................................................................................65.1.4 ISO 11783 support of ISO 11898-1 CBFF messages ............................................................7

5.2 Protocol data unit (PDU) ...................................................................................................................................85.2.1 General .....................................................................................................................................................85.2.2 Priority (P) .............................................................................................................................................85.2.3 Extended data page (EDP) ..............................................................................................................85.2.4 Data page (DP) .....................................................................................................................................85.2.5 PDU format (PF) ..................................................................................................................................95.2.6 PDUSpecific(PS) .................................................................................................................................95.2.7 Source address (SA) ........................................................................................................................ 105.2.8 Datafield .............................................................................................................................................. 10

5.3 Protocol data unit (PDU) formats ............................................................................................................... 115.3.1 General .................................................................................................................................................. 115.3.2 PDU1 format ....................................................................................................................................... 115.3.3 PDU2 format ....................................................................................................................................... 12

5.4 Message types ..................................................................................................................................................... 135.4.1 General .................................................................................................................................................. 135.4.2 Command............................................................................................................................................. 145.4.3 Request ................................................................................................................................................. 145.4.4 Broadcast/Response ....................................................................................................................... 165.4.5 Acknowledgement ........................................................................................................................... 165.4.6 Group function .................................................................................................................................. 225.4.7 Request2 .............................................................................................................................................. 245.4.8 Transfer ................................................................................................................................................ 25

5.5 Message priority ................................................................................................................................................ 275.6 Bus access ............................................................................................................................................................. 275.7 Contention-based arbitration ....................................................................................................................... 275.8 Error detection ................................................................................................................................................... 275.9 Assignment process for SA and PGN ......................................................................................................... 27

5.9.1 General .................................................................................................................................................. 275.9.2 Address assignment criteria ........................................................................................................ 285.9.3 Parameter group assignment criteria ..................................................................................... 285.9.4 Datafielddefinition ........................................................................................................................ 29

5.10 Transport protocol functions ....................................................................................................................... 305.10.1 General .................................................................................................................................................. 305.10.2 “Packetization” and reassembly ................................................................................................. 315.10.3 Transport Protocol — Connection management ............................................................... 325.10.4 Transport Protocol — Connection management messages (TP.CM) ......................... 345.10.5 Transport Protocol — Data Transfer messages (TP.DT) ................................................. 385.10.6 Transport Protocol Connection constraints ......................................................................... 39

5.11 Extended transport protocol functions .................................................................................................... 405.11.1 Overview .............................................................................................................................................. 40

iv

SS-ISO 11783-3:2018 (E)This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 5: SVENSK STANDARD SS-ISO 11783-3:2018

5.11.2 General .................................................................................................................................................. 405.11.3 Message packets ............................................................................................................................... 405.11.4 Extended Transport Protocol — Connection Management ........................................... 405.11.5 Extended Transport Protocol — Connection Management

messages (ETP.CM).......................................................................................................................... 435.11.6 Extended Transport Protocol — Data Transfer messages (ETP.DT) .......................... 465.11.7 Extended Transport Protocol — Connection constraints ............................................... 46

5.12 PDU processing requirements ..................................................................................................................... 465.13 Application notes ............................................................................................................................................... 47

5.13.1 High data rates .................................................................................................................................. 475.13.2 Request scheduling ......................................................................................................................... 475.13.3 Controller response time and timeout defaults .................................................................. 475.13.4 Required responses ......................................................................................................................... 485.13.5 TransmissionofPGNtospecificorglobaldestinations .................................................. 485.13.6 CTS number of packet recommendation ............................................................................... 48

Annex A (informative) ISO 11783 PDU processing — Typical receive routine .......................................49Annex B (informative) Transport protocol transfer sequences — Examples of connection

mode data transfer ......................................................................................................................................51Annex C (informative) Communication mode examples ................................................................................60Annex D (informative) Network bandwidth utilization .................................................................................62Bibliography ................................................................................................................................................................63

v

SS-ISO 11783-3:2018 (E)This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 6: SVENSK STANDARD SS-ISO 11783-3:2018

Foreword

ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization.

The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the different types of ISO documents should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see www .iso .org/directives).

Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of anypatentrightsidentifiedduringthedevelopmentofthedocumentwillbeintheIntroductionand/oron the ISO list of patent declarations received (see www .iso .org/patents).

Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement.

For an explanation of the voluntary nature of standards, the meaning of ISO specific terms andexpressions related to conformity assessment, as well as information about ISO's adherence to the World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT) see www .iso .org/iso/foreword .html.

This document was prepared by Technical Committee ISO/TC 23, Tractors and machinery for agriculture and forestry, Subcommittee SC 19, Agricultural electronics.

This fourth edition cancels and replaces the third edition (ISO 11783-3:2014), which has been technically revised. The main changes compared to the previous edition are as follows:

— updates wording with respect to ISO 11898-1 (exclude the usage of CAN Flexible Data Rate);

— allows BAM.TP to be sent with 10 ms;

— ACKNOWLEDGEMENTPGsupportsExtendedIdentifierTypewhenRequest2utilizesit.

A list of all parts in the ISO 11783 series can be found on the ISO website.

Any feedback or questions on this document should be directed to the user’s national standards body. A complete listing of these bodies can be found at www .iso .org/members .html.

vi

SS-ISO 11783-3:2018 (E)This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 7: SVENSK STANDARD SS-ISO 11783-3:2018

Introduction

ISO11783specifiesacommunicationssystemforagriculturalequipmentbasedontheISO11898-1CANprotocol. SAE J 1939 documents1), on which parts of ISO 11783 are based, were developed jointly for use in truck and bus applications and for construction and agriculture applications. Joint documents have beencompletedtoallowelectronicunitsthatmeetthetruckandbusSAEJ1939specificationstobeused by agricultural and forestry equipment with minimal changes. General information on ISO 11783 can be found in ISO 11783-1.

The purpose of ISO 11783 is to provide an open, interconnected system for on-board electronic systems. It is intended to enable electronic control units (ECUs) to communicate with each other, providing a standardized system.

1) Society of automotive engineers.

vii

SS-ISO 11783-3:2018 (E)This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 8: SVENSK STANDARD SS-ISO 11783-3:2018

This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 9: SVENSK STANDARD SS-ISO 11783-3:2018

Tractors and machinery for agriculture and forestry — Serial control and communications data network —

Part 3: Data link layer

1 Scope

Thisdocumentspecifiestheapplication,thenetworklayerprotocolsandthemappingtothecontrollerareanetwork(CAN)datalinklayerprotocolasspecifiedinISO11898-1.Theapplicationlayerspecifiesprotocol data units (PDU), which can be mapped to Classical CAN data frames using the Classical Extended Frame Format (CEFF). For PDUs exceeding the length of the CEFF-formatted data frames, this documentspecifiestransportlayerprotocolsandthemappingtoCEFF-formatteddataframes.

2 Normative references

The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.

ISO 11783-1, Tractors and machinery for agriculture and forestry — Serial control and communications data network — Part 1: General standard for mobile data communication

ISO 11783-5, Tractors and machinery for agriculture and forestry — Serial control and communications data network — Part 5: Network management

ISO 11783-7, Tractors and machinery for agriculture and forestry — Serial control and communications data network — Part 7: Implement messages application layer

ISO 11898-1, Road vehicles — Controller area network (CAN) — Part 1: Data link layer and physical signalling

ISO 15765-2, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 2: Transport protocol and network layer services

3 Termsanddefinitions

Forthepurposesofthisdocument,thetermsanddefinitionsgiveninISO11783-1andISO11898-1apply.

ISO and IEC maintain terminological databases for use in standardization at the following addresses:

— ISO Online browsing platform: available at https: //www .iso .org/obp

— IEC Electropedia: available at http: //www .electropedia .org/

4 General description

The data link layer enables the reliable transfer of data across the physical link. This consists of sending the CAN classical data frame with the necessary synchronization, sequence control, error control and flowcontrol.Theflowcontrolisaccomplishedthroughaconsistentmessageframeformat.

1

SS-ISO 11783-3:2018 (E)This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 10: SVENSK STANDARD SS-ISO 11783-3:2018

5 Technical requirements

5.1 Message frame format

5.1.1 General

ThemessageframeformatshallconformtotheCANrequirements.TheCANspecificationreferencedthroughout thisdocument isspecified in ISO11898-1.WhentherearedifferencesbetweentheCANspecificationandthisdocument,thisdocumentshallbethegoverningdocument.

The CAN document specifies, in an information-routing-related discussion, that control functionaddresses are not used. While this is true for some applications of CAN, it is not true for ISO 11783. ThedefinitionoftheISO11783networkrequiresthatcontrolfunctionaddressingbeusedtopreventmultiplecontrolfunctionsfromusingthesameCANidentifierfield.ManyadditionalrequirementsexistinISO11783thatarenotspecifiedbyCAN.

ISO 11898-1 specifies two classical frame formats: Classical Basic Frame Format (CBFF) and CEFF.ISO 11898-1 compatibility implies that messages of both formats can potentially be present on a single network, by using certain bit coding which allows for the recognition of the different formats. Up to this point,ISO11783alsoaccommodatesbothmessageframeformats.However,ISO11783onlydefinesafull strategy for standardized communications using the CEFF. All CBFF messages are for proprietary use following the rules defined in this document. Any FD Frame Format shall not be used on theISO 11783 network.

ISO 11783 controllers shall therefore use the CEFF. CBFF messages may reside on the network, but only in accordance with this document.

TheclassicalCANdataframeisparsedintodifferentbitfields,asshowninFigure 1. The number and parsingof thebits in thearbitrationandcontrol fielddiffersbetweentheCBFFandCEFFmessages.CBFF messages, as shown in Figure 1a),contain11identifierbitsinthearbitrationfield,whereasthearbitrationfieldofCEFFmessages,asshowninFigure 1b),contain29identifierbits. ISO11783hasfurther defined the identifier bits in the arbitration field of theCANmessage frame formats. ThesedefinitionsaregiveninTable 1.

5.1.2 Message frame format according to ISO 11783 (ISO 11898-1 CEFF)

The CEFF message, illustrated by Figure 1, encompasses a single protocol data unit (PDU). The PDU consistsofsevenpredefinedfields,assimilatedfrominformationprovidedbytheapplicationlayer:

— Priority;

— Extended Data Page (EDP);

— Data Page (DP);

— PDU Format (PF),

— PDUSpecific(PS),whichcanbeDestinationAddress(DA),GroupExtension(GE)orproprietary;

— Source Address (SA);

— Data.

See 5.2foradetaileddescriptionofeachfieldand5.3 for PDU formats.

2

SS-ISO 11783-3:2018 (E)This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721

Page 11: SVENSK STANDARD SS-ISO 11783-3:2018

a) Classical Base Frame Format (CBFF)

b) Classical Extended Frame Format (CEFF)

Figure 1 — Classical CAN data frames

The fieldsare thenpackaged intooneclassicalCANdata frameandsentover thephysicalmedia toother network controllers. The layers of the OSI model that ISO 11783 supports are shown in Figure 2. ItispossiblethatsomeparametergroupdefinitionsrequiremorethanoneclassicalCANdataframeinorder to send their information.

3

SS-ISO 11783-3:2018 (E)This preview is downloaded from www.sis.se. Buy the entire standard via https://www.sis.se/std-80007721