Profibus DP Master - 'NetX Configuration'

 

As an alternative to the general PROFIBUS DP node, you can add the PROFIBUS DP node (NetX) to the device tree in the case of a NetX fieldbus. The NetX configuration dialog in the device editor is provided for this node for selecting the NetX chip (adapter slot) and the communi­cation channel on this chip. The name of the setting in the dialog and any possible settings that already exist in the drop-down list are defined by the device description.

NetX settings

Slot

Used slot: For PCI adapters with a NetX chip, the slot numbers are typically the same as the adapter numbers.

NetX Com Channel

Used communication channel on the selected adapter: A NetX adapter can have up to four communication channels to different fieldbuses.

Automatic Bus Initialization

_cds_icon_option_activated.png At the time of download or reset, the bus is initialized automatically without any user prompt.

_cds_icon_option_deactivated.png The user is prompted whether the bus should be reinitialized on download or reset. A reinitialization interrupts the bus and can lead to unexpected behavior of the machine.

For PROFIBUS DP NetX configurations, you can use the GetLiveList method to check which bus devices are available in the connected hard­ware. The method is included in the automatically linked library IoDrvCifXProfibus. For a rising edge of the xEnable input, the method requires a current list of all devices connected to the PROFIBUS. The operation is complete when the wOpState output takes the value HIL_DONE or HIL_ERROR. The method can return the following values: 00 = station not available, 01 = inactive station, 03 = active station