Current Request

From MTConnect® User's Portal
Jump to: navigation, search

Here is an example of the current request using the at parameter with a very simple machine configuration:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <MTConnectDevices xmlns="urn:mtconnect.org:MTConnectDevices:1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mtconnect.org:MTConnectDevices:1.1 http://www.mtconnect.org/schemas/MTConnectDevices_1.1.xsd">
  3.   <Header creationTime="2010-04-01T21:22:43" sender="host" version="1.1" bufferSize="1" instanceId="1"/>
  4.   <Devices>
  5.     <Device name="minimal" uuid="1" id="d">
  6.       <DataItems>
  7.         <DataItem type="AVAILABILITY" category="EVENT" id="avail" />
  8.       </DataItems>
  9.       <Components>
  10.         <Controller name="controller" id="c1">
  11.           <DataItems>
  12.             <DataItem id="estop" type="EMERGENCY_STOP" category="EVENT"/>
  13.             <DataItem id="system" type="SYSTEM" category="CONDITION" />
  14.           </DataItems>
  15.           <Components>
  16.             <Path id="p1" name="path" >
  17.               <DataItems>
  18.                 <DataItem id="execution" type="EXECUTION" category="EVENT"/>
  19.               </DataItems>
  20.             </Path>
  21.           </Components>
  22.          </Controller>
  23.        </Components>
  24.      </Device>
  25.   </Devices>
  26. </MTConnectDevices>