txPDO
3 minute read
txPDOs are used to transfer data cyclically between EtherCAT master and the EtherCAT slave. Typical examples of data mapped to txPDOs are entries such as actual positions, velocities, and status words.
You can create mapping in two methods, either manually starting with an empty mapping, or from an ESI-file.
Add New PDO mapping:
You can add manually a PDO mapping with custom entries. Be aware, when creating a custom mapping, that your slave also needs to supports this. It is highly recommended to use and ESI-file instead of manual mapping.
- Add a new
txPDOby pressing theAdd PDObutton. This adds a new PDO mapping input field.
-
At
0000, you need to define theObject Idinhex. (Example: 1A00) -
At
Group, define theGroup Namefor this PDO mapping. All entries inside this PDO are stored in this group and are visible via the desk-tool. -
At
Name, define aName(Example:.data). This name will be displayed in the parameter tree (desk-tool). The.dataobject will contain all information of the PDO mapping, and can be copied to another PDO mapping via linking. -
Define the
syncmanagerused for this PDO mapping. -
Use the
Include in EtherCAT messagecheckbox to include or exclude the PDO from the EtherCAT message. Excluded PDOs are not configured inside the EtherCAT device. -
Use the
Show in data treebutton to choose whether to hide or show this PDO inside the parameter tree (desk-tool). -
Press the
More Actionsbutton to open adropdown list:-
With the
button you canadd a link.dataobject from one PDO mapping to another. Be aware that the the size of the copied data should be the same as the PDO mapping size. -
With the
Deletebutton, you can delete an entry from the list.
-
Add New Entry:
Example:
| Name: | Index:Sub: | Type: | Bit Size: |
|---|---|---|---|
| Status Word | 0x6041:00 | UINT | 16 |
-
At
- 0000:00, you need to define theObject IndexandSubindex. (Example: 6041:00) -
At
Group, define theGroup Namefor this entry mapping. All entries with the same group name are stored in the same group and are visible via the desk-tool. -
At
Name, define aName(Example: Status Word). This name will be displayed in the parameter tree (desk-tool). -
Define the data
sizeandtype(Example: UINT16). If a data type is not filled in, the input field appears red. -
Use the
Include in EtherCAT messagecheckbox to include or exclude the entry from the EtherCAT message. Excluded entries are not configured inside the EtherCAT device. -
Use the
Show in data treebutton to choose whether to hide or show this entry inside the parameter tree (desk-tool). -
Press the
More Actionsbutton to open adropdown list:-
With the
button you canadd a link(Motorcortex parameter) to the mapped entry. Information from this link is copied to this entry mapping. -
With the
Add Mappingbutton you can subdivide the entry into bits; the mapping is displayed as a decimal number. -
With the
Deletebutton, you can delete an entry from the list.
-