PROFIBUS Master – NetX Configuration
As an alternative to the general PROFIBUS node, you can add the PROFIBUS 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 communication channel on this chip. The name of the setting in the dialog and any possible settings that already exist in the list box are defined by the device description.
Slot | Slot to be used. In the case of PCI adapters with a netX chip, the slot numbers usually correspond to the adapter numbers. |
netX Com Channel | The communication channel to be used on the selected adapter. A netX adapter can have up to four communication channels to different fieldbuses. |
Automatic bus initialization |
|
For PROFIBUS NetX configurations, you can use the GetLiveList
method to check which bus devices are available in the connected hardware. The method is included in the automatically integrated 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