industrialNETworXnetx

Teapot

Teapot

| 23.04.2009 | 07:07 | 4 replies

PB DP Slave stack: PROFIBUS_FSPMS_CMD_STATE_CHANGED_IND

Hi,
tell me please, what values can take parameters ulState and ulError?

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 23.04.2009 | 07:14

Hi Teapot,

a look into the PROFIBUS API manual will help you to find the answers for your questions :wink:

Teapot

Teapot

| 23.04.2009 | 18:22

Hi AJ,
the latest revision of this manual describes only parameter ulReason (Reason code) :wink: What values can take parameters ulState and ulError? Will this indication is sent when the watchdog timeout expires?

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 24.04.2009 | 13:32

Hi Teapot,

ulState could have the following entries:

* RCX_COMM_STATE_STOP
* RCX_COMM_STATE_IDLE oder
* RCX_COMM_STATE_OPERATE

ulError can show every possible error value from the TLR error pool, general errors of the rcX, from the Data Layer or from the stack itself.

Teapot

Teapot

| 27.04.2009 | 15:45

Thank you :)

Login