Milosh Posted April 30, 2020 Author Report Share Posted April 30, 2020 Hi all. I have one more question about Modbus TCP Slave. First, Thanks a lot to all for previous comments and help. I made communication as you suggest and it works very well. Now, how to know that MODBUS TCP lave communication is active. Data transfer works. To check some counter from client device or Unitronics MODBUS IP block have it? When I debugging output bit Function In Progres is always 0, but my communication works good... Quote Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted April 30, 2020 MVP 2023 Report Share Posted April 30, 2020 50 minutes ago, Milosh said: When I debugging output bit Function In Progres is always 0, but my communication works good... In all likelihood the bit goes from 0 to 1 and back to 0 too fast for you to see. The Function in Progress bit is how you check to see if communication is active. Quote Link to comment Share on other sites More sharing options...
Milosh Posted May 1, 2020 Author Report Share Posted May 1, 2020 20 hours ago, Flex727 said: In all likelihood the bit goes from 0 to 1 and back to 0 too fast for you to see. The Function in Progress bit is how you check to see if communication is active. I tried to count FiP bit on rising edge, but value of counter is also 0. I will try with FiP and some timer to check communication. Quote Link to comment Share on other sites More sharing options...
Milosh Posted July 16, 2020 Author Report Share Posted July 16, 2020 Ethernet issues on site... I downloaded my programm via serial cable. Ethernet card initialized...Sockets stay as default. Socket 2 for modbus tcp communication port 502, and Socket 1 for PC access port 20256. But when I try to ping ip address that not works?! Also when try Communication & OS set ip address of plc, port and name, but it is always shows error message. In Info Mode for Socket 1 stay: Initialized and not connected, status 20. 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.