Industry Online Support
Technical Forum
10/11/2013 3:56 PM | |
Joined: 8/25/2005 Last visit: 7/5/2024 Posts: 1161 Rating:
|
Hello Bjekas, yes, it is true that the AG_SEND/AG_RECV blocks are working only with the CP's. Hope the document Which types of connection/protocols do the S7-300/400 CPUs and the CPs support by default?will be helpful for your Best regards Sabine |
10/14/2013 10:20 AM | |
Posts: 6 Rating:
|
Hi Hulzhex, thank you for your help. I've read the links you gave me and I learn that TCON, TSEND, TRCV and TDISCON blocks will work with both CP and cpu PN channel. Correct me if Im wrong! On my pc Im using a TCP test tool: http://sockettest.sourceforge.net/ I tried to configure TCON block to connect to my pc but til now its not working These are my TCON parameters: block_lenght - 16#40 id - 16#01 connection type - 16#11 active est - FALSE (guess this sets it to client) local_device_id -16#00 (Im currently testing with CP despite the fact that I intend to use PN cpu channel) local_tsap_id_len - 16#02 rem_staddr_len- 16#04 local_tsap_id[1] - 16#07 local_tsap_id[2] - 16#D0 (port 2000) everything else is 16#00 plc cp ip - 10.0.0.60 pc ip - 10.0.0.5 Any idea what am I doing wrong? |
10/14/2013 2:25 PM | |
Posts: 1368 Rating:
|
Hello Bjekas, |
Follow us on