BECKHOFF ET9300 User Manual

Page 40

Advertising
background image

38

Application Note ET9300

</SubItem>

</DataType>

c. Update the object 0x7010.

<Object>

<Index>#x7010</Index>

<Name>OutputCounter</Name>

<Type>

DT7010

</Type>

<BitSize>

80

</BitSize>

<Info>

<SubItem>

<Name>SubIndex 000</Name>

<Info>

<DefaultData>02</DefaultData>

</Info>

</SubItem>

<SubItem>

<Name>Value1</Name>

<Info>

<DefaultData>00000000</DefaultData>

</Info>

</SubItem>

<SubItem>

<Name>Value2</Name>

<Info>

<DefaultData>00000000</DefaultData>

</Info>

</SubItem>

</Info>

<Flags>

<Access>rw</Access>

<Category>o</Category>

<PdoMapping>R</PdoMapping>

</Flags>

</Object>

d. Update the PDO mapping object structure.

NOTE: the definition “DT1601” can be used for object 0x1601 and object 0x1A00 because
the object structures are equal.

<DataType>

<Name>DT1601</Name>

<BitSize>

80

</BitSize>

<SubItem>

<SubIdx>0</SubIdx>

<Name>SubIndex 000</Name>

<Type>USINT</Type>

<BitSize>8</BitSize>

<BitOffs>0</BitOffs>

<Flags>

<Access>ro</Access>

<Category>o</Category>

</Flags>

</SubItem>

<SubItem>

<SubIdx>1</SubIdx>

<Name>SubIndex 001</Name>

<Type>UDINT</Type>

<BitSize>32</BitSize>

<BitOffs>16</BitOffs>

<Flags>

<Access>ro</Access>

<Category>o</Category>

Advertising