1、 AMERICAN NATIONAL STANDARD ANSI/ISA62453-303-2 (103.00.06)-2011 Field device tool (FDT) interface specification Part 303-2: Communication profile integration IEC 61784 CP 3/4, CP 3/5 and CP 3/6 Approved 31 May 2011 . ANSI/ISA62453-303-2 (103.00.06)-2011, FIELD DEVICE TOOL (FDT) INTERFACE SPECIFICAT
2、ION Part 303-2: Communication profile integration IEC 61784 CP 3/4, CP 3/5 and CP 3/6 ISBN: 978-0-876640-60-9 Copyright 2011 IEC and ISA. These materials are subject to copyright claims of IEC and ISA. No part of this publication may be reproduced in any form, including an electronic retrieval syste
3、m, without the prior written permission of ISA. All requests pertaining to the ANSI/ISA62453-303-2 (103.00.06)-2011 Standard should be submitted to ISA. ISA 67 Alexander Drive P.O. Box 12277 Research Triangle Park, North Carolina 27709 ANSI/ISA62453-303-2 (103.00.06)-2011 - 3 - Preface This preface,
4、 as well as all footnotes and annexes, is included for information purposes and is not part of ANSI/ISA62453-303-2 (103.00.06)2011. This document has been prepared as part of the service of ISA toward a goal of uniformity in the field of instrumentation. To be of real value, this document should not
5、 be static but should be subject to periodic review. Toward this end, the Society welcomes all comments and criticisms and asks that they be addressed to the Secretary, Standards and Practices Board; ISA; 67 Alexander Drive; P. O. Box 12277; Research Triangle Park, NC 27709; Telephone (919) 549 -841
6、1; Fax (919) 549-8288; E-mail: standardsisa.org. The ISA Standards and Practices Department is aware of the growing need for attention to the metric system of units in general, and the International System of Units (SI) in particular, in the preparation of instrumentation standards. The Department i
7、s further aware of the benefits to USA users of ISA standards of incorporating suitable references to the SI (and the metric system) in their business and professional dealings with other countries. Toward this end, this Department will endeavor to introduce SI-acceptable metric units in all new and
8、 revised standards, recommended practices, and technical reports to the greatest extent possible. Standard for Use of the International System of Units (SI): The Modern Metric System, published by the American Society for Testing NetworkManagementInfoWrite service. 9.2 Parameter access data types Th
9、e data types describe the parameter information of an IEC 61784 CP 3/4, CP 3/5 and CP 3/6 device (see Table 4 and Table 5) Table 4 Simple parameter access data types Data type Definition Description arType UINT ARType according to the PROFINET specification Shall only be set by Parent arProperties U
10、DINT ARProperties according to the PROFINET specification Shall only be set by Parent ANSI/ISA62453-303-2 (103.00.06)-2011 . - 16 - Data type Definition Description arUUID UUID ARUUID according to the PROFINET specification Shall only be set by Parent alarmCRType UINT AlarmCRType according to the PR
11、OFINET specification Shall only be set by Parent alarmCRProperties UDINT AlarmCRProperties according to the PROFINET specification Shall only be set by Parent rtaTimeoutFactor UINT RTATimeoutFactor according to the PROFINET specification Shall only be set by Parent rtaRetries UINT RTARetries accordi
12、ng to the PROFINET specification Shall only be set by Parent localAlarmReference UINT LocalAlarmReference according to the PROFINET specification Shall only be set by Parent maxAlarmDataLength UINT MaxAlarmDataLength according to the PROFINET specification Shall only be set by Parent infoText STRING
13、 Additional textual information Shall only be set by DTM localIndex UINT The attribute used within Device/Identification to address the device instance. Shall only be set by DTM nameOfStation STRING The station name is the primary address. The default value is the DNS_CompatibleName of the GSDML. Th
14、e Parent shall configure the station name according to the rules defined by the DNS_CompatibleName. Shall only be set by Parent apart of the default value, which shall be set by DTM (during InitNew) dynIpAddress BOOL The attribute indicates whether the IP address is dynamically assigned to the devic
15、e. Shall only be set by Parent extAddrSupported BOOL Extended address assignment (e.g. by DHCP, BootP) is supported by the Profinet IO Device. Shall only be set by DTM ipAddress STRING The attribute contains the IP address that is assigned to the device. The IP address is a secondary address. The de
16、fault value is “0.0.0.0”. Shall only be set by Parent ipSubnetMask STRING The attribute contains the subnet mask. The default value is “255.255.255.255”. Shall only be set by Parent ipDefaultGateway STRING The attribute contains the default gateway address. The default value is an empty string. Shal
17、l only be set by Parent ANSI/ISA62453-303-2 (103.00.06)-2011 - 17 - Data type Definition Description macAddress STRING The attribute contains the MAC address of the device. The MAC address is a secondary address. The macAddress attribute is of type string and shall be used with format shown in the e
18、xample: Example: 00:A0:45:01:02:03 Shall only be set by Parent slotNumber UINT The slot address that is used by the module Shall be set by DTM during configuration. Can be set by Parent during topology scan moduleIdentNumber UDINT The ModuleIdentNumber according to the PROFINET specification Shall b
19、e set by DTM during configuration. Can be set by Parent during topology scan moduleProperties UINT This attribute is reserved for future use according to the PROFINET specification subSlotNumber UINT The subslot address that is used by the submodule. Shall be set by DTM during configuration. Can be
20、set by Parent during topology scan subModuleIdentNumber UDINT The SubmoduleIdentNumber according to the PROFINET specification. Shall be set by DTM during configuration. Can be set by Parent during topology scan ioType enumeration (Input | Output | InputAndOutput ) Allowed values are: Input, Output,
21、 InputAndOutput. Values and meaning according to the PROFINET specification - SubmoduleProperties.Type. Shall be set by DTM during configuration. Can be set by Parent during topology scan sharedInput enumeration (IOController | IOControllerShare ) Allowed values are: IOController, IOControllerShare.
22、 Values and meaning according to the PROFINET specification - SubmoduleProperties.SharedInput. Shall be set by DTM during configuration. Can be set by Parent during topology scan reduceInputSubmodule DataLength enumeration (Expected | Zero ) Allowed values are: Expected, Zero. Values and meaning acc
23、ording to the PROFINET specification - SubmoduleProperties.ReduceInputSubmoduleDataLength. Shall be set by DTM during configuration. Can be set by Parent during topology scan reduceOutputSubmodule DataLength enumeration (Expected | Zero ) Allowed values are: Expected, Zero. Values and meaning accord
24、ing PROFINET specification - SubmoduleProperties.ReduceOutputSubmoduleDataLength. Shall be set by DTM during configuration. Can be set by Parent during topology scan discardIOXS enumeration (Expected | Zero ) Allowed values are: Expected, Zero. Values and meaning according PROFINET specification -Su
25、bmoduleProperties.DiscardIOXS. Shall be set by DTM during configuration. Can be set by Parent during topology scan ANSI/ISA62453-303-2 (103.00.06)-2011 . - 18 - Data type Definition Description api UDINT The API according to the PROFINET specification. Shall be set by DTM during configuration. Can b
26、e set by Parent during topology scan index UINT The address of the desired record data object. Shall only be set by DTM recordData ARRAY OF USINT The binary data that will be written to the submodule during startup or connect. The record data implicitly contain the record data length. Shall only be
27、set by DTM consistency enumeration (itemConsistency | allItemsConsistency ) The consistency of the input data. Shall only be set by DTM during configuration sendClockFactor UINT SendClockFactor according to the PROFINET specification. Shall only be set by Parent, if the attribute belongs to the elem
28、ent SubModule. Shall only be set by DTM, if the attribute belongs to the element SendClockFactor reductionRatio UINT ReductionRatio according to the PROFINET specification. Shall only be set by Parent, if the attribute belongs to the element SubModule. Shall only be set by DTM, if the attribute belo
29、ngs to the element ReductionRatio watchdogFactor UINT WatchdogFactor according to the PROFINET specification. Shall only be set by Parent dataHoldFactor UINT DataHoldFactor according to the PROFINET specification. Shall only be set by Parent Table 5 Structured parameter access data types Data type D
30、efinition Description Elementary data types Usage Multiplicity RecordParamData STRUCT Record data that will be written to the submodule during startup or connect index M 11 recordData M 11 fdt:name O 01 RecordParamDataList STRUCT List of records that will be written to the submodule during startup o
31、r connect collection of M 11 RecordParamData 1* ANSI/ISA62453-303-2 (103.00.06)-2011 - 19 - Data type Definition Description Elementary data types Usage Multiplicity OutputDataList STRUCT List of output data provided by a submodule. The list refers to the corresponding FDT-Channel objects consistenc
32、y O 01 fdt:ChannelReferences M 11 InputDataList STRUCT List of input data provided by a submodule. The list refers to the corresponding FDT-Channel objects consistency O 01 fdt:ChannelReferences M 11 SubModule STRUCT The identification and configuration of a submodule subSlotNumber M 11 fdt:name M 1
33、1 fdt:descriptor O 01 subModuleIdentNumber M 11 api M 11 sendClockFactor M 11 reductionRatio M 11 watchdogFactor M 11 dataHoldFactor M 11 InputDataList O 01 OutputDataList O 01 RecordParamDataList O 01 SubModuleProperties O 01 SubModuleList STRUCT List of expected submodules within a module collecti
34、on of M 11 SubModule 1* SubModuleProperties STRUCT The data type defines the type of submodule: NO_IO, INPUT, OUTPUT, IO according to the PROFINET specification. Shall be set by DTM during configuration. Can be set by Parent during topology scan ioType M 11 sharedInput M 11 reduceInput-SubmoduleData
35、Length M 11 reduceOutput-SubmoduleDataLength M 11 discardIOXS M 11 ANSI/ISA62453-303-2 (103.00.06)-2011 . - 20 - Data type Definition Description Elementary data types Usage Multiplicity Module STRUCT The identification and configuration of a module slotNumber M 11 moduleIdentNumber M 11 modulePrope
36、rties M 11 fdt:name M 11 fdt:descriptor M 11 SubModuleList M 11 ModuleList STRUCT List of expected modules within an application relationship collection of M 11 Module 1* AlarmCR STRUCT The Alarm CR is managed by the Communication DTM, but the information is stored at the Device DTM alarmCRType M 11
37、 alarmCRProperties M 11 rtaTimeoutFactor M 11 rtaRetries M 11 localAlarmReference M 11 maxAlarmDataLength M 11 AR STRUCT The application relationship (AR) is managed by the Communication DTM, but the information is stored at the Device DTM arType M 11 arProperties M 11 arUUID M 11 AlarmCR M 11 Modul
38、eList O 01 TimingProperties STRUCT TimingProperties content matches the GSDML element TimingProperties. The data type provides device type related timing constraints to be considered by the IO Controller. TimingProperties and its data types shall be set by the DTM only. The Device DTM ignores elemen
39、t during execution of function IDtmParameter:SetParameters collection of M 11 SendClockFactor M 1* collection of M 11 ANSI/ISA62453-303-2 (103.00.06)-2011 - 21 - Data type Definition Description Elementary data types Usage Multiplicity ReductionRatio M 1* ReductionRatio STRUCT ReductionRatio is requ
40、ired to map all device supported reduction ratio values described by GSDML attribute ReductionRatio. The GSDML attribute contains a value list to be mapped on several ReductionRatio elements of the schema described here. This data type represents device type data that shall be set by the DTM only. T
41、his information is used for communication schedule planning by the parent reductionRatio M 11 SendClockFactor STRUCT SendClockFactor is required to map all device supported send clock factor values described by GSDML attribute SendClockFactor. The GSDML attribute contains a value list to be mapped o
42、n several SendClockFactor elements of the schema described here. This data type represents device type data that shall be set by the DTM only. This information is used for communication schedule planning by the parent sendClockFactor M 11 Identification STRUCT The identification of a device or devic
43、e instance localIndex M 11 fdt:deviceTypeId M 11 fdt:manufacturerId M 11 infoText O 01 fdt:VersionInformation O 01 Device STRUCT The parameters of a device or device instance Identification M 11 collection of M 11 AR M 1* TimingProperties O 01 Network STRUCT The address information of the PROFINET d
44、evice nameOfStation M 11 dynIpAddress M 11 ipAddress M 11 ipSubnetMask M 11 ipDefaultGateway M 11 ANSI/ISA62453-303-2 (103.00.06)-2011 . - 22 - Data type Definition Description Elementary data types Usage Multiplicity extAddrSupported M 11 macAddress O 01 DeviceList STRUCT The list contains the para
45、meters for one device. If the DTM is responsible for a device hosting multiple device instances, the list contains the parameters for each device instance Network M 11 collection of M 11 Device M 1* 10 Communication data types The data types described in this clause are used at following services: c
46、onnect service; disconnect service; transaction service; abort service; SequenceBegin; SequenceEnd; SequenceStart. The service arguments contain the address information and the communication data (explained in Table 6 and Table 7). The data types described in this clause are defined for the followin
47、g namespace. Namespace: fdtprofinet Table 6 Simple communication data types Data type Definition Description api UDINT Address information according to the PROFINET specification nameOfStation STRING Address information according to the PROFINET specification localIndex UINT Address information acco
48、rding to the PROFINET specification errorDecode USINT Status information according to the PROFINET specification errorCode1 UINT Status information according to the PROFINET specification errorCode2 USINT Status information according to the PROFINET specification index UINT Address information accor
49、ding to the PROFINET specification ANSI/ISA62453-303-2 (103.00.06)-2011 - 23 - Data type Definition Description communicationReference UUID Mandatory identifier for a communication link to a device. This identifier is allocated by the communication component during the Connect. The address information has to be used for all following communication calls slot UINT Address information ac