1、 g49g50g3g38g50g51g60g44g49g42g3g58g44g55g43g50g56g55g3g37g54g44g3g51g40g53g48g44g54g54g44g50g49g3g40g59g38g40g51g55g3g36g54g3g51g40g53g48g44g55g55g40g39g3g37g60g3g38g50g51g60g53g44g42g43g55g3g47g36g58network for livestock farmingICS 35.240.99; 65.060.01Stationary equipment for agriculture Data comm
2、unications BRITISH STANDARDBS ISO 17532:2007BS ISO 17532:2007This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 October 2007 BSI 2007ISBN 978 0 580 56706 3Amendments issued since publicationAmd. No. Date Commentscontract. Users are responsibl
3、e for its correct application.Compliance with a British Standard cannot confer immunity from legal obligations.National forewordThis British Standard is the UK implementation of ISO 17532:2007. The UK participation in its preparation was entrusted by Technical Committee AGE/6, Agricultural tractors
4、and forestry machinery, to Subcommittee AGE/6/1, Agricultural electronics.A list of organizations represented on this committee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a Reference numberISO 17532:2007(E)INTERNATIONAL ST
5、ANDARD ISO17532First edition2007-08-01Stationary equipment for agriculture Data communications network for livestock farming Matriel fixe pour lagriculture Rseau de communication de donnes pour fermes dlevage BS ISO 17532:2007ii iiiContents Page Foreword iv 1 Scope 1 2 Normative references 1 3 Terms
6、 and definitions .1 4 Abbreviated terms .4 5 General6 6 Technical requirements and recommendations.6 6.1 Basic requirements6 6.2 Connectors .6 6.3 Cables .7 6.4 Transport protocol.7 7 Network livestock farming communication 7 7.1 Farm use .7 7.2 Internet use.7 7.3 Multicast communication8 7.4 TCP co
7、nnections8 7.5 Addressing devices.13 7.6 Configuration of network devices13 7.7 Network management and monitoring 13 7.8 Communication steps .13 7.9 Communication levels.15 7.10 Communication functions 19 7.11 ADIS extensions.23 7.12 XML/ADED 28 8 Data dictionary (DD) 31 8.1 General31 8.2 DD element
8、s essential for network livestock farming .31 8.3 CODE SET and lists.32 8.4 Entities for describing communicated data contents32 9 Electrical specifications32 10 Mechanical specifications 32 Annex A (normative) Data elements33 Bibliography 71 BS ISO 17532:2007iv Foreword ISO (the International Organ
9、ization 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 establish
10、ed 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.
11、 International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standards. Draft International Standards adopted by the technical committees are circulated to the member bodies for voting. Pu
12、blication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. 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 paten
13、t rights. ISO 17532 was prepared by Technical Committee ISO/TC 23, Tractors and machinery for agriculture and forestry, Subcommittee SC 19, Agricultural electronics. BS ISO 17532:20071Stationary equipment for agriculture Data communications network for livestock farming 1 Scope This International St
14、andard specifies a protocol for the automatic and interactive communication and control of computer systems used in livestock production. It supports communication within the livestock production as well as across the Internet. While it defines the basic protocol for data exchange, it uses generic d
15、ata structures so that the protocol is extendable regarding future requirements. The protocol is applicable only to simple and/or clearly defined entities. This International Standard deals with the networking of those services used for livestock production which are provided by the devices in syste
16、ms. It is not applicable to communication within subsystems. The syntax of the transported data is based on the ADIS and ADED standards as defined in ISO 11787 and ISO 11788; alternatively, XML/ADED can be used as described in this International Standard. Like the ADIS standard specified in ISO 1178
17、7, it is implicit that the syntax is not intended for real-time data interchange. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the
18、referenced document (including any amendments) applies. ISO 3166-1, Codes for the representation of names of countries and their subdivisions Part 1: Country codes ISO 4217, Codes for the representation of currencies and funds ISO 11787, Machinery for agriculture and forestry Data interchange betwee
19、n management computer and process computers Data interchange syntax ISO 11788-1, Electronic data interchange between information systems in agriculture Agricultural data element dictionary Part 1: General description IEC 60204-1, Safety of machinery Electrical equipment of machines Part 1: General r
20、equirements IEC 60529, Degrees of protection provided by enclosures (IP Code) 3 Terms and definitions For the purposes of this document, the terms and definitions given in ISO 11787 and ISO 11788-1, and the following, apply. BS ISO 17532:20072 3.1 bluetooth industry standard for the wireless cross-l
21、inking of devices with small range 3.2 device any machine or component which is connected to computer systems used for livestock production 3.3 MAC address hardware address that uniquely identifies each node of a network NOTE MAC is an acronym for media access control. 3.4 system data processing or
22、control component at the computer systems used for livestock production 3.5 subsystem division of a system, which itself has the characteristics of a data communication system 3.6 network interconnection of three or more communicating components which exchange data via a network 3.7 network manageme
23、nt execution of a set of functions required for controlling, planning, allocating, deploying, coordinating and monitoring the resources of a network 3.8 datagram fundamental unit of information carriage in all modern computer networks NOTE It consists of a header, which contains the information need
24、ed to get the datagram from the source to the destination, and a data area, which contains the data content (messages). 3.9 location agricultural business and the various subsystems (shed, compartment, bay, place) of a farm 3.10 location address sequence of sub-addresses separated by dots NOTE The s
25、equence begins with the farm number (15 N). The farm number starts with the numeric ISO Country Code (ISO 3166/3 N) and is immediately followed by a unique national farm ID (12 N). 3.11 server program in a device which provides a socket with which a client can link up to exchange ISO 17532 messages
26、and services 3.12 client program in a device that is used to contact and obtain data from a server program on another or the same device NOTE An ISO 17532 client is designed to work with ISO 17532 server programs only. BS ISO 17532:200733.13 parameter group group of related parameters which can be u
27、sed to configure machine configurations for ISO 17532 communication 3.14 parameter class contains one or more parameter groups which are classified by a special function or task 3.15 parameter identifier item type for machine configuration 3.16 DD entity data element definition from the data diction
28、ary (DD) 3.17 DD entity number number used to identify a data entity in a data dictionary (DD) 3.18 DD item data details of the data elements from the data dictionary (DD) 3.19 code set fixed set of states with defined contents 3.20 multicast delivery of information to multiple destinations simultan
29、eously, using the most efficient strategy to deliver the message over each link of the network NOTE Delivery is performed only once and copies are created only when the links to the destinations split. “Multicast” is used to refer to an IP multicast, which is a protocol for efficiently sending to mu
30、ltiple receivers at IP networks at the same time. 3.21 multicast address address of a multicast connection 3.22 transmission control protocol TCP connection-oriented, reliable delivery byte-stream transport layer communication protocol 3.23 user datagram protocol UDP minimal message-oriented transpo
31、rt layer protocol 3.24 Internet protocol IP data-oriented protocol used by source and destination hosts for communication data across a packet-switched Internetwork BS ISO 17532:20074 3.25 virtual private network VPN private communication network used within a company or by different companies or or
32、ganizations communicating over the Internet NOTE Secure VPN use cryptographic tunnelling protocols to provide the necessary confidentiality, sender authentication and message integrity to achieve the privacy intended. 3.26 unity comparison figure with which the values of defined items are expressed
33、3.27 handle number unique number used to identify a transaction or a named query 3.28 device ID unique device number constructed by the MAC address ID 3.29 port network port interface for communicating with a computer program over a network NOTE Network ports are numbered. UDP and TCP will attach a
34、port number to the data sent, which is used by the receiving network component to determine to which application on the device data should be sent. 3.30 session period of communication activity NOTE Reliable, interactive transfer of data between two devices in ISO 17532 communication is called a “se
35、ssion”. 3.31 transaction one interaction between client and server 3.32 session end line termination end of a session 4 Abbreviated terms ADIS agriculture data interchange syntax ADED agriculture data element dictionary AN alphanumeric C conditional DA data authentication DD data dictionary DHCP dyn
36、amic host configuration protocol BS ISO 17532:20075DNS domain name server DF data line of faulty data + error item + impact item DN definition line type of status normal (N) EDI electronic data interchange FTP file transfer protocol IAONA international automation open networking alliance IEEE instit
37、ute of electrical and electronic engineers IETF Internet engineering task force IP Internet protocol K key data element LAN local area network M mandatory MCC multicast communication N numeric NLF network livestock farming O optional PIG industrial Ethernet planning and installation guide PO process
38、ing instruction open PP processing instruction pending PPP point-to-point protocol PR processing instruction result line RJ45 registered jack type 45 SBC session-based communication SN sequence number TCP transmission control protocol TN termination line with status normal (N) UDP user datagram prot
39、ocol URI uniform resource identifier URL uniform resource locator UTC universal time (also known as Greenwich mean time) VA value line for authentication VE value line error handling information BS ISO 17532:20076 VF value line faulty data + error code + impact code VN value line type and status VPN
40、 virtual private network WLAN wireless local area network XML extensible markup language ZN end session NOTE For descriptions of line type and status character abbreviations, see Figure 8. 5 General Networks of computer systems are necessary in livestock farming for controlling various processes (e.
41、g. feeding and climate), environmental balance (field yard balance), and comprehensive environmental and animal protection, as well as for economic reasons. In order to use services over a networked infrastructure, information must be transported. For this, the way in which the information is to be
42、communicated between the communication partners needs to be known in advance. The purpose of this International Standard is to provide a protocol that serves this need. IP is used as the basis for ISO 17532 communication and TCP streams are used to ensure reliable communication. For management and s
43、hort messages, UDP datagrams are multicasted. For the notation of the description of the ADIS syntax, see ISO 11787. As the physical layer for the IP, the Ethernet as defined in IEEE 802.3x is the most commonly used today, and this International Standard is designed to support it. IP packets can be
44、transported using wired or wireless communication. This International Standard defines the requirements for the physical connections and the data communication in a network used for livestock production. The requirements apply for the devices connected directly to this network. 6 Technical requireme
45、nts and recommendations 6.1 Basic requirements Fast data communication between the components shall be guaranteed by the devices involved. If real-time communication is needed, logical separated network segments shall be configured for communication in real time within the important segment. A struc
46、tured cabling or wireless connection shall be provided. 6.2 Connectors The use of RJ45 connectors is recommended. Depending on the environmental conditions (light or heavy duty), the connections shall comply with protection classes IP 20 or IP 67 in accordance with IEC 60529. BS ISO 17532:200776.3 C
47、ables The devices of the manufacturers shall be star, bus or ring-shaped connections. A four-wire cable is sufficient for the data connection. For the wiring of the stable net, cable types corresponding to the IAONA recommendations (PIG, release 4.0, 2003) should be used. The transmission speed is d
48、etermined as a minimum of 10 MB/s for copper wire connections. For the wiring within the barn area, safety class system IP 67 (heavy duty) should be used. In less susceptible environments (stable office), IP 20 (light duty) is sufficient. As basic requirements for the physical layer, the recommendat
49、ions of the IAONA shall at least be met. 6.4 Transport protocol Both TCP/IP and UDP are used TCP/IP for reliable connections, UDP for multicast addressing communication. Components (WLAN, Bluetooth devices) that can be connected to the farm network via TCP/IP and UDP, and which conform to corresponding IEEE standards, are supported. Figure 1 shows this architecture graphically. Figure 1 ISO 17532 and TCP/IP layers 7 Network livestock farming communication 7.1 Farm use There are no limitations on ISO 17532 communication wit