
adccommunitymod (AutomationDirect) asked a question.
Receive a UDP/IP transction
Created Date: July 12,2008
Created By: iarglez
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I'm using the Report by exception to send a message to a PC using UDP/IP protocol and far as we know PC is getting the data. But I'm stuck at getting data back from the PC. PLC ladder has a RX instruction in which its listening from a PC response and I still can't get a thing from it. Some advice to review this?? Thanks!
Created Date: July 22,2008
Created by: GKiser
In your RX you must specifiy 32 plus the number of bytes expected back from the PC. The number of bytes expected back from the PC is totally up to the PC application.
If your PC is not sending any data back then it is not necessary to use the RX. Also, the data coming from the PC would be stored in the "Response data " section of the V-memory block you have specified. In the "Using RX_WX.DOC " file on page 3, in the example given, this area would be V3020-V3177.
Another thing to check/consider, is the use of your SP-Busy and SP-Error bits. Perhaps, you are getting an error?
Hope this helps!
Greg Kiser
Host Engineering, Inc.
support@hosteng.com
Created Date: July 12,2008
Created by: iarglez
I'm using the Report by exception to send a message to a PC using UDP/IP protocol and far as we know PC is getting the data. But I'm stuck at getting data back from the PC. PLC ladder has a RX instruction in which its listening from a PC response and I still can't get a thing from it.
Some advice to review this??
Thanks!