ProfiNet API_ADD Implementation issue

Hi,
I have anybus starterkit M40 module with stack version ABCC_Starter_Kit_3.06.01and i am trying to implement my customized RI profile which says to add API_ADD(0) in Appendix C.0 Flow chart.

I have implemented API_ADD function as suggested in Profinet IRT document and sending command to M40 module but I am not getting any response back from Module for the command issued.

Below is the debug log details. Can you please let me know why M40 module doesnot respond with any data or am I sending wrong information to M40 Module.
Msg sent:
[ MsgBuf:0x005f8504 Size:0x0000 SrcId :0x0e DestObj:0x03
Inst :0x0001 Cmd :0x41 CmdExt0:0x06 CmdExt1:0x00 ]
[ ]

Mem: Buffer returned: 0x005f8504
Mem: Buffer allocated: 0x005f8504
Outstanding commands: 0

Msg received:
[ MsgBuf:0x005f8504 Size:0x0002 SrcId :0x0e DestObj:0x03
Inst :0x0001 Cmd :0x01 CmdExt0:0x06 CmdExt1:0x00 ]
[ 0x08 0x00 ]

Routing response to registered response handler: MsgBuf:0x005f8504 SrcId:0x0e
CmdSeq(5eec20)->RdPdSizeResp()
CmdSeq(5eec20)->WrPdSizeCmd()

Msg sent:
[ MsgBuf:0x005f8504 Size:0x0000 SrcId :0x0f DestObj:0x03
Inst :0x0001 Cmd :0x41 CmdExt0:0x05 CmdExt1:0x00 ]
[ ]

Mem: Buffer returned: 0x005f8504
Mem: Buffer allocated: 0x005f8504
Outstanding commands: 0

Msg received:
[ MsgBuf:0x005f8504 Size:0x0002 SrcId :0x0f DestObj:0x03
Inst :0x0001 Cmd :0x01 CmdExt0:0x05 CmdExt1:0x00 ]
[ 0x4a 0x00 ]

Routing response to registered response handler: MsgBuf:0x005f8504 SrcId:0x0f
CmdSeq(5eec20)->WrPdSizeResp()
Mem: Buffer returned: 0x005f8504
CmdSeq(5eec20)->Done
Mapped PD size, RdPd 8 WrPd: 74
Mem: Buffer allocated: 0x005f8504
CmdSeq(5efe6c)->ProfiNetParams::IssueProfiIOCmd()

Msg sent:
[ MsgBuf:0x005f8504 Size:0x0008 SrcId :0x10 DestObj:0x0e
Inst :0x0000 Cmd :0x14 CmdExt0:0x00 CmdExt1:0x00 ]
[ 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ]

Mem: Buffer returned: 0x005f8504

You might need to change when you are sending the API_ADD. This should be done after the ADI’s are complete and before the setup is complete. It looks like you are performing read request before the API_ADD.

Deryck

Hello @Shiva,

Just wanted to follow up here, Jon touched base with me and is working on this issue over email. I will close this topic out.

Deryck