The PROFIdrive Controller example application should give an idea, how a PROFIdrive controller can be build up, handling drives with PROFIdrive interface. Image Added 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.Image RemovedInside example application there are two interface layers to make usage of PROFIdrive devices, which are connected to a PROFINET controller system, more easy. The PNC API is used to provide PROFINET controller related functionalities like cyclic, acyclic and alarm data handling at application layer in a standardized way. So it is possible to use the whole application example on different runtime systems by just implementing a proper wrapper for target system. The PDC API is used to provide main PROFIdrive functionalities in a more abstract way. It provides functions to run connected axis with velocity or position setpoints with respect of chosen PROFIdrive application class and take over all necessary normalization, calculation and mapping in internal modules. The functionalities of PDC API are based also on PNC API functionalities. |