I meant the COM 143 program.
I can't see whats inside the FBs you call in your S5.
As I remember (long time ago I did this), you have to call the SND-A (FB126) with SSNR = KY 0,0 and A-NR = KY 0,0.
And also the SEND block (FB120) with the parameters of your connection you have configured in COM 143.
The screenshots show you have configured the SEND with ANR=1, and the RECEIVE with ANR=2.
So I would call the SEND (FB120) with A-NR = KY 0,1
ANR stands for "Auftragsnummer", would be translated to "Job-Number".
The SEND/RECEIVE blocks are relevant for exchanging the data between the CPU and the CP. Your S7 is connected to the CP of the S5, but the S5-CP does'n communicate with the S5-CPU.