industrialNETworXnetx

simon

simon

| 18.06.2008 | 15:14 | 4 replies

Profibus: PROFIBUS_FSPMS_CMD_SET_CFG_REQ/CNF

Hi again,

I'm still having problems receiving new extended configuration data in my application. In my design I have a task which is solely responsible for getting any acyclic packets and processing those. This works fine when sending CMD_C1_WRITE_IND packets from the master, but it doesn't work at all when trying to send (hopefully... I'm not sure if anything is sent and I have no possibility to watch the transmissions on the physical level) new extended configuration data from the master.

I'm trying to send this extended config data via the SyCon app by right-clicking on the slave and then selecting "Parameter Data". In the popup window I enter the data and then I click Ok. What am I missing?

Thanks in advance,

simon

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 20.06.2008 | 22:56

Hi Simon,

with the command "PROFIBUS_FSPMS_CMD_SET_CFG_REQ" you are ablte to submit a new slave configuration. But these are not the parameter data's. The configuration data's are needed to set the I/O lengh of a module.

If there is altready a connection between the master and the slave established, and you call this command, then the connection is closed and you have to reconfigure the slave again.

simon

simon

| 24.06.2008 | 10:49

Hi,

Ok, thanks. But how can I use the parameter data for actually configuring anything when accessing the Profibus-Stack via the xChannel family of functions?

Thanks

Simon

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 24.06.2008 | 11:52

simon wrote:
I'm trying to send this extended config data via the SyCon app by right-clicking on the slave and then selecting "Parameter Data". In the popup window I enter the data and then I click Ok. What am I missing?

Now I realized your need - Sorry.

Currently are the "Parameter Data's" not given into the application. The stack does only acknowledge them but do not provide them into your application.

simon

simon

| 24.06.2008 | 12:46

Ok, that's that, then. Thanks for clarifying.

Simon

Login