Kane Posted August 28, 2012 Report Share Posted August 28, 2012 I am currently working a program that is similar to a counter. It takes the photo eye pulses sends the TCP packet to a server. The server then interprets the message depending on which line the pulse is from the message will be different. Then updates a database. I am currently testing this program between two V130s. The socket connects it sends the information. It gets a successful bit back from the tcp layer. The problem I have is that the FB Scan just gives me a -1 in the index of message. From what the help says is an invalid format or message to be received. Review PLC master TCP/IP 192.168.10.130 port 5000 makes the connection to PLC slave TCP/IP 192.168.10.131 port 5000 Sends all the messages RX on slave socket accumulate correct number of sent messages FB scan function on slave gives me -1 on index of messages. Also to make the connect tcp work I must give it a true to false transition for it to connect is this correct. It works flawlessly as is but not sure why itd be set up that way? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now