Hello everyone,
Sorry to be bothering you with what might be an easy question but I've been trying to put a S7-300 communicating with a S7-200 over profibus DP. I followed the hardware configuration sample at siemens (although i didnt quite figure out where to define the send and receive areas on the s7-300 like I'm supposed to) but now I need some kind of sample code to test this. I've just read about uni and bi-directional connections and also a bit about X_Get, X_Put, SFB14, SFB15. I've tried using them but no success on my part. I've also tried using PQW instruction like the one you can use to communicate with MM4 but that didnt work either. Now I'm just trying to send a byte or a bit (anything really) over to the S7-200 and access it.
I hope one of you might point me in the right direction.
Best regards,
Nuno
Sorry to be bothering you with what might be an easy question but I've been trying to put a S7-300 communicating with a S7-200 over profibus DP. I followed the hardware configuration sample at siemens (although i didnt quite figure out where to define the send and receive areas on the s7-300 like I'm supposed to) but now I need some kind of sample code to test this. I've just read about uni and bi-directional connections and also a bit about X_Get, X_Put, SFB14, SFB15. I've tried using them but no success on my part. I've also tried using PQW instruction like the one you can use to communicate with MM4 but that didnt work either. Now I'm just trying to send a byte or a bit (anything really) over to the S7-200 and access it.
I hope one of you might point me in the right direction.
Best regards,
Nuno