<?xml version="1.0" encoding="utf-8" ?>
<Config>
  <System>
    <!--是否全屏显示-->
    <IsFullScreen>true</IsFullScreen>
    <!--页面刷新间隔-->
    <PageRefreshInterval>1000</PageRefreshInterval>
    <!--PLC数据读取间隔-->
    <DataReadInterval>400</DataReadInterval>
    <!--起升机构工作循环取值频率-->
    <ReadWorkCycleInterval>1000</ReadWorkCycleInterval>
    <!--数据库保存间隔-->
    <DataSaveInterval>2000</DataSaveInterval>
    <Weighting>
      <!--投料信号前置 ms毫秒 -->
      <FrontTime>100</FrontTime>
      <!--有效值数量-->
      <EffectCount>6</EffectCount>
      <!--称重门限值 吨-->
      <Threshold>1.0</Threshold>
      <!--投料门限值 吨-->
      <PutThreshold>0.5</PutThreshold>
      <!--载荷显示方式 1 净重 2 毛重-->
      <LoadMode>1</LoadMode>
    </Weighting>
  </System>
  <APP>
    <!--垃圾池布局-->
    <!--<GarbagePoolLayout>
      <
    </GarbagePoolLayout>-->
    <!--主要数据布局-->
    <MainDataLayout>
      <!--Weight 载荷-->
      <Device Id="1" WeightTagId="2">
        <!--大车机构 Gear档位 Brake制动 Stroke行程-->
        <BigCar GearTagId="10" BrakeTagId="47"  StrokeTagId="134" />
        <!--小车机构 Gear档位 Brake制动 Stroke行程-->
        <SmallCar GearTagId="11" BrakeTagId="53"  StrokeTagId="135" />
        <!--起升机构 Gear档位 Brake制动 Stroke行程 -->
        <Hoist GearTagId="12" BrakeTagId="59"  StrokeTagId="136"/>
        <!--开关量配置-->
        <SwitchTag>
          <Tag Id="108"/>
          <Tag Id="110"/>
          <Tag Id="111"/>
          <Tag Id="112"/>
          <Tag Id="114"/>
          <Tag Id="117"/>
          <Tag Id="118"/>
          <Tag Id="105"/>
        </SwitchTag>
      </Device>
      <!--Weight 载荷-->
      <Device Id="2" WeightTagId="14">
        <!--大车机构 Gear档位 Brake制动 Stroke行程-->
        <BigCar GearTagId="22" BrakeTagId="147"  StrokeTagId="234" />
        <!--小车机构 Gear档位 Brake制动 Stroke行程-->
        <SmallCar GearTagId="23" BrakeTagId="153"  StrokeTagId="235" />
        <!--起升机构 Gear档位 Brake制动 Stroke行程-->
        <Hoist GearTagId="24" BrakeTagId="159"  StrokeTagId="236" />
        <!--开关量配置-->
        <SwitchTag>
          <Tag Id="222"/>
          <Tag Id="224"/>
          <Tag Id="225"/>
          <Tag Id="226"/>
          <Tag Id="228"/>
          <Tag Id="231"/>
          <Tag Id="232"/>
          <Tag Id="219"/>
        </SwitchTag>
      </Device>
      <!--Weight 载荷-->
      <Device Id="3" WeightTagId="26">
        <!--大车机构 Gear档位 Brake制动 Stroke行程-->
        <BigCar GearTagId="34" BrakeTagId="247"  StrokeTagId="334" />
        <!--小车机构 Gear档位 Brake制动 Stroke行程-->
        <SmallCar GearTagId="35" BrakeTagId="253"  StrokeTagId="335" />
        <!--起升机构 Gear档位 Brake制动 Stroke行程-->
        <Hoist GearTagId="36" BrakeTagId="259"  StrokeTagId="336"/>
        <!--开关量配置-->
        <SwitchTag>
          <Tag Id="336"/>
          <Tag Id="338"/>
          <Tag Id="339"/>
          <Tag Id="340"/>
          <Tag Id="342"/>
          <Tag Id="345"/>
          <Tag Id="346"/>
          <Tag Id="330"/>
        </SwitchTag>
      </Device>
    </MainDataLayout>
    <!--称重仪表变量配置 Type 1  QCX-H4C-S 2  QCX-H4C-C11 3 QCX-H4C-C9-->
    <Weighing Type="1">
      <!--NetWeightTagId 净重变量Id  TareWeightTagId 皮重变量Id LoadWeightTagId 载荷变量Id (赋值) RatedWeightTagId 额定重量标签Id SteadyTagId 稳定信号变量Id GrabOpenTagId 抓斗打开变量Id SmallCarInplaceTagId 小车就位变量Id-->
      <Indicator  DeviceId="1"  LoadWeightTagId="1"  NetWeightTagId="2" TareWeightTagId="3"   RatedWeightTagId="4" SteadyTagId="9"  GrabOpenTagId="41" SmallCarInplaceTagId="40">
        <!--大车就位信号-->
        <BigCarInplace  TagId="37" EntranceId="1" />
        <BigCarInplace  TagId="38" EntranceId="2" />
        <BigCarInplace  TagId="39" EntranceId="3" />
      </Indicator>
      <!--NetWeightTagId 净重变量Id  TareWeightTagId 皮重变量Id LoadWeightTagId 载荷变量Id (赋值) RatedWeightTagId 额定重量标签Id SteadyTagId 稳定信号变量Id GrabOpenTagId 抓斗打开变量Id SmallCarInplaceTagId 小车就位变量Id-->
      <Indicator  DeviceId="2"  LoadWeightTagId="13" NetWeightTagId="14" TareWeightTagId="15"   RatedWeightTagId="16"  SteadyTagId="21" GrabOpenTagId="141" SmallCarInplaceTagId="140">
        <!--大车就位信号-->
        <BigCarInplace  TagId="137" EntranceId="1" />
        <BigCarInplace  TagId="138" EntranceId="2" />
        <BigCarInplace  TagId="139" EntranceId="3" />
      </Indicator>
      <Indicator  DeviceId="3"  LoadWeightTagId="25" NetWeightTagId="26" TareWeightTagId="27"   RatedWeightTagId="28"  SteadyTagId="33" GrabOpenTagId="241" SmallCarInplaceTagId="240">
        <!--大车就位信号-->
        <BigCarInplace  TagId="237" EntranceId="1" />
        <BigCarInplace  TagId="238" EntranceId="2" />
        <BigCarInplace  TagId="239" EntranceId="3" />
      </Indicator>
    </Weighing>
    <Weighing Type="2">
      <!--NetWeightTagId 净重变量Id  TareWeightTagId 皮重变量Id LoadWeightTagId 载荷变量Id (赋值) RatedWeightTagId 额定重量标签Id SteadyTagId 稳定信号变量Id GrabOpenTagId 抓斗打开变量Id SmallCarInplaceTagId 小车就位变量Id-->
      <Indicator  DeviceId="1"  LoadWeightTagId="1"  NetWeightTagId="2" TareWeightTagId="3"   RatedWeightTagId="4" SteadyTagId="9"  GrabOpenTagId="41" CarInplaceTagId="40"/>
      <!--NetWeightTagId 净重变量Id  TareWeightTagId 皮重变量Id LoadWeightTagId 载荷变量Id (赋值) RatedWeightTagId 额定重量标签Id SteadyTagId 稳定信号变量Id GrabOpenTagId 抓斗打开变量Id SmallCarInplaceTagId 小车就位变量Id-->
      <Indicator  DeviceId="2"  LoadWeightTagId="13" NetWeightTagId="14" TareWeightTagId="15" RatedWeightTagId="16"  SteadyTagId="21" GrabOpenTagId="155" CarInplaceTagId="154"/>
    </Weighing>
    <!--总接触器   变量Id-->
    <!--
    <TotalContactor>
      <Device Id="1"  TagIds="M01,M02" />
      <Device Id="2"  TagIds="M01,M02" />
      <Device Id="3"  TagIds="M01,M02" />
    </TotalContactor>
    -->
    <!--档位换算-->
    <GearConver>
      <Device Id="1">
        <Mechanism Type="1" TagId="10" TagName="大车档位">
          <!--Condition 档位判断变量编码 与-->
          <Gear Name="零位" Value="0"  Condition="81" />
          <Gear Name="左行1档" Value="1"  Condition="42" />
          <Gear Name="左行2档" Value="2"  Condition="42,44" />
          <Gear Name="左行3档" Value="3"  Condition="42,44,45" />
          <Gear Name="左行4档" Value="4"  Condition="42,44,45,46" />
          <Gear Name="右行1档" Value="-1" Condition="43" />
          <Gear Name="右行2档" Value="-2" Condition="43,44" />
          <Gear Name="右行3档" Value="-3" Condition="43,44,45" />
          <Gear Name="右行4档" Value="-4" Condition="43,44,45,46" />
        </Mechanism>
        <Mechanism Type="2" TagId="11" TagName="小车档位">
          <!--Condition 档位判断变量编码 与-->
          <Gear Name="零位" Value="0"  Condition="82" />
          <Gear Name="前行1档" Value="1"  Condition="48" />
          <Gear Name="前行2档" Value="2"  Condition="48,50" />
          <Gear Name="前行3档" Value="3"  Condition="48,50,51" />
          <Gear Name="前行4档" Value="4"  Condition="48,50,51,52" />
          <Gear Name="后行1档" Value="-1" Condition="49" />
          <Gear Name="后行2档" Value="-2" Condition="49,50" />
          <Gear Name="后行3档" Value="-3" Condition="49,50,51" />
          <Gear Name="后行4档" Value="-4" Condition="49,50,51,52" />
        </Mechanism>
        <Mechanism Type="3" TagId="12" TagName="起升档位">
          Condition 档位判断变量编码 与
          <Gear Name="零位" Value="0"  Condition="83" />
          <Gear Name="上升1档" Value="1"  Condition="54" />
          <Gear Name="上升2档" Value="2"  Condition="54,56" />
          <Gear Name="上升3档" Value="3"  Condition="54,56,57" />
          <Gear Name="上升4档" Value="4"  Condition="54,56,57,58" />
          <Gear Name="下降1档" Value="-1" Condition="55" />
          <Gear Name="下降2档" Value="-2" Condition="55,56" />
          <Gear Name="下降3档" Value="-3" Condition="55,56,57" />
          <Gear Name="下降4档" Value="-4" Condition="55,56,57,58" />
        </Mechanism>
      </Device>
      <Device Id="2">
        <Mechanism Type="1" TagId="22" TagName="大车档位">
          <!--Condition 档位判断变量编码 与-->
          <Gear Name="零位" Value="0"  Condition="181" />
          <Gear Name="左行1档" Value="1"  Condition="142" />
          <Gear Name="左行2档" Value="2"  Condition="142,144" />
          <Gear Name="左行3档" Value="3"  Condition="142,144,145" />
          <Gear Name="左行4档" Value="4"  Condition="142,144,145,146" />
          <Gear Name="右行1档" Value="-1" Condition="143" />
          <Gear Name="右行2档" Value="-2" Condition="143,144" />
          <Gear Name="右行3档" Value="-3" Condition="143,144,145" />
          <Gear Name="右行4档" Value="-4" Condition="143,144,145,146" />
        </Mechanism>
        <Mechanism Type="2" TagId="23" TagName="小车档位">
          <!--Condition 档位判断变量编码 与-->
          <Gear Name="零位" Value="0"  Condition="182" />
          <Gear Name="前行1档" Value="1"  Condition="148" />
          <Gear Name="前行2档" Value="2"  Condition="148,150" />
          <Gear Name="前行3档" Value="3"  Condition="148,150,151" />
          <Gear Name="前行4档" Value="4"  Condition="148,150,151,152" />
          <Gear Name="后行1档" Value="-1" Condition="149" />
          <Gear Name="后行2档" Value="-2" Condition="149,150" />
          <Gear Name="后行3档" Value="-3" Condition="149,150,151" />
          <Gear Name="后行4档" Value="-4" Condition="149,150,151,152" />
        </Mechanism>
        <Mechanism Type="3" TagId="24" TagName="起升档位">
          Condition 档位判断变量编码 与
          <Gear Name="零位" Value="0"  Condition="183" />
          <Gear Name="上升1档" Value="1"  Condition="154" />
          <Gear Name="上升2档" Value="2"  Condition="154,156" />
          <Gear Name="上升3档" Value="3"  Condition="154,156,157" />
          <Gear Name="上升4档" Value="4"  Condition="154,156,157,158" />
          <Gear Name="下降1档" Value="-1" Condition="155" />
          <Gear Name="下降2档" Value="-2" Condition="155,156" />
          <Gear Name="下降3档" Value="-3" Condition="155,156,157" />
          <Gear Name="下降4档" Value="-4" Condition="155,156,157,158" />
        </Mechanism>
      </Device>
      <Device Id="3">
        <Mechanism Type="1" TagId="34" TagName="大车档位">
          <!--Condition 档位判断变量编码 与-->
          <Gear Name="零位" Value="0"  Condition="281" />
          <Gear Name="左行1档" Value="1"  Condition="242" />
          <Gear Name="左行2档" Value="2"  Condition="242,244" />
          <Gear Name="左行3档" Value="3"  Condition="242,244,245" />
          <Gear Name="左行4档" Value="4"  Condition="242,244,245,246" />
          <Gear Name="右行1档" Value="-1" Condition="243" />
          <Gear Name="右行2档" Value="-2" Condition="243,244" />
          <Gear Name="右行3档" Value="-3" Condition="243,244,245" />
          <Gear Name="右行4档" Value="-4" Condition="243,244,245,246" />
        </Mechanism>
        <Mechanism Type="2" TagId="35" TagName="小车档位">
          <!--Condition 档位判断变量编码 与-->
          <Gear Name="零位" Value="0"  Condition="282" />
          <Gear Name="前行1档" Value="1"  Condition="248" />
          <Gear Name="前行2档" Value="2"  Condition="248,250" />
          <Gear Name="前行3档" Value="3"  Condition="248,250,251" />
          <Gear Name="前行4档" Value="4"  Condition="248,250,251,252" />
          <Gear Name="后行1档" Value="-1" Condition="249" />
          <Gear Name="右行2档" Value="-2" Condition="249,250" />
          <Gear Name="右行3档" Value="-3" Condition="249,250,251" />
          <Gear Name="右行4档" Value="-4" Condition="249,250,251,252" />
        </Mechanism>
        <Mechanism Type="3" TagId="36" TagName="起升档位">
          Condition 档位判断变量编码 与
          <Gear Name="零位" Value="0"  Condition="283" />
          <Gear Name="上升1档" Value="1"  Condition="254" />
          <Gear Name="上升2档" Value="2"  Condition="254,256" />
          <Gear Name="上升3档" Value="3"  Condition="254,256,257" />
          <Gear Name="上升4档" Value="4"  Condition="254,256,257,258" />
          <Gear Name="下降1档" Value="-1" Condition="255" />
          <Gear Name="下降2档" Value="-2" Condition="255,256" />
          <Gear Name="下降3档" Value="-3" Condition="255,256,257" />
          <Gear Name="下降4档" Value="-4" Condition="255,256,257,258" />
        </Mechanism>
      </Device>
    </GearConver>
  </APP>
</Config>