﻿<?xml version="1.0" encoding="utf-8"?>
<DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd" xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <!--<Types namespace="std"></Types>-->
  <Types namespace="localTypes">
    <BitfieldType basetype="std:BYTE" name="TBit1Byte">
      <Component identifier="Bit0" type="std:BOOL">
        <Default />
        <VisibleName name="localtype:TBit1Byte.Bit0">BIT0</VisibleName>
      </Component>
      <Component identifier="Bit1" type="std:BOOL">
        <Default />
        <VisibleName name="localtype:TBit1Byte.Bit1">BIT1</VisibleName>
      </Component>
      <Component identifier="Bit2" type="std:BOOL">
        <Default />
        <VisibleName name="localtype:TBit1Byte.Bit2">BIT2</VisibleName>
      </Component>
      <Component identifier="Bit3" type="std:BOOL">
        <Default />
        <VisibleName name="localtype:TBit1Byte.Bit3">BIT3</VisibleName>
      </Component>
      <Component identifier="Bit4" type="std:BOOL">
        <Default />
        <VisibleName name="localtype:TBit1Byte.Bit4">BIT4</VisibleName>
      </Component>
      <Component identifier="Bit5" type="std:BOOL">
        <Default />
        <VisibleName name="localtype:TBit1Byte.Bit5">BIT5</VisibleName>
      </Component>
      <Component identifier="Bit6" type="std:BOOL">
        <Default />
        <VisibleName name="localtype:TBit1Byte.Bit6">BIT6</VisibleName>
      </Component>
      <Component identifier="Bit7" type="std:BOOL">
        <Default />
        <VisibleName name="localtype:TBit1Byte.Bit7">BIT7</VisibleName>
      </Component>
    </BitfieldType>
  </Types>

    <File fileref="local" identifier="image_io">
      <LocalFile>GT-5122.gif</LocalFile>
    </File>

  <Device hideInCatalogue="false">
    <DeviceIdentification>
      <Type>40305</Type>
      <Id>10ad 5122</Id>
      <!-- vendor code : 10ad / module id : 5122 -->
      <Version>2.0.0.0</Version>
    </DeviceIdentification>
    <DeviceInfo>
      <Name name="local:ModelName">GT-5122</Name>
      <Description name="local:DeviceDescription">High Speed Counter Encoder Input 2CH, 5~24Vdc</Description>
      <Vendor name="local:VendorName">CREVIS CO.,LTD</Vendor>
      <OrderNumber>GT-5122</OrderNumber>
      <Image name="local:image_io">GT-5122.gif</Image>
    </DeviceInfo>
    <!--Connector moduleType="257" interface="Common.PCI" role="child" explicit="false" connectorId="1" hostpath="-1">
      <InterfaceName name="local:PCI">PCI-Bus</InterfaceName>
      <Slot count="1" allowEmpty="false"></Slot>
    </Connector-->
    <Connector moduleType="47000" interface="CVS.OptionG" role="child" explicit="false" connectorId="1" hostpath="-1">
      <InterfaceName name="local:PCI">CVS Option</InterfaceName>
      <Slot count="1" allowEmpty="false"></Slot>
    </Connector>
    <Connector moduleType="40305" interface="MyCompany:Internal" role="parent" explicit="false" connectorId="2" hostpath="1">
      <InterfaceName name="local:DP">ETC IOs</InterfaceName>
      <Var max="8"></Var>
      <DriverInfo needsBusCycle="true"></DriverInfo>
      <HostParameterSet>
        <Parameter ParameterId="3000" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in0">IN0</Name>
        </Parameter>
        <Parameter ParameterId="3001" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in1">IN1</Name>
        </Parameter>
        <Parameter ParameterId="3002" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in2">IN2</Name>
        </Parameter>
        <Parameter ParameterId="3003" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in3">IN3</Name>
        </Parameter>
        <Parameter ParameterId="3004" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in4">IN4</Name>
        </Parameter>
        <Parameter ParameterId="3005" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in5">IN5</Name>
        </Parameter>
        <Parameter ParameterId="3006" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in6">IN6</Name>
        </Parameter>
        <Parameter ParameterId="3007" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in7">IN7</Name>
        </Parameter>
        <Parameter ParameterId="3008" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in8">IN8</Name>
        </Parameter>
        <Parameter ParameterId="3009" type="std:WORD">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in9">IN9</Name>
        </Parameter>

        <Parameter ParameterId="2000" type="localTypes:TBit1Byte">
          <Attributes channel="output" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="local:out0">OUT0</Name>
        </Parameter>
        <Parameter ParameterId="2001" type="localTypes:TBit1Byte">
          <Attributes channel="output" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="local:out1">OUT1</Name>
        </Parameter>
        <Parameter ParameterId="2002" type="localTypes:TBit1Byte">
          <Attributes channel="output" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="local:out2">OUT2</Name>
        </Parameter>
        <Parameter ParameterId="2003" type="localTypes:TBit1Byte">
          <Attributes channel="output" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="local:out3">OUT3</Name>
        </Parameter>
		
        <Parameter type="std:STRING" ParameterId="393218">
          <Attributes onlineaccess="read" offlineaccess="read" functional="false" download="true" channel="none"/>
          <Default>'CREVIS'</Default>
          <Name name="local:Id393218">Vendor</Name>
          <Description name="local:Id393218.Desc">Vendor of the device</Description>
        </Parameter>
        <Parameter type="std:STRING" ParameterId="393219">
          <Attributes onlineaccess="read" offlineaccess="read" functional="false" download="true" channel="none"/>
          <Default>'5122'</Default>
          <Name name="local:Id393219">Module ID</Name>
          <Description name="local:Id393219.Desc">Module ID of the device</Description>
        </Parameter>

        <Parameter type="std:BYTE" ParameterId="400000">
          <Attributes onlineaccess="read" offlineaccess="readwrite" functional="false" download="true" channel="none"/>
          <Default>0</Default>
          <Name name="local:Id400000">Preset Value CH0 LL</Name>
          <Description name="local:Id400000.Desc"></Description>
        </Parameter>
        <Parameter type="std:BYTE" ParameterId="400001">
          <Attributes onlineaccess="read" offlineaccess="readwrite" functional="false" download="true" channel="none"/>
          <Default>0</Default>
          <Name name="local:Id400001">Preset Value CH0 LH</Name>
          <Description name="local:Id400001.Desc"></Description>
        </Parameter>
        <Parameter type="std:BYTE" ParameterId="400002">
          <Attributes onlineaccess="read" offlineaccess="readwrite" functional="false" download="true" channel="none"/>
          <Default>0</Default>
          <Name name="local:Id400002">Preset Value CH0 HL</Name>
          <Description name="local:Id400002.Desc"></Description>
        </Parameter>
        <Parameter type="std:BYTE" ParameterId="400003">
          <Attributes onlineaccess="read" offlineaccess="readwrite" functional="false" download="true" channel="none"/>
          <Default>0</Default>
          <Name name="local:Id400003">Preset Value CH0 HH</Name>
          <Description name="local:Id400003.Desc"></Description>
        </Parameter>
        <Parameter type="std:BYTE" ParameterId="400004">
          <Attributes onlineaccess="read" offlineaccess="readwrite" functional="false" download="true" channel="none"/>
          <Default>0</Default>
          <Name name="local:Id400004">Preset Value CH1 LL</Name>
          <Description name="local:Id400004.Desc"></Description>
        </Parameter>
        <Parameter type="std:BYTE" ParameterId="400005">
          <Attributes onlineaccess="read" offlineaccess="readwrite" functional="false" download="true" channel="none"/>
          <Default>0</Default>
          <Name name="local:Id400005">Preset Value CH1 LH</Name>
          <Description name="local:Id400005.Desc"></Description>
        </Parameter>
        <Parameter type="std:BYTE" ParameterId="400006">
          <Attributes onlineaccess="read" offlineaccess="readwrite" functional="false" download="true" channel="none"/>
          <Default>0</Default>
          <Name name="local:Id400006">Preset Value CH1 HL</Name>
          <Description name="local:Id400006.Desc"></Description>
        </Parameter>
        <Parameter type="std:BYTE" ParameterId="400007">
          <Attributes onlineaccess="read" offlineaccess="readwrite" functional="false" download="true" channel="none"/>
          <Default>0</Default>
          <Name name="local:Id400007">Preset Value CH1 HH</Name>
          <Description name="local:Id400007.Desc"></Description>
        </Parameter>

      </HostParameterSet>
    </Connector>
  </Device>
</DeviceDescription>
