PROFINET 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. For some errors, an additional description is provided.

IP Parameters

IP address

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

Subnet mask

Default gateway

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 I/O 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.

Watchdog (ms)

Monitoring time. Possible values: 3 ms to 1920 ms. (In steps, depends on Send clock * Reduction ratio)

A connection is canceled when the controller or the PROFINET device does not receive I/O 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 PROFINETspecification 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 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 I/O device. Not all I/O devices support parameter updates in run mode. If not, then an error message is displayed.

See also