Breadcrumbs

Creating a Profinet device

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

image-20231113-103600.png

The network interface (LAN port) to be used for communication must be selected on the Ethernet device under General. The IP address must be identical to the IP address of the device that was created in the PN controller.

image-20231113-103658.png

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

image-20231113-103741.png

The configuration must be made on the PN-Device under General. The station name must be identical to the station name of the device configuration in the PN controller.

image-20231113-103838.png

Create an I/O mapping with Add Device from the PN device. Must be identical to the device configuration in the PN controller.

image-20231113-103934.png

Map an I/O mapping with variables (receive 8 floats from the controller)

image-20231113-104053.png

Map an I/O mapping with variables (provide 8 floats for the controller)

image-20231113-104152.png

The device and controller can also be realised parallel in a variTRON 500. The device and controller must then be split into two LAN 1 and LAN 2.

image-20231113-104337.png