Natan Posted September 9, 2021 Report Share Posted September 9, 2021 Hello, I have a Python code which does some algorithmic job, and acts as a TCP server on a PC. The Unitronics PLC I have is the client, and the workflow goes as follows: Request -- UNI -> PC: "Please check this XYZ" Response -- PC -> UNI: "Ok / Fail" Now, in the "normal world" the response from the PC (the server) is bound to the same TCP request from the client (as in HTTP protocol, if you're familiar). Can I do that with PLC as well? Because I don't want to open another socket where the PLC is the server (and the PC will respond to there). I'm afraid it will be out of sync. Any solution? Maybe an example? Cheers, Natan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.