Jump to content

Flex727

MVP 2023
  • Posts

    3,235
  • Joined

  • Last visited

  • Days Won

    234

Everything posted by Flex727

  1. I have to dash off or I would look at this in detail. For now, I'll say review the example projects that came with your VisiLogic installation and follow the programming form laid out there. No. This is common. Unitronics starts their addressing at zero, many other devices choose to start at one.
  2. Did you try version 1.33.236? It may work.
  3. Contact support. They should be able to supply it for you.
  4. One other item of note, you appear to have multiple identical Direct Coils in your program. This is a no-no. I don't think this is the cause of your problem because "last rung wins" and the fact that it's being turned off in rung 1 should not keep it from being turned back on in rung 2.
  5. It looks like you're on the right track in your last paragraph. What were the compile errors? I see Joe Tauser replied while I was typing. Always follow Joe's advice.
  6. Okay, I loaded your program up in a V700 on my test bench. This program is quite a mess. In the parametre subroutine, you are calling HMI screens with direct contacts. Always use transition contacts for HMI calls. In the mail subroutine, you are continuously closing Socket 0. Do not do that. I disabled both of those subroutines and was able to connect to the PLC with Ethernet immediately.
  7. Try using Socket 1 for your comms since Socket 1 already defaults to Port 20256. As it is you have two different sockets assigned to TCP Slave Port 20256 which can give unpredictable results.
  8. Post your program here if you'd like additional help. Also, what VisiLogic version are you using?
  9. That all looks good. How about the Socket Initialization? Are you using a crossover cable between the PC & PLC? Have you tried a different cable?
  10. Are you on a network, or connected directly using a crossover cable? I ask because 192.168.1.1 is typically the router address in a private network. Try using a different IP address for the PLC. But 20 is what you have your PC set to. Please recognize that all IP addresses on a network must be unique. I didn't think this was allowed. Try entering something here. Also, be sure your PC isn't set to "Obtain an IP address automatically". If you post your program here we can be of more help. And, finally, try using a different cable. Ethernet cables go bad regularly in my experience.
  11. Can you describe your problem a little more clearly besides "I can't shift anything"? What exactly does it do when you press F1? Further, if you only want a single bit shifted, you might consider changing the Direct Contact of F1 to a Positive Transition Contact. At the bottom of your VisiLogic screen you have the ability to inspect your integer operands in binary. Watch that window when you're performing the shift operation (when online with the PLC, of course).
  12. Perhaps I was too hasty in moving to the U90 forum. A V230 PLC is programmed with VisiLogic, not U90.
  13. Without the upload option enabled when the project was last downloaded you will be unable to obtain a copy of the project in this way. Most PLC software is set up this way to protect intellectual property.
  14. Other than this message, I don't see any unapproved content.
  15. As you found, this will not work. When using MODBUS (typical for SCADA systems), the port must be configured to talk MODBUS. Since you were using that port to talk to Remote Operator, it was incapable of talking to the SCADA using MODBUS. All of this is easy to fix, but you must have access to the program and the bit of knowledge required.
  16. You have 4 sockets available to connect multiple devices to your V570. On those 4 sockets you can mix and match a mix of any available protocol or combination of master & slave. I've connected multiple SCADA devices to V570s many times, though I usually use ports 502 & 503, that is totally up to your discretion. Be sure you initialize the sockets to the correct protocol and port numbers, and if you are using MODBUS, be sure you have a separate MODBUS configuration block for each. If you also want to use Remote Operator, you will need to assign a separate socket and port number as it won't work if the socket is configured for MODBUS.
  17. Are you saving the file to a local hard drive or to a networked drive?
  18. Post your program here and we can help. If you can't do that, post a screenshot that shows ladder rungs 2 & 3 of the subroutine "regulator_5_pid-nivaa".
  19. Did you try pressing the yellow button in the upper right, labeled "ESC"? In my projects I disable the INFO Mode screen, but some programmers don't. If an operator leaves their finger on the screen after touching a button or pointing at something, the PLC will go into INFO Mode, as you see there. Pressing ESC will return you to the program.
×
×
  • Create New...