(already solved)
Hi, It looks like you have not connected your out port (the data from your code/function block) to your in port (the profinet data to your drive). So in my example: [attachment]01.png[/attachment] I have some digital inputs (OUT ports) connected to variables in my PLC (In ports). In your image (second screenshot) the corresponding ports are empty (where is says „select IN port HERE“). That is where you need to link the two.

[quote]Hi, It looks like you have not connected your out port (the data from your code/function block) to your in port (the profinet data to your drive). So in my example: [attachment]01.png[/attachment] I have some digital inputs (OUT ports) connected to variables in my PLC (In ports). In your image (second screenshot) the corresponding ports are empty (where is says „select IN port HERE“). That is where you need to link the two.[/quote] Hello Andrew, I had erased post before I noticed your answer. The issue was solved just changing from IN/Out Port to External the Usage of Control Word/Status Word and Actual Speed/Reference Speed variables.