Use the cam function (see attachment) inside the drive and put the individual cam into the signal status word or the complete parameter P-0-0135 to your parameters exchanged to the control over PROFINET.
... View more
Use parameters S-0-1300.20.4 and S-0-1300.20.1 to get known what motor type and serial number is connected. Of course you need to call these parameters for each of the affected sercos addresses.
... View more