Device – General

Object: PROFINET Device

In this dialog, you configure a communication link (PROFINET: application relation) to a PROFINET Field Device.

For all settings in the present dialog, the device description determines if the values here are editable and the values that are predefined or possible.

Station name

The station name of the device. It is used for unique identification of the device in the network.

Station status

32-bit error code compliant with the PROFINET specification. In case of error, the status is provided here, for example, when establishing a connection fails or a link is interrupted. A description is also displayed.

IP Parameters

IP address

The IP settings of the device. Set when establishing the connection to the controller.

Subnet mask

The subnet mask used by the device.

Default gateway

The default gateway used by the device.

   

Communication Settings

Send clock (ms)

Send clock (in milliseconds).

Reduction ratio

Scaling factor

The send cycle is defined by Send clock * Reduction ratio. Therefore, a Send clock of 1ms and a Reduction ratio of 4 means that IO data is sent every 4ms.

Phase

With a Reduction ratio of n, the send cycle is divided into phases 1 to n (where data is sent in one phase only). You can determine in which phase the data is sent for the purpose of load distribution.

If Send clock = 1 and Reduction ratio = 4 (as in the example above), then you could configure phases 1–4. For four slaves with this send clock and reduction ratio settings, you could assign one of the four phases to each of the four slaves. In this way, only one data package is sent in each of the four phases of the send cycle and the load is distributed equally.

Data hold time (ms)

Monitoring time. A multiple of the send cycle (send cycle = Send Clock * Reduction Ratio). Possible values: 3 ms – 1920 ms.

A connection is aborted when the controller or the PROFINET Device does not receive IO data from the communication peer within this time period. The device enters failure mode and switches the outputs to substitute values.

VLAN ID

VLAN identifier: Number between 0 and 4095 for VLAN type 802.1Q.

Note: For newer devices compliant with PROFINET specification V2.3, only "0" is still permitted.

RT class

If available, you can select the required RT class from the list (real-time communication).

   

User Parameters

Set All Default Values

CODESYS resets all settings to default values (see the "Default Value" column) from the GSDML file.

Read All Values

CODESYS reads the current values from the device and updates them in the editor.

Write All Values

CODESYS writes the current values from the editor to the IO Device. Not all IO Devices support parameter updates in run mode. If not, then an error message is displayed.

Options

Fast Startup

This function can significantly reduce the startup time of the device, provided that no changes have been made to the configuration of the device. Under optimal conditions, from the moment of establishing the connection with the network to the data exchange, only a few 100ms. If possible, "Auto negotiation" should be switched off.

Shared device

: This device is configured by another controller. Modules that are used by the other controller must be deactivated by setting this option.