Search the Community
Showing results for tags 'FB'.
Hi everyone! I'm having a problem when I try to make the line I attached works. MB151 is just a simple graphic button (that's not toggle). When I press it, it doesn't fill the vector with zeros, it only load the HMI display. But if I delete the command to load the HMI display, it works properly. What can be wrong? Thanks in advance! PS: I'm using a V350
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?