<?xml version="1.0" encoding="UTF-8"?>
<EtherCATConfig>
    <Master>
        <Bus>
            <Device>
                <Name>ECL16DP</Name>
                <VendorId>0x00000B3D</VendorId>
                <ProductCode>0x1201B602</ProductCode>
                <RevisionNo>0x00000003</RevisionNo>
                <Physics>YY</Physics>
                
                <SM>
                    <StartAddress>0x0f02</StartAddress>
                    <ControlByte>0x44</ControlByte>
                    <Enable>1</Enable>
                    <OpOnly>1</OpOnly>
                    <Type>Outputs</Type>
                </SM>
                <SM>
                    <StartAddress>0x0f03</StartAddress>
                    <ControlByte>0x44</ControlByte>
                    <Enable>1</Enable>
                    <OpOnly>1</OpOnly>
                    <Type>Outputs</Type>
                </SM>
                <SM>
                    <StartAddress>0x1000</StartAddress>
                    <ControlByte>0</ControlByte>
                    <Enable>1</Enable>
                    <Type>Inputs</Type>
                </SM>
                
                <PDO Direction="Rx" Fixed="1" Sm="0">
                    <Index>0x1600</Index>
                    <Name>Byte 0</Name>
                    <Entry>
                        <Index>0x7000</Index>
                        <SubIndex>1</SubIndex>
                        <BitLen>8</BitLen>
                        <Name>Output</Name>
                        <DataType>BITARR8</DataType>
                    </Entry>
                </PDO>
                
                <PDO Direction="Rx" Fixed="1" Sm="1">
                    <Index>0x1601</Index>
                    <Name>Byte 1</Name>
                    <Entry>
                        <Index>0x7001</Index>
                        <SubIndex>1</SubIndex>
                        <BitLen>8</BitLen>
                        <Name>Output</Name>
                        <DataType>BITARR8</DataType>
                    </Entry>
                </PDO>
                
                <PDO Direction="Tx" Fixed="1" Sm="2">
                    <Index>0x1a00</Index>
                    <Name>Byte 0</Name>
                    <Entry>
                        <Index>0x6000</Index>
                        <SubIndex>1</SubIndex>
                        <BitLen>8</BitLen>
                        <Name>Input</Name>
                        <DataType>BITARR8</DataType>
                    </Entry>
                </PDO>
                
                <PDO Direction="Tx" Fixed="1" Sm="2">
                    <Index>0x1a01</Index>
                    <Name>Byte 1</Name>
                    <Entry>
                        <Index>0x6001</Index>
                        <SubIndex>1</SubIndex>
                        <BitLen>8</BitLen>
                        <Name>Input</Name>
                        <DataType>BITARR8</DataType>
                    </Entry>
                </PDO>
                
                <DC>
                    <Mode>
                        <Name>DcOff</Name>
                        <Desc>DC unused</Desc>
                        <AssignActivate>0x0000</AssignActivate>
                    </Mode>
                    <Mode>
                        <Name>DcSync</Name>
                        <Desc>DC for synchronization</Desc>
                        <AssignActivate>0x0100</AssignActivate>
                        <CycleTimeSync0 Factor="1">0</CycleTimeSync0>
                        <ShiftTimeSync0>0</ShiftTimeSync0>
                    </Mode>
                </DC>
                
                <EEPROM>
                    <ByteSize>2048</ByteSize>
                    <ConfigData>040f0044102700ff000000000000</ConfigData>
                </EEPROM>
            </Device>
        </Bus>
    </Master>
</EtherCATConfig>
