PROFIdrive Controller example application should give an idea, how a PROFIdrive controller can be build up, handling drives with PROFIdrive interface.
The provided example code uses a Siemens CP1616 or PN Gate V2.0 with IO-Base interface as PROFINET controller.
With separation of modules of a PROFIdrive controller into logical layers, its possible to transfer this principle also on any Controller solution.