I want to support end-user TIA-Portal programming of our Profinet device with ABCC40 module.
The end-user will select modules and submodules and arrange and place them how he wants to. Therefore I cannot implement fixed ADIs but should support pluggin (sub-) modules.
In your ABCC40 Profinet IRT Network Guide there are only less descriptions how to use API_Add, Plug_Module and Plug_SubModule.
There is a flowchart in appendix C.3:
In chapter 5.6 there is an example how to set module A to slot 1 and 3 and module B to slot 2. But for me it’s not clear how to implement it (e.g. there are only Map_ADI_Write_Ext_Area() calls instead of Plug_Module() - calls as in flowchart C.3).
In example code I can only find the defines ABP_NWPNIO_CMD_PLUG_MODULE etc. but nothing how to use them.
Descriptions in chapter 14.10 Network PROFINET IO Object (0Eh) aren’t clear for me how to use them.
Could you provide me one or more examples how to implement it into ABCC example code?
That would be really great - thank you!