1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS ISO 11783-13:2011Tractors and machinery foragriculture and forestry Serial control andcommunications data networkPart 13: File serverBS ISO 11783-13:2011 BRITISH STANDARDNatio
2、nal forewordThis British Standard is the UK implementation of ISO11783-13:2011. It supersedes BS ISO 11783-13:2007 which iswithdrawn.The UK participation in its preparation was entrusted to TechnicalCommittee AGE/6, Agricultural tractors and forestry machinery.A list of organizations represented on
3、this committee can beobtained on request to its secretary.This publication does not purport to include all the necessaryprovisions of a contract. Users are responsible for its correctapplication. BSI 2011ISBN 978 0 580 71833 5ICS 35.240.99; 65.060.01Compliance with a British Standard cannot confer i
4、mmunity fromlegal obligations.This British Standard was published under the authority of theStandards Policy and Strategy Committee on 31 May 2011.Amendments issued since publicationDate Text affectedBS ISO 11783-13:2011Reference numberISO 11783-13:2011(E)ISO 2011INTERNATIONAL STANDARD ISO11783-13Se
5、cond edition2011-04-01Tractors and machinery for agriculture and forestry Serial control and communications data network Part 13: File server Tracteurs et matriels agricoles et forestiers Rseaux de commande et de communication de donnes en srie Partie 13: Serveur de fichiers BS ISO 11783-13:2011ISO
6、11783-13:2011(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downlo
7、ading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the G
8、eneral Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address gi
9、ven below. COPYRIGHT PROTECTED DOCUMENT ISO 2011 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at th
10、e address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO 2011 All rights reservedBS ISO 11783-13:2011ISO 11783-13:20
11、11(E) ISO 2011 All rights reserved iiiContents Page Foreword iv Introduction.v 1 Scope1 2 Normative references1 3 Terms and definitions .1 4 General .2 5 Requirements.3 5.1 General message format 3 5.2 File data format3 5.2.1 Data.3 5.2.2 Bit groups.3 5.2.3 Integer.3 5.2.4 Character string.3 5.3 Dat
12、a transmission control 3 5.3.1 General .3 5.3.2 Strategy 4 5.3.3 Timeout.4 5.4 Date and time support.4 5.5 Multi-client support .4 5.6 File Handles .5 5.7 Volumes5 Annex A (normative) Character set.6 Annex B (normative) Parameter definitions.14 Annex C (normative) File server message definitions23 A
13、nnex D (informative) Common file system examples.43 Bibliography44 BS ISO 11783-13:2011ISO 11783-13:2011(E) iv ISO 2011 All rights reservedForeword ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of prepari
14、ng 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 lia
15、ison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of
16、technical committees is to prepare International Standards. Draft International Standards adopted by the technical committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. ISO 11783-13
17、was prepared by Technical Committee ISO/TC 23, Tractors and machinery for agriculture and forestry, Subcommittee SC 19, Agricultural electronics. This second edition cancels and replaces the first edition (ISO 11783-13:2007), of which it constitutes a minor revision. ISO 11783 consists of the follow
18、ing parts, under the general title Tractors and machinery for agriculture and forestry Serial control and communications data network: Part 1: General standard for mobile data communication Part 2: Physical layer Part 3: Data link layer Part 4: Network layer Part 5: Network management Part 6: Virtua
19、l terminal Part 7: Implement messages application layer Part 8: Power train messages Part 9: Tractor ECU Part 10: Task controller and management information system data interchange Part 11: Mobile data element dictionary Part 12: Diagnostics services Part 13: File server Part 14: Sequence control BS
20、 ISO 11783-13:2011ISO 11783-13:2011(E) ISO 2011 All rights reserved vIntroduction Parts 1 to 14 of ISO 11783 specify a communications system for agricultural equipment based on ISO 11898-11and ISO 11898-22. SAE J19393documents, on which parts of ISO 11783 are based, were developed jointly for use in
21、 truck and bus applications and for construction and agriculture applications. Joint documents were completed to allow electronic units that meet the truck and bus SAE J1939 specifications to be used by agricultural and forestry equipment with minimal changes. General information on ISO 11783 is to
22、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. The International Organization for Standardization
23、 (ISO) draws attention to the fact that it is claimed that compliance with this part of ISO 11783 may involve the use of a patent concerning the controller area network (CAN) protocol referred to throughout the document. ISO takes no position concerning the evidence, validity and scope of this paten
24、t. The holder of this patent has assured ISO that he is willing to negotiate licences under reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this respect, the statement of the holder of this patent right is registered with ISO. Information may be obtain
25、ed from: Robert Bosch GmbH Wernerstrasse 51 Postfach 30 02 20 D-70442 Stuttgart-Feuerbach Germany Attention is drawn to the possibility that some of the elements of this part of ISO 11783 may be the subject of patent rights other than those identified above. ISO shall not be held responsible for ide
26、ntifying any or all such patent rights. BS ISO 11783-13:2011BS ISO 11783-13:2011INTERNATIONAL STANDARD ISO 11783-13:2011(E) ISO 2011 All rights reserved 1Tractors and machinery for agriculture and forestry Serial control and communications data network Part 13: File server 1 Scope ISO 11783 as a who
27、le specifies a serial data network for control and communications on forestry or agricultural tractors and mounted, semi-mounted, towed or self-propelled implements. Its purpose is to standardize the method and format of transfer of data between sensors, actuators, control elements and information s
28、torage and display units, whether mounted on, or part of, the tractor or implement. This part of ISO 11783 specifies the file server (FS) for use by a tractor or self-propelled implement. 2 Normative references The following referenced documents are indispensable for the application of this document
29、. 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 f
30、or mobile data communication ISO 11783-3, Tractors and machinery for agriculture and forestry Serial control and communications data network Part 3: Data link layer ISO 11783-5, Tractors and machinery for agriculture and forestry Serial control and communications data network Part 5: Network managem
31、ent ISO 11783-6, Tractors and machinery for agriculture and forestry Serial control and communications data network Part 6: Virtual terminal ISO 11783-7, Tractors and machinery for agriculture and forestry Serial control and communications data network Part 7: Implement messages application layer 3
32、Terms and definitions For the purposes of this document, the terms and definitions given in ISO 11783-1 and the following apply. 3.1 client electronic control unit (ECU) on the mobile implement bus that uses the services of the file server 3.2 directory file which stores administrative information a
33、bout other files BS ISO 11783-13:2011ISO 11783-13:2011(E) 2 ISO 2011 All rights reserved3.3 file data object that stores data on a storage device 3.4 file attribute bit-coded information that defines the type and features of a file 3.5 file server FS electronic control unit (ECU) on the mobile imple
34、ment bus that provides storage for files and uses a set of commands for the handling of, and access to, these files 3.6 filename name conforming to requirements of a character set, which identifies a file or directory NOTE See Annex A for the character set. 3.7 Handle data object used for accessing
35、files and directories 3.8 hidden attribute file attribute indicating that the file should not appear in a directory listing NOTE A client sets this attribute by using the file server (FS) commands. 3.9 path specification of a filename that may also include the directory name 3.10 read-only attribute
36、 file attribute used to prevent writing to, or deletion of, a file NOTE A client sets this attribute by using the file server (FS) commands. 3.11 volume directory that refers to a specific logical or physical storage unit or space NOTE The primary volume is the volume used as current volume when the
37、 file server (FS) is started. 4 General The message set specified in this part of ISO 11783 is designed to support the needs of tractors and implements in using the services of a file server (FS) a distinct electronic control unit (ECU) on the mobile implement control system that enables all control
38、lers to store or retrieve data from a file-based storage device. BS ISO 11783-13:2011ISO 11783-13:2011(E) ISO 2011 All rights reserved 35 Requirements 5.1 General message format The general message format uses the parameter group number as the label for a group of parameters (see Annex B). Each of t
39、he parameters within the group can be expressed as characters, as scaled data defined by the ranges given in 5.2, or as one or more bits. Characters shall be transmitted with the left-most character first. Numerical parameters consisting of two or more data bytes shall be transmitted least significa
40、nt byte (LSB) first. When variable-length messages have eight or less data bytes, these messages shall be transmitted in a single controller area network (CAN) frame. When variable length messages have nine or more data bytes, the transport protocol (TP), in accordance with ISO 11783-3, or the exten
41、ded transport protocol (ETP), in accordance with ISO 11783-6, is required. When a message has less than eight data bytes, the unused bytes shall be filled with FF16values. 5.2 File data format 5.2.1 Data Data consists of a block of bytes (unsigned eight-bit values). All values in the range of 010 25
42、510, 0016 FF16are allowed. There is no special handling of individual characters (control characters, end-of-line markers, end-of-file markers or similar characters). 5.2.2 Bit groups Groups of one to eight bits are packed into one byte as bit 7 bit 0. Groups of nine to 16 bits are packed into two b
43、ytes in the order of LSB as bit 7 bit 0, followed by most significant byte (MSB) as bit 15 bit 8. Unused bits in a bit group default to a value of 0 (zero). 5.2.3 Integer Unsigned 8 bit 1 byte 0 281 010 25510Unsigned 16 bit 2 bytes, LSB first 0 2161 010 6553510Unsigned 32 bit 4 bytes, LSB first 0 23
44、21 010 429496729510Signed 32 bit 4 bytes, LSB first, twos compliment 231 2311 214748364810 +2147483647105.2.4 Character string A string contains characters represented by bytes (unsigned eight-bit values). The length of a string is specified by a string length data item. Annex A specifies the charac
45、ters allowed in a string used as a filename or a path name. 5.3 Data transmission control 5.3.1 General Each communication transaction between a client and the FS is initiated by a request from the client and terminated by a response from the FS. In order to provide fail-safe communications, it is i
46、mportant that the client assign the received response to a corresponding request and repeat an erroneous request without triggering the complete execution again. BS ISO 11783-13:2011ISO 11783-13:2011(E) 4 ISO 2011 All rights reserved5.3.2 Strategy The client can issue a request and receive no respon
47、se because of transient communication problems. The failure can happen during the request message, i.e. the FS does not receive the request, or during the response message, i.e. the client does not receive the response. The client cannot distinguish between these two cases and shall repeat the reque
48、st to obtain the requested data. If there is no transaction strategy, the problem of the FS not receiving the request is resolved by the client sending a second request and the FS responding with the requested data. However, if the client does not receive the correct response data message and sends
49、a second request, the FS then sends the next data from the file; this is because a data request automatically advances to the next data in the file. A transaction strategy is therefore required to prevent such errors. Each client on the network maintains its own transaction number (TAN) counter, which should start at 0 after a power cycle. Each client generates a TAN for each request that it sends to the FS. This is done by incrementing the last TAN u