Profinet redundancy with c++

Hi,
we 're writing an c++ application where we need to use S2 profinet redundancy features.
Is it a way to achieve this without use of the dedicated IEC function blocks provided ?
I know to achieve this we need to use Profinet device configuration, but the documentation is quite light on the subject.
What is the best way to follow ?

thx in advance