Profibus Master Beckhoff Configuration, Status and Diagnostic Bytes

Hi,

Struggling to get the Config, Status, Diag bytes from Beckhoff coupler BC3150 to come into the Master as the correct Datatype.

What I should be getting from each Slave device:

16 Bytes Configuration

16 Bytes Status

16 Bytes Diagnostic

What I am actually getting is a single BOOL for each. Is there a way of changing datatypes and adding mapping here?

all the process mapping is working great, would just be good to get this extra information.

Any help would be greatly appreciated, Thanks

Dale Webb

Hello,

diagnostic data of Profibus slaves must be read using a function block. You cannot enable this to show up in the IO mapping.

In case of a IF1061-1 it would be nxdpmGetDiag()

best regards

Oliver

Hi,

Amazing Thanks, I take a look.

We are using APROL 4.4 p6, will this information be usable in CAEmanager?

Dale Webb

You are welcome !

Regarding Aprol I cannot give a 100% statement - I never used it. Sorry

But I would say that standard B&R libraries are also available here

I am able to get the Library into APROL,

Trying to get diagnostic data from all the slave devices such as module states and error codes,
seems to be quite a few function blocks in the AsNxDpM and AsNsDpS. Anyone have any experience using these Libraries?

I would like to get the Individual Slave state, if it is in error etc. Also the individual KL modules on that slaves state if possible?

Any heads up would be great,

Cheers Dale Webb