Closed TheColonel2688 closed 3 years ago
@TheColonel2688,
All of the sending/receiving is done in the "main" function block (FB) called Device
under CoDeSys_EIP/Function Blocks/Device
, and we're communicating via TCP FBs. Anyway, high level goes like this...
udiTcpClientRetry
In Device
, the read and write FBs are called _TcpRead
and _TcpWrite
, respectively. To stitch this together, you will need to look at both the included literature (Examples/Rockwell/Literature/
) and the structs (I referenced page number from literature) [CoDeSys_EIP/Structs/
]. I hope this somewhat helps to get you started, but feel free to shoot me an email at my username at gmail, and we can do a deep dive session if this is still clear as mud.
@TheColonel2688,
I take the silence as your inquiry has been answered. Closing; reopen if needed. If you're in the States, Happy Thanksgiving!
Sorry, I actually haven't gotten back to this I got pull in another direct at the moment.
Thank you for your response though. I'll let you know if I have more questions :)
So I am trying to understand how to do some basic Tag Read writes myself.
I'll probably end up using your library but I want to understand it first.
I downloaded the library soruce code project, but I can't find where you are actually sending the raw data to the remote device/adapter, or reciving it back. I see no function calls for that.
maybe I am not looking in the right place.
Futher we are activly discussing this on PLCTalk.com and dmroeder the PyLogix author is involved but I don't think he can help much on the codesys side.
http://www.plctalk.net/qanda/showthread.php?t=127087
Any information you can give would be greatly appreciated.