How the variables link to multiple PDO Entries in TwinCAT

16 Aug 2024

This article describes how the variables with different types link to multiple PDO Entries in TwinCAT.

 

APPLICABLE PRODUCTS

All products with EtherCAT slave network

 

QUESTION

The PDO Entries of gateway EtherCAT network are single byte USINT type, how to link them with WORD, or REAL type variables.

 

ANSWER

1.Every PDO Entry is single byte USINT type.

2.There are variables with type WORD,REAL or ARRAY in PLC programs, they can be linked to multiple PDO Entries by selecting continuous.

Example:variable with type WORD 

1) Click “Linked to..”

2) Check “All Types”

3) Check “Continuous”

4) Press the keyboard "Ctrl",select multiple PDO entries, the bytes need correspond to the variable type. In this example, select two PDO entries.

5) Click “OK”

 

Example:variable with type REAL