<?xml version="1.0" encoding="UTF-8"?>
<MTConnectDevices xmlns:m="urn:mtconnect.org:MTConnectDevices:1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mtconnect.org:MTConnectDevices:1.1" xsi:schemaLocation="urn:mtconnect.org:MTConnectDevices:1.1 http://www.mtconnect.org/schemas/MTConnectDevices_1.1.xsd">
  <Header creationTime="2016-04-28T08:44:40+00:00" sender="localhost" instanceId="3" bufferSize="131072" version="1.1"/>
  <Devices>
    <Device id="demo_123456" iso841Class="6" name="CMS-ARES" sampleInterval="10" uuid="000123456">
      <Description manufacturer="CMS">Macchina 6 assi ARES</Description>
      <DataItems>
        <DataItem category="EVENT" id="AVAIL" type="AVAILABILITY"/>
        <DataItem category="EVENT" id="STATUS" type="ACTUATOR_STATE"/>
        <DataItem category="SAMPLE" id="ACC_TIME" name="Tempo macchina ON" type="ACCUMULATED_TIME"/>
        <DataItem category="SAMPLE" id="ACC_TIME_WORK" name="Tempo macchina in RUN" type="ACCUMULATED_TIME"/>
        <DataItem category="SAMPLE" id="CLOCK" type="CLOCK_TIME"/>
        <DataItem category="EVENT" id="POWER" type="POWER_STATE"/>
        <DataItem category="EVENT" id="OperatorId" type="MESSAGE"/>
        <DataItem category="EVENT" id="USER_ACTION" type="MESSAGE"/>
        <DataItem category="EVENT" id="TESTING_DATA" type="MESSAGE"/>
        <DataItem category="EVENT" id="PROTECTION_STATUS" type="MESSAGE"/>
        <DataItem category="EVENT" id="UNK_STATUS" type="MESSAGE"/>
        <DataItem category="EVENT" id="UNK_STROBE" type="MESSAGE"/>
        <DataItem category="CONDITION" id="CNC" type="SYSTEM"/>
        <DataItem category="CONDITION" id="PLC" type="LOGIC"/>
      </DataItems>
      <Components>
        <Axes id="ax" name="Axes">
          <Components>
            <Linear id="Axis_01" name="Asse X">
              <DataItems>
                <DataItem category="SAMPLE" id="Axis_01_PosAct" name="Pos asse X (1) actual" nativeUnits="MILLIMETER" subType="ACTUAL" type="POSITION" units="MILLIMETER"/>
                <DataItem category="SAMPLE" id="Axis_01_PosTgt" name="Pos asse X (1) target" nativeUnits="MILLIMETER" subType="COMMANDED" type="POSITION" units="MILLIMETER"/>
                <DataItem category="SAMPLE" id="Axis_01_Load" name="Load asse X (1)" nativeUnits="PERCENT" type="LOAD" units="PERCENT"/>
                <DataItem category="EVENT" id="Axis_01_Dir" type="DIRECTION"/>
                <DataItem category="SAMPLE" id="Axis_01_FeedAct" name="FEEDRATE Asse X (1)" subType="ACTUAL" type="AXIS_FEEDRATE" units="MILLIMETER/SECOND"/>
                <DataItem category="SAMPLE" id="Axis_01_FeedOver" name="FEEDRATE OVERRIDE Asse X (1)" subType="OVERRIDE" type="AXIS_FEEDRATE"  nativeUnits="PERCENT" units="PERCENT"/>
                <DataItem category="SAMPLE" id="Axis_01_AccTime" name="Tempo impiego cumulato asse X (1)" nativeUnits="SECOND" type="ACCUMULATED_TIME" units="SECOND"/>
                <DataItem category="SAMPLE" id="Axis_01_DistDone" name="Distanza TOTALE percorsa dall'asse X (1)" nativeUnits="MILLIMETER" type="LENGHT" units="METER"/>
                <DataItem category="SAMPLE" id="Axis_01_InvDDone" name="Num cambi direzione asse X (1)" nativeUnits="COUNT" type="MESSAGE" units="COUNT"/>
                <DataItem category="CONDITION" id="Axis_01_AlarmCNC" type="SYSTEM"/>
                <DataItem category="CONDITION" id="Axis_01_AlarmPLC" type="LOGIC"/>
              </DataItems>
            </Linear>
            <Linear id="Axis_02" name="Asse Y">
              <DataItems>
                <DataItem category="SAMPLE" id="Axis_02_PosAct" name="Pos asse Y (2) actual" nativeUnits="MILLIMETER" subType="ACTUAL" type="POSITION" units="MILLIMETER"/>
                <DataItem category="SAMPLE" id="Axis_02_PosTgt" name="Pos asse Y (2) target" nativeUnits="MILLIMETER" subType="COMMANDED" type="POSITION" units="MILLIMETER"/>
                <DataItem category="SAMPLE" id="Axis_02_Load" name="Load asse Y (2)" nativeUnits="PERCENT" type="LOAD" units="PERCENT"/>
                <DataItem category="EVENT" id="Axis_02_Dir" type="DIRECTION"/>
                <DataItem category="SAMPLE" id="Axis_02_FeedAct" name="FEEDRATE Asse Y (2)" subType="ACTUAL" type="AXIS_FEEDRATE" units="MILLIMETER/SECOND"/>
                <DataItem category="SAMPLE" id="Axis_02_FeedOver" name="FEEDRATE OVERRIDE Asse Y (2)" subType="OVERRIDE" type="AXIS_FEEDRATE"  nativeUnits="PERCENT" units="PERCENT"/>
                <DataItem category="SAMPLE" id="Axis_02_AccTime" name="Tempo impiego cumulato asse Y (2)" nativeUnits="SECOND" type="ACCUMULATED_TIME" units="SECOND"/>
                <DataItem category="SAMPLE" id="Axis_02_DistDone" name="Distanza TOTALE percorsa dall'asse Y (2)" nativeUnits="MILLIMETER" type="LENGHT" units="METER"/>
                <DataItem category="SAMPLE" id="Axis_02_InvDDone" name="Num cambi direzione asse Y (2)" nativeUnits="COUNT" type="MESSAGE" units="COUNT"/>
                <DataItem category="CONDITION" id="Axis_02_AlarmCNC" type="SYSTEM"/>
                <DataItem category="CONDITION" id="Axis_02_AlarmPLC" type="LOGIC"/>
              </DataItems>
            </Linear>
            <Linear id="Axis_03" name="Asse Z">
              <DataItems>
                <DataItem category="SAMPLE" id="Axis_03_PosAct" name="Pos asse Z (3) actual" nativeUnits="MILLIMETER" subType="ACTUAL" type="POSITION" units="MILLIMETER"/>
                <DataItem category="SAMPLE" id="Axis_03_PosTgt" name="Pos asse Z (3) target" nativeUnits="MILLIMETER" subType="COMMANDED" type="POSITION" units="MILLIMETER"/>
                <DataItem category="SAMPLE" id="Axis_03_Load" name="Load asse Z (3)" nativeUnits="PERCENT" type="LOAD" units="PERCENT"/>
                <DataItem category="EVENT" id="Axis_03_Dir" type="DIRECTION"/>
                <DataItem category="SAMPLE" id="Axis_03_FeedAct" name="FEEDRATE Asse Z (3)" subType="ACTUAL" type="AXIS_FEEDRATE" units="MILLIMETER/SECOND"/>
                <DataItem category="SAMPLE" id="Axis_03_FeedOver" name="FEEDRATE OVERRIDE Asse Z (3)" subType="OVERRIDE" type="AXIS_FEEDRATE"  nativeUnits="PERCENT" units="PERCENT"/>
                <DataItem category="SAMPLE" id="Axis_03_AccTime" name="Tempo impiego cumulato asse Z (3)" nativeUnits="SECOND" type="ACCUMULATED_TIME" units="SECOND"/>
                <DataItem category="SAMPLE" id="Axis_03_DistDone" name="Distanza TOTALE percorsa dall'asse Z (3)" nativeUnits="MILLIMETER" type="LENGHT" units="METER"/>
                <DataItem category="SAMPLE" id="Axis_03_InvDDone" name="Num cambi direzione asse X (3)" nativeUnits="COUNT" type="MESSAGE" units="COUNT"/>
                <DataItem category="CONDITION" id="Axis_03_AlarmCNC" type="SYSTEM"/>
                <DataItem category="CONDITION" id="Axis_03_AlarmPLC" type="LOGIC"/>
              </DataItems>
            </Linear>
            <Linear id="Axis_06" name="Asse U">
              <DataItems>
                <DataItem category="SAMPLE" id="Axis_06_PosAct" name="Pos asse U (6) actual" nativeUnits="MILLIMETER" subType="ACTUAL" type="POSITION" units="MILLIMETER"/>
                <DataItem category="SAMPLE" id="Axis_06_PosTgt" name="Pos asse U (6) target" nativeUnits="MILLIMETER" subType="COMMANDED" type="POSITION" units="MILLIMETER"/>
                <DataItem category="SAMPLE" id="Axis_06_Load" name="Load asse U (6)" nativeUnits="PERCENT" type="LOAD" units="PERCENT"/>
                <DataItem category="EVENT" id="Axis_06_Dir" type="DIRECTION"/>
                <DataItem category="SAMPLE" id="Axis_06_FeedAct" name="FEEDRATE Asse U (6)" subType="ACTUAL" type="AXIS_FEEDRATE" units="MILLIMETER/SECOND"/>
                <DataItem category="SAMPLE" id="Axis_06_FeedOver" name="FEEDRATE OVERRIDE Asse U (6)" subType="OVERRIDE" type="AXIS_FEEDRATE"  nativeUnits="PERCENT" units="PERCENT"/>
                <DataItem category="SAMPLE" id="Axis_06_AccTime" name="Tempo impiego cumulato asse U (6)" nativeUnits="SECOND" type="ACCUMULATED_TIME" units="SECOND"/>
                <DataItem category="SAMPLE" id="Axis_06_DistDone" name="Distanza TOTALE percorsa dall'asse U (6)" nativeUnits="MILLIMETER" type="LENGHT" units="METER"/>
                <DataItem category="SAMPLE" id="Axis_06_InvDDone" name="Num cambi direzione asse U (6)" nativeUnits="COUNT" type="MESSAGE" units="COUNT"/>
                <DataItem category="CONDITION" id="Axis_06_AlarmCNC" type="SYSTEM"/>
                <DataItem category="CONDITION" id="Axis_06_AlarmPLC" type="LOGIC"/>
              </DataItems>
            </Linear>
            <Rotary id="Axis_04" name="Asse B">
              <DataItems>
                <DataItem category="SAMPLE" id="Axis_04_PosAct" name="Pos asse J (4) actual" nativeUnits="DEGREE" subType="ACTUAL" type="ANGLE" units="DEGREE"/>
                <DataItem category="SAMPLE" id="Axis_04_PosTgt" name="Pos asse J (4) target" nativeUnits="DEGREE" subType="COMMANDED" type="ANGLE" units="DEGREE"/>
                <DataItem category="SAMPLE" id="Axis_04_Load" name="Load asse J (4)" nativeUnits="PERCENT" type="LOAD" units="PERCENT"/>
                <DataItem category="EVENT" id="Axis_04_Dir" type="DIRECTION"/>
                <DataItem category="SAMPLE" id="Axis_04_FeedAct" name="ROT SPEED Asse J (4)" subType="ACTUAL" type="ROTARY_VELOCITY" units="REVOLUTION/MINUTE"/>
                <DataItem category="SAMPLE" id="Axis_04_FeedOver" name="ROT SPEED OVERRIDE Asse J (4)" subType="OVERRIDE" type="ROTARY_VELOCITY"  nativeUnits="PERCENT" units="PERCENT"/>
                <DataItem category="SAMPLE" id="Axis_04_AccTime" name="Tempo impiego cumulato asse J (4)" nativeUnits="SECOND" type="ACCUMULATED_TIME" units="SECOND"/>
                <DataItem category="SAMPLE" id="Axis_04_DistDone" name="Num Giri asse J (4) nel periodo di rilevazione" nativeUnits="COUNT" type="LENGHT" units="COUNT"/>
                <DataItem category="SAMPLE" id="Axis_04_InvDDone" name="Num cambi direzione asse J (4)" nativeUnits="COUNT" type="MESSAGE" units="COUNT"/>
                <DataItem category="CONDITION" id="Axis_04_AlarmCNC" type="SYSTEM"/>
                <DataItem category="CONDITION" id="Axis_04_AlarmPLC" type="LOGIC"/>
              </DataItems>
            </Rotary>
            <Rotary id="Axis_05" name="Asse C (5)">
              <DataItems>
                <DataItem category="SAMPLE" id="Axis_05_PosAct" name="Pos asse K (5) actual" nativeUnits="DEGREE" subType="ACTUAL" type="ANGLE" units="DEGREE"/>
                <DataItem category="SAMPLE" id="Axis_05_PosTgt" name="Pos asse K (5) target" nativeUnits="DEGREE" subType="COMMANDED" type="ANGLE" units="DEGREE"/>
                <DataItem category="SAMPLE" id="Axis_05_Load" name="Load asse K (5)" nativeUnits="PERCENT" type="LOAD" units="PERCENT"/>
                <DataItem category="EVENT" id="Axis_05_Dir" type="DIRECTION"/>
                <DataItem category="SAMPLE" id="Axis_05_FeedAct" name="ROT SPEED Asse K (5)" subType="ACTUAL" type="ROTARY_VELOCITY" units="REVOLUTION/MINUTE"/>
                <DataItem category="SAMPLE" id="Axis_05_FeedOver" name="ROT SPEED OVERRIDE Asse K (5)" subType="OVERRIDE" type="ROTARY_VELOCITY"  nativeUnits="PERCENT" units="PERCENT"/>
                <DataItem category="SAMPLE" id="Axis_05_AccTime" name="Tempo impiego cumulato asse K (5)" nativeUnits="SECOND" type="ACCUMULATED_TIME" units="SECOND"/>
                <DataItem category="SAMPLE" id="Axis_05_DistDone" name="Num Giri asse k (5) nel periodo di rilevazione" nativeUnits="COUNT" type="LENGHT" units="COUNT"/>
                <DataItem category="SAMPLE" id="Axis_05_InvDDone" name="Num cambi direzione asse K (5)" nativeUnits="COUNT" type="MESSAGE" units="COUNT"/>
                <DataItem category="CONDITION" id="Axis_05_AlarmCNC" type="SYSTEM"/>
                <DataItem category="CONDITION" id="Axis_05_AlarmPLC" type="LOGIC"/>
              </DataItems>
            </Rotary>
          </Components>
        </Axes>
        <Controller id="cn1" name="controller">
          <DataItems>
            <DataItem category="EVENT" id="Message" type="MESSAGE"/>
            <DataItem category="EVENT" id="E_STOP" type="EMERGENCY_STOP"/>
          </DataItems>
          <Components>
            <Path id="Path_01" name="Path 01">
              <DataItems>
                <DataItem category="EVENT" id="Path_01_Type" type="MESSAGE"/>
                <DataItem category="EVENT" id="Path_01_CodG_Act" type="MESSAGE"/>
                <DataItem category="EVENT" id="Path_01_SubMode" type="MESSAGE"/>
                <DataItem category="EVENT" id="Path_01_PartId" type="PART_ID"/>
                <DataItem category="EVENT" id="Path_01_PZ_TOT" type="PART_COUNT"/>
                <DataItem category="EVENT" id="Path_01_Cod_M" type="MESSAGE"/>
                <DataItem category="EVENT" id="Path_01_Cod_S" type="MESSAGE"/>
                <DataItem category="EVENT" id="Path_01_Cod_T" type="MESSAGE"/>
                <DataItem category="EVENT" id="Path_01_RUN_MODE" type="CONTROLLER_MODE"/>
                <DataItem category="EVENT" id="Path_01_EXE_MODE" type="EXECUTION"/>
                <DataItem category="EVENT" id="Path_01_CurrProg" type="PROGRAM"/>
                <DataItem category="EVENT" id="Path_01_CurrProg_RowNum" type="LINE"/>
                <DataItem category="SAMPLE" id="Path_01_FeedRate" nativeUnits="MILLIMETER/SECOND" type="PATH_FEEDRATE" units="MILLIMETER/SECOND" subType="ACTUAL" name="Path FEED"/>
                <DataItem category="SAMPLE" id="Path_01_FeedOverr" nativeUnits="PERCENT" type="PATH_FEEDRATE" units="PERCENT" subType="OVERRIDE" name="Path FEED Override"/>
                <DataItem category="SAMPLE" id="Path_01_RapidOverr" nativeUnits="PERCENT" type="PATH_FEEDRATE" units="PERCENT" subType="OVERRIDE" name="Path RAPID Override"/>
                <DataItem category="SAMPLE" id="Path_01_PosActX" nativeUnits="MILLIMETER" subType="ACTUAL" type="PATH_POSITION" units="MILLIMETER" name="Posizione X"/>
                <DataItem category="SAMPLE" id="Path_01_PosActY" nativeUnits="MILLIMETER" subType="ACTUAL" type="PATH_POSITION" units="MILLIMETER" name="Posizione Y"/>
                <DataItem category="SAMPLE" id="Path_01_PosActZ" nativeUnits="MILLIMETER" subType="ACTUAL" type="PATH_POSITION" units="MILLIMETER" name="Posizione Z"/>
                <DataItem category="SAMPLE" id="Path_01_PosActI" nativeUnits="DEGREE" subType="ACTUAL" type="ANGLE" units="DEGREE" name="Angolo I"/>
                <DataItem category="SAMPLE" id="Path_01_PosActJ" nativeUnits="DEGREE" subType="ACTUAL" type="ANGLE" units="DEGREE" name="Angolo J"/>
                <DataItem category="SAMPLE" id="Path_01_PosActK" nativeUnits="DEGREE" subType="ACTUAL" type="ANGLE" units="DEGREE" name="Angolo K"/>
                <DataItem category="CONDITION" id="Path_01_AlarmCNC" type="SYSTEM"/>
                <DataItem category="CONDITION" id="Path_01_AlarmPLC" type="LOGIC"/>
              </DataItems>
            </Path>
            <Actuator id="UniOp_01" name ="Unita Operatrice 01">
              <DataItems>
                <DataItem category="SAMPLE" id="UnOp_01_Speed" nativeUnits="MILLIMETER/SECOND" type="PATH_FEEDRATE" units="MILLIMETER/SECOND" subType="ACTUAL" name="UnOp Speed"/>
                <DataItem category="SAMPLE" id="UnOp_01_SpeedOverr" nativeUnits="PERCENT" type="PATH_FEEDRATE" units="PERCENT" subType="OVERRIDE" name="UnOp SPEED Override"/>
                <DataItem category="EVENT" id="UnOp_01_ToolId" name="TOOL ID" type="TOOL_ASSET_ID"/>
                <DataItem category="EVENT" id="UnOp_01_NumCU" name="Num Cambi Utensile effettuati" type="MESSAGE" units="COUNT"/>
                <DataItem category="EVENT" id="UnOp_01_Status" type="ACTUATOR_STATE"/>
                <DataItem category="EVENT" id="UnOp_01_VitaRes" name="Vita Residua Tool" type="MESSAGE" units="COUNT"/>
                <DataItem category = "EVENT" id = "UnOp_01_VitaResType" name = "Tipologia misura Vita Residua Tool" type = "MESSAGE" />
                <DataItem category="SAMPLE" id="UnOp_01_Load" name="Load sul PATH/UnOp" nativeUnits="PERCENT" type="LOAD" units="PERCENT"/>
                <DataItem category="EVENT" id="UnOp_01_AccTime" name="Totale giri (migliaia) accumulati dal mandrino" type="COUNT"/>
              </DataItems>
            </Actuator>
          </Components>
        </Controller>
        <Systems id="systems" name="systems">
          <Components>
            <Pneumatic id="PneumSys" name="Pneumatic Systems">
              <Actuator id="VacPump_01" name ="Pompa 1">
                <DataItems>
                  <DataItem category="EVENT" id="VacPump_01_Status" name="Stato Pompa 1" type="ACTUATOR_STATE"/>
                  <DataItem category="SAMPLE" id="VacPump_01_WrkTime" name="Tempo macchina in RUN" type="ACCUMULATED_TIME"/>
                </DataItems>
              </Actuator>
              <Actuator id="VacPump_02" name ="Pompa 2">
                <DataItems>
                  <DataItem category="EVENT" id="VacPump_02_Status" name="Stato Pompa 2" type="ACTUATOR_STATE"/>
                  <DataItem category="SAMPLE" id="VacPump_02_WrkTime" name="Tempo macchina in RUN" type="ACCUMULATED_TIME"/>
                </DataItems>
              </Actuator>
              <Actuator id="VacAct_01" name ="Valvola vuoto 1">
                <DataItems>
                  <DataItem category="EVENT" id="VacAct_01_Count" name="Contatore attivazioni valvola attuatore 1" type="MESSAGE" units="COUNT"/>
                </DataItems>
              </Actuator>
              <Actuator id="VacAct_02" name ="Valvola vuoto 2">
                <DataItems>
                  <DataItem category="EVENT" id="VacAct_02_Count" name="Contatore attivazioni valvola attuatore 2" type="MESSAGE" units="COUNT"/>
                </DataItems>
              </Actuator>
            </Pneumatic>
            <Coolant id="cool" name="coolant">
              <Actuator id="Cooler_01" name ="Cooler 1">
                <DataItems>
                  <DataItem category="EVENT" id="Cooler_01_Status" name="Stato Cooler 1" type="ACTUATOR_STATE"/>
                </DataItems>
              </Actuator>
              <Actuator id="Cooler_02" name ="Cooler 2">
                <DataItems>
                  <DataItem category="EVENT" id="Cooler_02_Status" name="Stato Cooler 2" type="ACTUATOR_STATE"/>
                </DataItems>
              </Actuator>
            </Coolant>
            <Lubrication id="LubroSys" name="Lubricant Systems">
              <Actuator id="Lubro_01" name ="Lubrificazione assi">
                <DataItems>
                  <DataItem category="EVENT" id="Lubro_01_Num" name="Contatore lubrificazione assi" type="MESSAGE" units="COUNT"/>
                </DataItems>
              </Actuator>
              <Actuator id="Lubro_02" name ="Lubrificazione 2 (NA)">
                <DataItems>
                  <DataItem category="EVENT" id="Lubro_02_Num" name="Contatore lubrificazione 2" type="MESSAGE" units="COUNT"/>
                </DataItems>
              </Actuator>
            </Lubrication>
          </Components>
        </Systems>
        <Sensor id="sens1" name="Sensorunit">
          <DataItems>
            <DataItem type="PRESSURE" id="Press_01_Value" category="SAMPLE" name="Pressostato 1" units="PASCAL"/>
            <DataItem type="PRESSURE" id="Press_02_Value" category="SAMPLE" name="Pressostato 2" units="PASCAL"/>
          </DataItems>
        </Sensor>
      </Components>
    </Device>
  </Devices>
</MTConnectDevices>