Schema of DriveCOM OPC configuration file

A sample device block for a ProfiDrive with Profibus address 10 looks like this:

<TcOpcConfiguration xmlns="www.beckhoff.com/Schemas/TwinCAT/Opc/TcOpcSvrCfg">
    <Namespace>
    <Devices>
      <Device>
        <Name>dp2://brd0/seg0/dev10</Name>
        <AdsNetId>172.16.3.42.3.1</AdsNetId>
        <AdsPort>4106</AdsPort>
        <AutoCfg>9</AutoCfg>
     </Device>
       </Devices>
   </Namespace>
</TcOpcConfiguration>

Tag

Data

End Tag

Description

<Name>

dp2://brd0/seg0/dev10

</Name>

dev10 stands for the ProfiDrive with Profibus node address 10

<AdsNetId>

172.16.3.42.3.1

</AdsNetId>

ADS Net ID of the Profibus Master card, see ADS tab in TwinCAT Profibus Master Configuration

<AdsPort>

4106

</AdsPort>

ADS port of the drive, this is:

= 0x1000h + Profibus Node Address

= 4096 + 10 = 4106

<AutoCfg>

9

</AutoCfg>

9: Siemens 611U Device activated for OPC
0: Siemens 611U Device deactivated for OPC

A sample device block for a ProfiDrive with Profibus address 11 looks like this:

<TcOpcConfiguration xmlns="www.beckhoff.com/Schemas/TwinCAT/Opc/TcOpcSvrCfg">
    <Namespace>
    <Devices>
      <Device>
        <Name>dp2://brd0/seg0/dev11</Name>
        <AdsNetId>172.16.3.42.3.1</AdsNetId>
        <AdsPort>4107</AdsPort>
        <AutoCfg>9</AutoCfg>
     </Device>
       </Devices>
   </Namespace>
</TcOpcConfiguration>

Tag

Data

End Tag

Description

<Name>

dp2://brd0/seg0/dev11

</Name>

dev11 stands for the ProfiDrive with Profibus node address 11

<AdsNetId>

172.16.3.42.3.1

</AdsNetId>

ADS Net ID of the Profibus Master card, see ADS tab in TwinCAT Profibus Master Configuration

<AdsPort>

4107

</AdsPort>

ADS port of the drive, this is:

= 0x1000h + Profibus Node Address

= 4096 + 11 = 4107

<AutoCfg>

9

</AutoCfg>

9: Siemens 611U Device activated for OPC
0: Siemens 611U Device deactivated for OPC

Sample

A complete sample for the XML-File may look like this.

Schema of DriveCOM OPC configuration file 1:

Additional, not documented information in the XML file are just optional for the DriveCom configurator.

<TcOpcConfiguration xmlns="www.beckhoff.com/Schemas/TwinCAT/Opc/TcOpcSvrCfg">
    <Namespace>
        <Devices>
            <Device>
                <Name>dp2:/brd0/seg0/dev11</Name>
                <AdsNetId>172.16.3.42.3.1</AdsNetId>
                <AdsPort>4107</AdsPort>
                <AutoCfg>9</AutoCfg>
                <ExName>Device 2 (FC310x)</ExName>
                <Type>38</Type>
                <Box>
                    <Name>Box 1 (ProfiDrive2 MC)</Name>
                    <Type>1012</Type>
                </Box>
            </Device>
        </Devices>
    </Namespace>
</TcOpcConfiguration>