11/18/2010 4:38 PM | |
Posts: 87 Rating: (1) |
Function I_GET returning ret_val= -32756, why? How I can translate and understand this code -32756..... |
11/21/2010 5:07 PM | |
Posts: 87 Rating: (1) |
Yes my partner is S7-315-2DP and in locate in local station (slave) of CPU S7-315-2PNDP and communicate by ProfibusDP |
11/22/2010 1:59 AM | |
Joined: 10/7/2005 Last visit: 6/5/2024 Posts: 3008 Rating: (1051)
|
Hello andrewF yourunderstanding is in principlecorect and I presume you are referring tothe CPU-CPU communication with SIMATIC controllers (compendium). jklm's advise (S7 communication viaFB14/15 GET/PUT) would work if you'd use a CP342-5 as the DP Master. If you however use the CPU's onboard DP port, you will have to use S7 Basic communication via SFC72/73(I_GET/I_PUT). Presuming the latter is the case, your SFC72 should do the job and I suggest you do the following: 1.) Check again what error code you get (try to "capture" it) as the value that you mentioned (-32756 dec = 800C hex) is not a defined one. 2.) Have a look at the FAQ and examplebelow and see if they help: CPU 315-2 as server for I_PUT/I_GET Client / Server Communication with (I) Slaves via S7 Basic Communication (I_PUT/ I_GET) 3.) If all fails, post your S7 project for evaluation. I hope this helps and please let us know the outcome |
Cheers |
|
Follow us on