Jump to content

Flex727

MVP 2023
  • Posts

    3,263
  • Joined

  • Last visited

  • Days Won

    237

Everything posted by Flex727

  1. Never place the contact for a timer in the same rung as the timer coil. Further, in my opinion it is poor form to hang a coil off the left ladder rail. Here is how I would do it: Why use SB2 to activate the timer coil? No important reason, but it indicates that this action is taken at the beginning of the PLC run and not at any other time. You could use SB 1 or any MB that has its Power Up as Set. Don't try to do too much in a single ladder rung. As a matter of fact it is best form to do as little as possible in a ladder rung. That makes the logic more bullet-proof (you can be more certain that the logic will compile as you are expecting it to) and it makes it easier to understand when you or someone else must edit it at a later date.
  2. I often run into the problem you're having. There are so many different items that must be configured, and they must all be configured exactly right, and it's very easy to get a bit confused as to what's what. Even after hundreds of projects using MODBUS TCP I still have to stop and go through it all very carefully before it works perfectly.
  3. I have not found this to be true in my experience. The Vision PLCs do not care which socket is used as long as they are initialized properly and port numbers are not duplicated (which can easily happen if you only initialize the socket you are using and forget about another socket's default configuration).
  4. You're welcome to post a simplified program here for master & slave that you are unable to get to work properly and I'll load them up on my test bench to see what I find. I have several V570s, V1210s, and V700s that I can set up any way needed. You can also PM me if you prefer and I'll give you my email address.
  5. I am under that same impression. I have programmed Vision PLCs using MODBUS TCP maybe a couple hundred times. I mostly use V570, V1210, & V700 in various combinations. I have never had an issue with MODBUS TCP not working properly in any scenario.
  6. Your understanding of ladder logic needs a lot of work. I recommend reading the Help file, reviewing the project examples that came with your VisiLogic installation, and watching the help videos Unitronics has on YouTube. Here is what kratmel was suggesting:
  7. She posted a link to the file in this thread.
  8. Email Unitronics at support@unitronics.com and they can help you.
  9. There must be a Null character at the end of any string. If you're referring to what you see in VisiLogic ("Value Va"), just ignore that - it's just for visual reference while you're programming and has no effect on what shows up on the actual PLC.
  10. It's not clear to me what you're saying here. Can you clarify or post your program here?
  11. Just to clarify - the expansion adapter must be present, but you do not add it in the HW Configuration in VisiLogic. @kratmelhas provided the appropriate troubleshooting advice.
  12. I frequently use "List of Texts: By Pointer" with associated ladder code to index through the list. It might look like this:
  13. It happens too often that I am online with a customer's PLC using TeamViewer and their screen resolution does not allow me to access the "Lock Elements" and "Zoom" functions on the center toolbar. I cannot find any menu option nor keyboard shortcut to allow me to change those properties if I cannot access them from the toolbar. Anyone know an answer?
  14. @Gabriel Franco, I always just hang my MODBUS IP SCAN_EX FB directly on the left rail. Why do you include SB 2? Are you expecting the first PLC scan to cause a problem?
  15. Does your simulator have the option to be either master or slave? Which type of MODBUS are you using?
  16. Remote Access and Remote Operator work on any Vision product to the best of my knowledge. Certainly at least all the Enhanced Vision products. I use them all the time on 570s, 700s, and 1210s.
  17. Self-resetting timer, as in kratmel's rung #1, is a very useful tool. And kratmel smartly recognizes that the direct contact of TD 1 is the same as a positive transition contact in this case, thus you don't need to waste the limited number of positive transition contacts available.
×
×
  • Create New...