回复:profinet 的GSDML文件说明文档

已锁定

qing__lin__li

  • 帖子

    37
  • 精华

    0
  • 被关注

    0

论坛等级:游士

注册时间:2013-11-11

普通 普通 如何晋级?

发布于 2022-10-10 11:08:17

5楼

展开查看
以下是引用Jerry1029在2021-11-28 09:02:30的发言 >4楼

楼主大才,可以分享一下您的经验吗?我也想学习

花了40多天研究完毕,查阅了多家公司的GSDMX文件,一点一点摸索得到的。我也编写了一个非常复杂的GSDMX文件。



<?xml version="1.0" encoding="iso-8859-1"?>

<ISO15745Profile xmlns="http://www.profibus.com/GSDML/2003/11/DeviceProfile" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.profibus.com/GSDML/2003/11/DeviceProfile ..\xsd\GSDML-DeviceProfile-V2.31.xsd">

  <!-- ProfileHeader Definition as defined in ISO15745-1. Please do not change the content. -->

<ProfileHeader>

    <ProfileIdentification>PROFINET Device Profile</ProfileIdentification>

    <ProfileRevision>1.00</ProfileRevision>

    <ProfileName>Device Profile for PROFINET Devices</ProfileName>

    <ProfileSource>PROFIBUS Nutzerorganisation e. V. (PNO)</ProfileSource>

    <ProfileClassID>Device</ProfileClassID>


    <ISO15745Reference>

      <ISO15745Part>4</ISO15745Part>

      <ISO15745Edition>1</ISO15745Edition>

      <ProfileTechnology>GSDML</ProfileTechnology>

    </ISO15745Reference>

  </ProfileHeader>


  <ProfileBody>

    <DeviceIdentity VendorID="0x0174" DeviceID="0x1234">

      <InfoText TextId="TOK_DevIdent_InfoText" />

      <VendorName Value="WINELEC" />

    </DeviceIdentity>


      <DeviceFunction>

        <Family MainFamily="Gateway" ProductFamily="DS10 Gateway"/>

      </DeviceFunction>


    <ApplicationProcess>

      <DeviceAccessPointList>

<!-- ============================================ -->

<!--                  DAP1: Standard MRP      (fits to example device code)        -->

<!-- ============================================ -->

        <DeviceAccessPointItem ID="DAP 1" PhysicalSlots="0..12" ModuleIdentNumber="0x00000001" MinDeviceInterval="8" ImplementationType="TPS-1"  DNS_CompatibleName="TPS-1"  FixedInSlots="0" ObjectUUID_LocalIndex="1" MultipleWriteSupported="true" SharedDeviceSupported="true" DeviceAccessSupported="true"   NameOfStationNotTransferable = "true" ParameterizationSpeedupSupported="true" LLDP_NoD_Supported="true" ResetToFactoryModes="2"  CheckDeviceID_Allowed="true" PowerOnToCommReady="210" RequiredSchemaVersion="V2.31" PNIO_Version="V2.32" >


          <ModuleInfo>

            <Name TextId="T_ID_DAP" />

            <InfoText TextId="T_ID_InfoTextId_DAP" />

            <VendorName Value="WINELEC" />

            <OrderNumber Value="1234567" />

            <HardwareRelease Value="1" />

            <SoftwareRelease Value="V13.00.00" />

          </ModuleInfo>

          <CertificationInfo ApplicationClass="Isochronous" ConformanceClass="C" NetloadClass="III" />          

          <SubslotList>

            <SubslotItem SubslotNumber="32768" TextId="TOK_Subslot_8000" />

            <SubslotItem SubslotNumber="32769" TextId="TOK_Subslot_8001" />

            <SubslotItem SubslotNumber="32770" TextId="TOK_Subslot_8002" />

          </SubslotList>

          <IOConfigData MaxInputLength="1440" MaxOutputLength="1440" />

          <UseableModules>

            <ModuleItemRef ModuleItemTarget="ID_Mod_16" AllowedInSlots="1..12" />

            <ModuleItemRef ModuleItemTarget="ID_Mod_17" AllowedInSlots="1..12" />

            <ModuleItemRef ModuleItemTarget="ID_Mod_18" AllowedInSlots="1..12" />

            <ModuleItemRef ModuleItemTarget="ID_Mod_19" AllowedInSlots="1..12" />

            <ModuleItemRef ModuleItemTarget="ID_Mod_20" AllowedInSlots="1..12" />

            <ModuleItemRef ModuleItemTarget="ID_Mod_21" AllowedInSlots="1..12" />

            <ModuleItemRef ModuleItemTarget="ID_Mod_22" AllowedInSlots="1..12" />

            <!--<ModuleItemRef ModuleItemTarget="ID_Mod_23" AllowedInSlots="1..12" />-->

          </UseableModules>


          <VirtualSubmoduleList>

            <VirtualSubmoduleItem ID="DAP 1" SubmoduleIdentNumber="0x00000001" Writeable_IM_Records="1 2 3 4">

              <IOData IOPS_Length="1" IOCS_Length="1" />

              <RecordDataList>

                <ParameterRecordDataItem Index="8192" Length="4">

                <Name TextId="TI_OFFSET"/>

                  <Const Data="0x00,0x00,0x10,0x00"/>   <!-- const offset in ns input trigger T3 -->

                </ParameterRecordDataItem>

                <ParameterRecordDataItem Index="8193" Length="4">

                <Name TextId="TO_OFFSET"/>

                  <Const Data="0x00,0x00,0x20,0x00"/>   <!-- const offset in ns output trigger T4 -->

                </ParameterRecordDataItem>

              </RecordDataList>

              <ModuleInfo>

                <Name TextId="TOK_TPS1_board" />

                <InfoText TextId="TOK_TPS1_board" />

              </ModuleInfo>

              <IsochroneMode T_DC_Base="4" T_DC_Min="1" T_DC_Max="8" T_IO_Base="1000" T_IO_InputMin="40" T_IO_OutputMin="40" IsochroneModeRequired="false" />

            </VirtualSubmoduleItem>

          </VirtualSubmoduleList>


          <SystemDefinedSubmoduleList>

            <InterfaceSubmoduleItem ID="IDS_1I" SubslotNumber="32768" SubmoduleIdentNumber="0x000a" IsochroneModeSupported="true" SupportedRT_Classes="RT_CLASS_1;RT_CLASS_3" IsochroneModeInRT_Classes="RT_CLASS_3" TextId="TOK_DAP_InterfaceModule" SupportedProtocols="LLDP;SNMP" SupportedMibs="MIB2" NetworkComponentDiagnosisSupported="true" DCP_BoundarySupported="true" PTP_BoundarySupported="true" DCP_HelloSupported="true">

              <RT_Class3Properties StartupMode="Legacy;Advanced" MaxBridgeDelay="3860" MaxNumberIR_FrameData="128" ForwardingMode="Relative"/>

              <SynchronisationMode SupportedRole="SyncSlave" MaxLocalJitter="10" T_PLL_MAX="1000" SupportedSyncProtocols="PTCP" />

              <ApplicationRelations StartupMode="Legacy;Advanced" NumberOfAdditionalInputCR="0" NumberOfAdditionalMulticastProviderCR="0" NumberOfAdditionalOutputCR="0" NumberOfMulticastConsumerCR="0" NumberOfAR="2">

                <TimingProperties SendClock="8 16 32" ReductionRatio="1 2 4 8 16 32 64 128 256 512" />

                <RT_Class3TimingProperties SendClock="8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80 84 88 92 96 100 104 108 112 116 120 124 128" ReductionRatio="1" ReductionRatioPow2="2 4 8 16 32 64 128" />

              </ApplicationRelations>

              <MediaRedundancy SupportedRole="Client" />

            </InterfaceSubmoduleItem>

            <PortSubmoduleItem ID="IDS_1P1" SubslotNumber="32769" SubmoduleIdentNumber="0x000b" MAUTypes="16" TextId="TOK_Port1" MaxPortRxDelay="173" MaxPortTxDelay="74" PortDeactivationSupported="false" LinkStateDiagnosisCapability="Up+Down" SupportsRingportConfig="true" IsDefaultRingport="true" CheckMAUTypeSupported="true"/>

            <PortSubmoduleItem ID="IDS_1P2" SubslotNumber="32770" SubmoduleIdentNumber="0x000c" MAUTypes="16" TextId="TOK_Port2" MaxPortRxDelay="173" MaxPortTxDelay="74" PortDeactivationSupported="false" LinkStateDiagnosisCapability="Up+Down" SupportsRingportConfig="true" IsDefaultRingport="true" CheckMAUTypeSupported="true" />

          </SystemDefinedSubmoduleList>


          <Graphics>

            <GraphicItemRef Type="DeviceSymbol" GraphicItemTarget="ID_Graph_V2" />

            <GraphicItemRef Type="DeviceIcon" GraphicItemTarget="ID_Graph_V3" />

          </Graphics>

     </DeviceAccessPointItem>

     </DeviceAccessPointList>

      



        </PrimaryLanguage>

     </ExternalTextList>

     </ApplicationProcess>

     </ProfileBody> 

</ISO15745Profile>


评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-1500系列

共有10587条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。