Device

Device defines different configurations in System Manager, e.g. a PLC project.

Device 1:

For instance, the below is a case of a PLC project.

<Device>
  <Name><![CDATA[AT002]]></Name>
  <Comment/>
  <Type>PLC</Type>
  <Address>801</Address>
  <Modules/>
  <Tasks>
    <Task>
      <Name><![CDATA[Standard]]></Name>
      <Comment><![CDATA[Taskdes IEC61131 Projekts "AT002"]]></Comment>
      <Type>PLC</Type>
      <Calls>
        <ProgramCall>Main()</ProgramCall>
      </Calls>
      <Priority>0</Priority>
      <CycleTime>10000</CycleTime>
    </Task>
  </Tasks>
</Device>

in a case of Nc:

<Device>
  <Name><![CDATA[NC - Configuration]]></Name>
  <Comment/>
  <Type>NC</Type>
  <Address>500</Address>
  <Modules>
    <Module>
      <Name><![CDATA[Achse 1 (Oberdruck)]]></Name>
      <Comment/>
      <Type>NCAXIS</Type>
      <SubType>2</SubType>
      <ModuleNo>1</ModuleNo>
      <Childs>
        <Child>
          <Name><![CDATA[Achse 1 (Oberdruck)_Enc]]></Name>
          <Comment/>
          <Type>NCENCODER</Type>
          <SubType>4</SubType>
          <ModuleNo>1</ModuleNo>
          <Variables>
            <Variable>
              <Name><![CDATA[Achse 1 (Oberdruck)_Enc_In^nInData1^nInData1[0]]]></Name>
              <Comment/>
              <DataType>UINT16</DataType>
              <IsInput>true</IsInput>
              <LinkedWith>
                <Name><![CDATA[Counter]]></Name>
                <DataType>UINT16</DataType>
                <IsInput>true</IsInput>
                <Device>IO</Device>
              </LinkedWith>
              ....
            </Modules>
            <Tasks>
              <Task>
                <Name><![CDATA[NC-Task 1 SAF]]></Name>
                <Comment/>
                <Type>NC SAF</Type>
                <Priority>0</Priority>
                <CycleTime>4000</CycleTime>
              </Task>
              <Task>
                <Name><![CDATA[NC-Task 1 SVB]]></Name>
                <Comment/>
                <Type>NC SVB</Type>
                <Priority>1</Priority>
                <CycleTime>10000</CycleTime>
              </Task>
            </Tasks>
          </Device>