Breadcrumbs

Creating a Profinet controller

The Ethernet interface must be added to the variTRON that is to be used as a Profinet controller via the context menu of the CPU and the Add Device... menu item.

image-20231113-100335.png

The network interface (LAN port) to be used for communication must be selected on the Ethernet device under General.

image-20231113-100444.png

The PN controller is then added via the Add Device... menu item in the context menu of the Ethernet device.

image-20231113-100540.png

The station name and the IP parameters of the slave must be configured on the PN controller under General.

image-20231113-100714.png

The CODESYS Profinet Device is then added via the Add Device... menu item in the context menu of the PN controller.

image-20231113-100827.png

Configure the PN-Device with station name and IP address. The set communication parameters (reduction ratio) are learned values.

image-20231113-100922.png

Create an I/O mapping with Add Device from the Profinet Device.

image-20231113-101033.png

Map an I/O mapping with variables (send 8 floats to device)

image-20231113-101135.png

Map an I/O mapping with variables (request 8 floats from device)

image-20231113-101236.png