April 30, 2010
MTConnect Part 1 Overview - Version 1.1.0 – Final ii
Table of Contents
1 Overview ............................................................................................................................................................... 1
1.1 MTConnect
®
Document Structure ................................................................................................................. 1
2 Purpose of This Document .................................................................................................................................. 3
2.1 Terminology .................................................................................................................................................. 3
2.2 XML Terminology ......................................................................................................................................... 5
2.3 Markup Conventions ..................................................................................................................................... 7
2.4 Document Conventions.................................................................................................................................. 8
2.5 Units .............................................................................................................................................................. 8
2.6 Referenced Standards and Specifications ...................................................................................................... 9
3 Architectural Overview ..................................................................................................................................... 10
3.1 Request Structure ......................................................................................................................................... 10
3.2 Process Workflow ........................................................................................................................................ 10
3.2.1 Agent Initialization .............................................................................................................................. 10
3.2.2 Application Communication ................................................................................................................ 12
4 Reply XML Document Structure ..................................................................................................................... 14
4.1 MTConnectDevices ............................................................................................................................... 14
4.1.1 MTConnectDevices Elements........................................................................................................ 15
4.2 MTConnectStreams ............................................................................................................................... 15
4.2.1 MTConnectStreams Elements........................................................................................................ 16
4.3 MTConnectError .................................................................................................................................... 16
4.3.1 MTConnectError Elements ............................................................................................................ 17
4.4 Header .......................................................................................................................................................... 17
4.4.1 Header Attributes ................................................................................................................................. 19
5 Protocol ............................................................................................................................................................... 21
5.1 Standard Request Sequence ......................................................................................................................... 21
5.2 Probe Requests............................................................................................................................................. 23
5.3 Sample Request ........................................................................................................................................... 25
5.3.1 Parameters ........................................................................................................................................... 27
5.4 Current Request ........................................................................................................................................... 28
5.4.1 Parameters ........................................................................................................................................... 28
5.4.2 Getting the State at a Sequence Number ............................................................................................ 28
5.5 Streaming ..................................................................................................................................................... 34
5.6 HTTP Response Codes and Error ............................................................................................................ 37
5.6.1 MTConnectError ........................................................................................................................ 38
5.6.2 Errors ........................................................................................................................................... 38
5.6.3 Error ............................................................................................................................................. 38
5.7 Protocol Details ........................................................................................................................................... 39
5.8 Request without Filtering............................................................................................................................. 43
5.9 Request with Path Parameter ....................................................................................................................... 45
5.10 Fault Tolerance and Recovery ..................................................................................................................... 48
5.10.1 Application Failure .............................................................................................................................. 48
5.10.2 Agent Failure ....................................................................................................................................... 50
5.10.3 Data Persistence and Recovery ........................................................................................................... 51
5.11 Unavailability of Data .................................................................................................................................. 52
5.11.1 Examples .............................................................................................................................................. 53
5.11.2 Constant valued data items .................................................................................................................. 55
评论0