tim.snelling Posted February 14, 2022 Report Share Posted February 14, 2022 Hi, I need to have several UniStream PLC's (Modbus Master TCP), that connect to a Modbus TCP Slave. The Slave provides Ambient Temperature, so reading the Holding Register from the Modbus TCP slave every 30 minutes or so, is adequate. In UniLogic ladder logic, I set the Active Periodic bit "On" with a 30 minute timer, then it reads the holding register. After a successful update, I then turn "Off" the Active Periodic bit, but the PLC's socket connection does not close, and the Status of my Modbus Master remains at "1 = Good, No Errors" for the entire time in-between the 30 minute read from the Modbus Slave. Can someone tell me how to close the Modbus TCP socket connection on port 502, using the UniLogic ladder logic. Thanks, Tim S. Quote Link to comment Share on other sites More sharing options...
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.