Page 1 of 1

Source code example

Posted: 18 Jan 2024, 14:55
by Mich_P
Is there any source code example available for the implementation of PROFIenergy on a Profinet device?

Posted: 22 Jan 2024, 13:17
by Realtime
Mich_P wrote: 18 Jan 2024, 14:55 Is there any source code example available for the implementation of PROFIenergy on a Profinet device?
I don't now any source code or source code example for a Profienergy device. But at least the Profienergy Service Access Point (PE SAP) uses the same request/respond protocol as the Profidrive parameter access service (BMP protocol). Therefore source code from the PROFIdrive community project may help here (see https://www.profibus.com/technology/pro ... ty-project). While in the Profidrive parameter channel a switch for the request_ids is used, here for Profienergy the dispatching to the different service_request_ids has to be implemented.

Posted: 29 Jan 2024, 13:24
by olliew
Mich_P wrote: 18 Jan 2024, 14:55 Is there any source code example available for the implementation of PROFIenergy on a Profinet device?
There is no PROFIenergy community example.
The stack providers may have an example implementation, if you already use a device stack you can ask your provider.