PROFINET IO Controller - General

 

Object: PROFINET IO controller

The PROFINET IO controller, like the slaves, is identified by the station name. For CIFX variants, you can also configure the IP settings here. Otherwise the settings apply from the superordinate Ethernet node.

Station name

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

IP parameters

IP address

Note: Available for CIFX PROFINET only.

If you insert the controller below an Ethernet adapter, you must define the IP parameters in the dialog of the Ethernet adapter.

Subnet mask

Default gateway

Default slave IP parameters

First IP address

Range of IP addresses that CODESYS uses by default when inserting PROFINET IO devices into the device tree. If you use the Auto IP function in the scan dialog, then IP addresses are also used from this range. Then the next free IP address is selected.

Last IP address

Subnet mask

Default gateway

IO provider / consumer status

Application stop --> Substitute values

When the user stops the application, the provider state is set to "BAD". Then the slaves set the inputs and outputs to predefined substitute values. For further information, refer to "CODESYS default values - PROFINET IO Substitute values" at the end of this help page.

Add to I/O mapping

_cds_icon_option_activated.png: The incoming status information is added to the I/O mapping for all modules; provider state for the input data and consumer state for the output data.

Port data

Peer station/port

Neighboring device with port that is connected to this port.

You can accept this setting in the PROFINET IO Controller Topology tab.

Cable length

Length of the network cable (in meters)

  • < 10

  • < 25

  • < 50

  • < 100

When a cable length is specified, it is checked when the controller is powered up. An incorrect cable length causes an error message.

MAU type

Type of network cable

Watchdog

Note: Available for CIFX PROFINET only.

Activate

_cds_icon_option_activated.png: If the CIFX firmware is not set within the given time (for example, in the case of an exception error in the application), then it is reset. The connection is terminated and the slaves switch to their substitute values.

The presets for the watchdog are from the device description.

CODESYS default values - PROFINET IO substitute values

PROFINET IO devices set their inputs and outputs to predefined substi­tute values when there is an interruption. These values are defined in the field device in contrast with default values. These values are usually zero, but specific substitute values can also be configured depending on the device.

The substitute values are set when

If the option Application stop --> Substitute values is set, then the controller sets the provider states to "BAD" at application stop. The slaves set their substitute values. All incoming data from the controller (also default values) are ignored.

If the default values defined in the application should be set for an appli­cation stop, then you have to deactivate this option. In addition, you should set the option Refresh I/Os in stop (in the PLC settings). Other­wise, the CODESYS PROFINET IO controller is stopped.