S7400 - WINCC7.0 Raw tag

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Boratinka
Posts: 1
Joined: Wed May 12, 2021 11:19 am

S7400 - WINCC7.0 Raw tag

Post by Boratinka » Mon Apr 22, 2024 7:21 am

Good day,
IP PLC – 10.225.30.77
IP Wincc – 10.225.30.66
Bsend:
req – clock 2S
R – 0
ID – 16#10, connection with this ID was created in netpro and loaded, S7 partner ip – 10.225.30.77
R_ID – 16#15
SD_1 – The DB to be transferred exists.
Len – 16#F92
On the WINCC side:
TCP/IP connection – Created with ip 10.225.30.77 sned/receive raw data block Connection Resource 10 flag set
Tag created as Raw Data Type, BSEND/BRCV, Raw Data flag set, R_ID – 15
In Wincc, I query the tag by button using the function GetTagRawWait(RAW_IN,buffer,len_raw);
However, the status of the BSEND block is always an error and the status itself is 1
Please tell me what I'm doing wrong.