4/4/2011 4:00 PM | |
Posts: 23 Rating: (1) |
In the attachment you find my DB's that i wan't to send and receive. With DB301 i wan't to send data and with DB302 i wan't to receive data. |
4/4/2011 4:16 PM | |
Posts: 23 Rating: (1) |
In the attachment you find the FC5 and FC6 functions. The ID is 1, i think it's the same as the ID in the netpro configuration. AttachmentDoc1.zip (248 Downloads) |
4/5/2011 8:52 AM | |
Posts: 316 Rating: (37) |
Hi Frederik84, it's right, the ID is 1. Your Laddr is w#16#0100. This information you can find easily in NetPro --> block parameters
Please check the laddr parameter, I think there is the fault. |
4/5/2011 9:10 AM | |
Posts: 23 Rating: (1) |
What do you meen? The block parameter in netpro is W#16#0100 (LADDR). So in my program, this is the same parameter for FC5 and FC6. |
4/5/2011 9:51 AM | |
Posts: 23 Rating: (1) |
Do you mayby have e email adress so i can send you the program? |
5/13/2011 10:19 AM | |
Posts: 487 Rating: (36) |
Hi Frederik Maybe I can help ..if you still have the problem On PLC side we use FC5 FC6 or FC50 FC60 ,we use a UDP connection On the Delphi side we use the UDP Indy components and this works very well One problem is using UDP where you get no confirmation of succecfull send , We did a loop back to check if the data arrived. Another problem is with the indy components , they are not compatible between versions, upgrading Delphi from say D7 to D2010 or to Delphi XE will mean that you have to remove the existing indy and re-install the new components Greetings Eric EDIT1 I just noticed that you are sending more than 240 byte ... See if you can reduce this to 240 AttachmentDelphi_S7.zip (281 Downloads) |
Last edited by: aikona at: 5/13/2011 10:23 AM |
|
Follow us on