﻿<?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">
	<!-- Number IO-Parameters (WORD) -->
    <RangeType basetype="std:UINT" name="AssemblySizeRangeType">
      <!-- Number IO-Parameters (WORD) -->
      <Min>4</Min>
      <Max>1024</Max>
      <Default>4</Default>
    </RangeType>
	<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-5221.gif</LocalFile>
	</File>

  <Device hideInCatalogue="false">
    <DeviceIdentification>
      <Type>40305</Type>
      <Id>10ad 5221</Id>	<!-- vendor code : 10ad / module id : 5221 -->
      <Version>2.0.0.0</Version>
    </DeviceIdentification>
    <DeviceInfo>
      <Name name="local:ModelName">GT-5221</Name>
      <Description name="local:DeviceDescription">RS-422 Serial Interface 1CH</Description>
      <Vendor name="local:VendorName">CREVIS CO.,LTD</Vendor>
      <OrderNumber>GT-5221</OrderNumber>
	  <Image name="local:image_io">GT-5221.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="7000" type="localTypes:ARRAY [0..15] OF TBit1Byte">
          <Attributes channel="input" download="true" functional="false" offlineaccess="read" onlineaccess="read" />
          <Default>0</Default>
          <Name name="local:in0">IN</Name>
        </Parameter>	
		
		<Parameter ParameterId="8000" type="localTypes:ARRAY [0..15] OF TBit1Byte">
          <Attributes channel="output" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="local:out0">OUT</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>'5221'</Default>
		<Name name="local:Id393219">Module ID</Name>
		<Description name="local:Id393219.Desc">Module ID of the device</Description>
		</Parameter>

		<Parameter ParameterId="400000" type="std:BYTE">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="local:Id400000">Parameter0</Name>
          <Description name="local:Id400000.Desc">Bardrate[0-3], Parity Bit[4-5], Stop Bit[6], TxD Process[7]</Description>
        </Parameter>	
		<Parameter ParameterId="400001" type="std:BYTE">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>16</Default>
          <Name name="local:Id400001">Parameter1</Name>
          <Description name="local:Id400001.Desc">Data Bit[0-5]:16~63</Description>
        </Parameter>
		<Parameter ParameterId="400002" type="std:BYTE">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="local:Id400002">Reserved</Name>
          <Description name="local:Id400002.Desc"></Description>
        </Parameter>	
		<Parameter ParameterId="400003" type="std:BYTE">
          <Attributes channel="none" download="true" functional="false" offlineaccess="readwrite" onlineaccess="readwrite" />
          <Default>0</Default>
          <Name name="local:Id400003">Reserved</Name>
          <Description name="local:Id400003.Desc"></Description>
        </Parameter>
		
      </HostParameterSet>
    </Connector>
  </Device>
</DeviceDescription>
