Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

After adding the Firmware, it can now be selected in the "Firmware" Area.
Please select the device and the firmware you want to download. In this example, please choose the Firmware "PROFIBUS Slave":

Image RemovedImage Added

Configuration

After the Firmware has been downloaded, the CIFX M223090AE2 is ready to get its configuration.

...

create a new Project and Network, in a specific directory.

Image RemovedImage Added


The new Solution will now be shown in the Solution Explorer.

Image RemovedImage Added

Add a new device

Mark the current Network and click "Add", or right-click to the network and select "Add Device..." to create a new device.

Image RemovedImage Added


select the PROFIBUS Slave from the list of Stand-Alone-Slaves.
Make sure the selected version does fit to the currently installed Firmwareversion.
When Configuring a CIFX M223090AE Device, please select "CIFX NETX 90 RE/PNS VxxxDP/DPS".

Image RemovedImage Added


the device will now be added to the network in the Solution Explorer. Several configuration options are now available:

Image RemovedImage Added


Device Assignment

...

Scan for devices and select the Device to be configured.

Image RemovedImage Added

PROFIBUS Settings

...

Station Address

Open the PROFINET Settings → Network, to define the NameOfStationStation Address, which is needed for the IO Controller Master to establish a communication.
The NameOfStation The Station Address has to be equal to the one defined in the IO Controller Master Configuration.

Image RemovedImage Added

Module Configuration

Open the Module configuration and add the amount of Modules by clicking "add Module".
The size of each module can be changed by selecting the Module description.Image Removedneeded Modules with a doubleclick on them or using the "Insert" or "Append" buttons.

Image Added


Apply the module configuration. It will now be shown in the Module Area in the Solution Explorer.

Image RemovedImage Added

Info

Please note, that the Module configuration used for the PROFIBUS Master, needs to be completely equal to the modules configured in this step.

They do not need to be swaped.

...

Additional Configurations can be found in "Settings → Device".
If the communication needs to be started by the application, this can be defined as follows:

Image RemovedImage Added


Download configuration

After the configuration is finished, Download the configuration by selecting the Device in the Solution Explorer and clicking "Download" or right-click to the device and select "Download".

Image RemovedImage Added


After the Download is finished, the Device will now automatically "Connect", which is indicated by a green background. This means, the Diagnosis is now available.Image Removed.

Image Added

Diagnosis

Mark the current Device and click "Diagnostic", or right-click to the device and select "Diagnostic" to open the diagnosis.

Image Added


The Diagnosis shows geneal informations about the current communication.

This is how the diagnosis should look like, in case of a working communication to a PROFIBUS Master:

Image Added


The field "Communication error", gives information about the current communication state.
All Error Codes can be found in the following document: https://kb.hilscher.com/display/DL/Hilscher+status+and+error+codes



Establish communication


At startup the PROFIBUS-DP Slave will not start the cyclic data exchange with the PROFIBUS-DP Master until the first Input data are updated from the application to the stack.


As long the first update of the Input data is not done by the application the stack will generate a so called static diagnostic to the master.


As soon the first Input data are written the normal data exchange will start.


This is for safety reason to make sure that the very first Input data transferred from the slave to the master are valid data from the application.




To simulate the first Input data update from the application to the stack, the IO Monitor in Communication Studio can be used.


Therefore open the IO Monitor in the Diagnosis and click "update":


Image Added


In the General Diagnosis, the Communication will now be started:

Diagnosis

Mark the current Device and click "Diagnostic", or right-click to the device and select "Diagnostic" to open the diagnosis.

Image Removed

The Diagnosis shows geneal informations about the current communication

This is how the diagnosis should look like, in case of a working communication to a PROFIBUS Master:

Image Removed

The field "Communication error", gives information about the current communication state.
All Error Codes can be found in the following document: https://kb.hilscher.com/display/DL/Hilscher+status+and+error+codes

Troubleshooting Guide verlinken


Diagnostic Tools

Packet Monitor

...