Jump to content

a99900s

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by a99900s

  1. Hi, I am wondering how to set up a TCP/IP communication with another PLC that isnt a unitronics PLC(Omron PLC) I am using a V700 with an v200-18-e3/4xb. I have not managed to establish a communitcation to the Visilogic part, But the omron part is working just fine and i can communicate to it with my PC, but when i try the same to my Unitronics PLC i get no connection. Hoping someone can assist me here, I have uploaded my project to this thread. 

    TCP_IP.vlp

  2. 17 hours ago, Flex727 said:

    Did you try placing a positive transition contact of SB 7 in front of one and a negative transition contact of SB 7 in front of the other?

    That should work in your case, but the proper way to do this type of communication is to set a bit periodically and place the following in series:

    Direct contact of the set bit,  inverted contact of the function in progress bit, the comm FB, then a reset of the first bit. That allows the function to "wait" while any other communication is in progress.

    I will try that, but now i have another problem. My slave PLC has status 2(Reply error) and i havent found out a way to fix it yet. Thanks! Aditionally it keeps connecting and reconnecting. And sometimes it displays status 7 wich i found out to be a data sync error. 

  3. On 3/4/2020 at 7:35 PM, Flex727 said:

    Yes, but two things:

    1) Don't use SB 7, use SB 15. SB 7 is a square wave - you want a positive transition.

    2) Place an inverted contact of MB 0 (Function in Progress) between SB 15 and the MODBUS read FB.

    I tried, and it worked! But now my force coils are not working anymore, ive tried rearranging them in my program. But either the RHR FB works or the Force coil FB works. They dont seem to work together. Ive also tried adding subroutines but it still doesnt work. Hopefully you can help me.

  4. 4 hours ago, kratmel said:

    Is it RX-TX cable connected properly?

    In Example you can see 570 modbus  loopback test project with modbus setup for one V570 with two rs232 port connected TX-RX, RX-TX.

    Use this example for test connection with two device. Both of them can be master or slave on different com port.

    Hi, I have a connection to the slave PLC as the other parts of my program do work. My main problem is that i cant find a way to read the Save's MI. Ive tried using the FB's but i cant seem to make it work. 

    Thanks for the respnse!

×
×
  • Create New...