<?xml version="1.0" encoding="utf-8"?>
<Document>
  <Engineering version="V20" />
  <SW.Blocks.InstanceDB ID="0">
    <AttributeList>
      <HeaderAuthor>APC_ERLF</HeaderAuthor>
      <HeaderFamily>LCom</HeaderFamily>
      <HeaderVersion>2.1</HeaderVersion>
      <InstanceOfName>LCom_Communication</InstanceOfName>
      <InstanceOfType>FB</InstanceOfType>
      <Interface><Sections xmlns="http://www.siemens.com/automation/Openness/SW/Interface/v5">
  <Section Name="Input">
    <Member Name="enable" Datatype="Bool" />
    <Member Name="send" Datatype="Bool" />
    <Member Name="sendDataLength" Datatype="UDInt" />
    <Member Name="readDataLength" Datatype="UDInt" />
    <Member Name="configuration" Datatype="&quot;LCom_typeConfig&quot;" />
  </Section>
  <Section Name="Output">
    <Member Name="connected" Datatype="Bool" />
    <Member Name="sending" Datatype="Bool" />
    <Member Name="dataReceived" Datatype="Bool" />
    <Member Name="receivedDataLength" Datatype="UDInt" />
    <Member Name="busy" Datatype="Bool" />
    <Member Name="error" Datatype="Bool" />
    <Member Name="status" Datatype="Word" />
  </Section>
  <Section Name="InOut">
    <Member Name="sendBuffer" Datatype="Variant" />
    <Member Name="receiveBuffer" Datatype="Variant" />
    <Member Name="diagnostics" Datatype="&quot;LCom_typeDiagnostics&quot;" />
  </Section>
  <Section Name="Static">
    <Member Name="statConnectAttempts" Datatype="SInt" />
    <Member Name="statActualLocalLComVersion" Datatype="USInt" />
    <Member Name="statRuntimeTask" Datatype="LReal" />
    <Member Name="statCopyNBytes" Datatype="UDInt" />
    <Member Name="statMaxActPacketLength" Datatype="UDInt" />
    <Member Name="statState" Datatype="Struct">
      <Member Name="connection" Datatype="USInt" />
      <Member Name="cfgSender" Datatype="USInt" />
      <Member Name="comSender" Datatype="USInt" />
      <Member Name="comReceiver" Datatype="USInt" />
      <Member Name="sender" Datatype="USInt" />
      <Member Name="receiver" Datatype="USInt" />
    </Member>
    <Member Name="statReceive" Datatype="Struct">
      <Member Name="tempTelegram" Datatype="Struct">
        <Member Name="LComVersion" Datatype="USInt" />
        <Member Name="index" Datatype="USInt" />
        <Member Name="telegramType" Datatype="USInt" />
        <Member Name="data" Datatype="Array[0..23] of Byte" />
      </Member>
      <Member Name="configTelegramV1" Datatype="Struct">
        <Member Name="LComVersion" Datatype="USInt" />
        <Member Name="telegramType" Datatype="USInt" />
        <Member Name="comMode" Datatype="USInt" />
        <Member Name="slidingWindow" Datatype="USInt" />
        <Member Name="cycleTime" Datatype="UInt" />
        <Member Name="ackTimeOut" Datatype="UInt" />
        <Member Name="lifeSignCycle" Datatype="UInt" />
        <Member Name="status" Datatype="USInt" />
        <Member Name="sendModeSyncTime" Datatype="USInt" />
        <Member Name="maxSendDataLength" Datatype="UInt" />
        <Member Name="maxReceiveDataLength" Datatype="UInt" />
      </Member>
      <Member Name="configTelegramV2" Datatype="Struct">
        <Member Name="LComVersion" Datatype="USInt" />
        <Member Name="telegramType" Datatype="USInt" />
        <Member Name="status" Datatype="USInt" />
        <Member Name="sendModeSyncTime" Datatype="USInt" />
        <Member Name="lifeSignCycle" Datatype="Time" />
        <Member Name="cycleTime" Datatype="Time" />
        <Member Name="ackTimeOut" Datatype="Time" />
        <Member Name="maxSendDataLength" Datatype="UDInt" />
        <Member Name="maxReceiveDataLength" Datatype="UDInt" />
      </Member>
      <Member Name="dataTelegram" Datatype="Struct">
        <Member Name="LComVersion" Datatype="USInt" />
        <Member Name="telegramType" Datatype="USInt" />
        <Member Name="messageCounter" Datatype="USInt" />
        <Member Name="ackMessageCounter" Datatype="USInt" />
        <Member Name="messageOffset" Datatype="UDInt" />
        <Member Name="ackMessageOffset" Datatype="UDInt" />
        <Member Name="actPackageLength" Datatype="UDInt" />
        <Member Name="totalMessageLength" Datatype="UDInt" />
      </Member>
      <Member Name="userData" Datatype="Struct">
        <Member Name="totalLength" Datatype="UDInt" />
        <Member Name="offset" Datatype="UDInt" />
      </Member>
      <Member Name="trcvFct" Datatype="Struct">
        <Member Name="data" Datatype="Array[0..4095] of Byte" />
        <Member Name="dataOffset" Datatype="UDInt" />
        <Member Name="dataLength" Datatype="UDInt" />
        <Member Name="dataLengthRest" Datatype="UDInt" />
        <Member Name="dataReceived" Datatype="Bool" />
      </Member>
      <Member Name="numberOfLComHeader" Datatype="USInt" />
    </Member>
    <Member Name="statSend" Datatype="Struct">
      <Member Name="configTelegramV1" Datatype="Struct">
        <Member Name="LComVersion" Datatype="USInt" />
        <Member Name="comMode" Datatype="USInt" />
        <Member Name="slidingWindow" Datatype="USInt" />
        <Member Name="cycleTime" Datatype="UInt" />
        <Member Name="ackTimeOut" Datatype="UInt" />
        <Member Name="lifeSignCycle" Datatype="UInt" />
        <Member Name="status" Datatype="USInt" />
        <Member Name="sendModeSyncTime" Datatype="USInt" />
        <Member Name="maxSendDataLength" Datatype="UInt" />
        <Member Name="maxReceiveDataLength" Datatype="UInt" />
      </Member>
      <Member Name="configTelegramV2" Datatype="Struct">
        <Member Name="LComVersion" Datatype="USInt" />
        <Member Name="status" Datatype="USInt" />
        <Member Name="sendModeSyncTime" Datatype="USInt" />
        <Member Name="lifeSignCycle" Datatype="Time" />
        <Member Name="cycleTime" Datatype="Time" />
        <Member Name="ackTimeOut" Datatype="Time" />
        <Member Name="maxSendDataLength" Datatype="UDInt" />
        <Member Name="maxReceiveDataLength" Datatype="UDInt" />
      </Member>
      <Member Name="dataTelegram" Datatype="Struct">
        <Member Name="LComVersion" Datatype="USInt" />
        <Member Name="telegramType" Datatype="USInt" />
        <Member Name="messageCounter" Datatype="USInt" />
        <Member Name="ackMessageCounter" Datatype="USInt" />
        <Member Name="messageOffset" Datatype="UDInt" />
        <Member Name="ackMessageOffset" Datatype="UDInt" />
        <Member Name="actPackageLength" Datatype="UDInt" />
        <Member Name="totalMessageLength" Datatype="UDInt" />
      </Member>
      <Member Name="userData" Datatype="Struct">
        <Member Name="totalLength" Datatype="UDInt" />
        <Member Name="offset" Datatype="UDInt" />
        <Member Name="sendCycleViolation" Datatype="Bool" />
      </Member>
      <Member Name="tsendFct" Datatype="Struct">
        <Member Name="dataLengthRest" Datatype="UInt" />
        <Member Name="data" Datatype="Array[0..4095] of Byte" />
        <Member Name="dataOffset" Datatype="UInt" />
        <Member Name="status" Datatype="Word" />
        <Member Name="enable" Datatype="Bool" />
      </Member>
      <Member Name="expectedAck" Datatype="Struct">
        <Member Name="package1" Datatype="Struct">
          <Member Name="offset" Datatype="UDInt" />
        </Member>
      </Member>
      <Member Name="numberOfLComPackage" Datatype="USInt" />
    </Member>
    <Member Name="statIterator" Datatype="Int" />
    <Member Name="statOldEnable" Datatype="Bool" />
    <Member Name="statOldSend" Datatype="Bool" />
    <Member Name="statRisingEdgeSend" Datatype="Bool" />
    <Member Name="statFallingEdgeEnable" Datatype="Bool" />
    <Member Name="statRet" Datatype="Int" />
    <Member Name="statCompare" Datatype="Struct">
      <Member Name="sender" Datatype="Struct">
        <Member Name="cycleTime" Datatype="Time" />
        <Member Name="ackTimeOut" Datatype="Time" />
      </Member>
    </Member>
    <Member Name="statTconPar" Datatype="TCON_IP_v4" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="statTconParQdn" Datatype="TCON_QDN" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instTCON" Datatype="TCON" Version="4.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instTDISCON" Datatype="TDISCON" Version="2.1">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instTRCV" Datatype="TRCV" Version="4.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instTSEND" Datatype="TSEND" Version="4.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instLocalLifeSignCycleTimer" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instPartnerLifeSignCycleTimer" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instLocalCycleTimeTimer" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instReceiveMsgCycle" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instExpectedAckPackage1" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instMsgSendingTimer" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instMsgReceivingTimer" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instSyncTimer" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instSendErrorTimer" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instRcvErrorTimer" Datatype="TON_TIME" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="instRDREC" Datatype="RDREC" Version="1.0">
      <AttributeList>
        <BooleanAttribute Name="SetPoint" SystemDefined="true">true</BooleanAttribute>
      </AttributeList>
    </Member>
    <Member Name="statDiag" Datatype="Struct">
      <Member Name="buffer" Datatype="Array[0..9] of Struct">
        <Member Name="status" Datatype="Word" />
        <Member Name="isActive" Datatype="Bool" />
        <Member Name="subFunctionErrorID" Datatype="Word" />
        <Member Name="additionalValue1" Datatype="Real" />
        <Member Name="additionalValue2" Datatype="Real" />
        <Member Name="additionalValue3" Datatype="Real" />
        <Member Name="additionalValue4" Datatype="Time" />
      </Member>
      <Member Name="bufferIndex" Datatype="Int" />
      <Member Name="actualIndex" Datatype="USInt" />
    </Member>
    <Member Name="statDataReceived" Datatype="Bool" />
    <Member Name="statConnected" Datatype="Bool" />
    <Member Name="statStatus" Datatype="Word" />
    <Member Name="statSending" Datatype="Bool" />
  </Section>
</Sections></Interface>
      <Name>LCom_Communication_DB</Name>
      <Namespace />
      <Number>10</Number>
      <ProgrammingLanguage>DB</ProgrammingLanguage>
    </AttributeList>
    <ObjectList>
      <MultilingualText ID="1" CompositionName="Comment">
        <ObjectList>
          <MultilingualTextItem ID="2" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="3" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="4" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
      <MultilingualText ID="5" CompositionName="Title">
        <ObjectList>
          <MultilingualTextItem ID="6" CompositionName="Items">
            <AttributeList>
              <Culture>cs-CZ</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="7" CompositionName="Items">
            <AttributeList>
              <Culture>de-DE</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
          <MultilingualTextItem ID="8" CompositionName="Items">
            <AttributeList>
              <Culture>en-US</Culture>
              <Text />
            </AttributeList>
          </MultilingualTextItem>
        </ObjectList>
      </MultilingualText>
    </ObjectList>
  </SW.Blocks.InstanceDB>
</Document>