Jump to content

Flex727

MVP 2023
  • Posts

    3,259
  • Joined

  • Last visited

  • Days Won

    236

Everything posted by Flex727

  1. You don't need a special function to manipulate timer presets (or current value). You can copy the timer preset directly to any UINT32 operand by selecting [TimerName].Preset in the Store function - and vice-versa.
  2. You can name the operand whatever you want. In what way are you distinguishing highest value from max value?
  3. Hmm, my experience is that a direct connection requires a crossover cable, but maybe it's a function of the ethernet card on the PC, older hardware, etc. Regardless, follow Joe's advice and remove everything unnecessary, both hardware and software. In software, zero out the System Integers you are playing with and delete the Socket Initialization. You only need the Card Initialization & PLC Name - and double check that you are on the same subnet. Run IPCONFIG/ALL from the CMD window on your PC to make sure. You might try to create a new .vlp file with only the minimum necessities for ethernet comms. If that works, start adding the complexities until it fails. Then you will have your answer.
  4. We need to see inside those function blocks, what protocol you're using, and what is on the other end of the Ethernet connection. Two other (irrelevant) issues with that ladder: you don't need to explicitly "SET" SB 168 with SB 2 when you have assigned SET as the Power-Up value. Also, similar thing with SI 104 - you assign a Power-Up of 50 then also store 100 into it with SB 2. This isn't your problem, but it makes no sense to me. The order of those blocks makes no difference.
  5. All the HMI elements have a "Hide" field. Just assign an MB to the Hide field and turn on the MB when you want to hide the element.
  6. There are example projects that came with your VisiLogic installation and many YouTube videos produced by Unitronics. Browse through that and see if it can get you started.
  7. Have you installed an Ethernet card? If so, just place in the ladder a TCP/IP Initialization block with an IP address that is on the same subnet as your PC and a PLC Name block with a name of your choosing. Select TCP/IP (Call) in the communications section of VisiLogic along with the IP address and PLC name you used in the function blocks. There is plenty of information in the Help file and there are several example projects that came with your VisiLogic installation that should be able to help you. Also, there are YouTube videos produced by Unitronics that will walk you through all of this.
  8. I don't see a good reason for using floating point in your application. Just use integer with implied decimal. You can display an integer on screen with the correct number of decimal places. Just do integer math, keep track of where the decimal goes, multiply or divide by 10 (or 100, etc) as needed, and display it accordingly.
  9. Good for you, @Cara Bereck Levy! Where did you go?
  10. That's why I use this forum. I learn something new every day. Thank you, @Gabriel Franco!
  11. https://aviationhumor.net/the-us-standard-railroad-gauge-is-4-feet-8-5-inches/
  12. Did you try "Resume" from the Chrome download bar at the bottom of the screen?
  13. The application software was lost. Is the battery good? Check the battery and the power supply, then reload the application from VisiLogic or an SD card. To prevent this, do "Download All & Burn" when downloading the application.
  14. The V350 is programmed in the same identical way as all the Unitronics Vision PLCs (model numbers start with V). There are also example programs that come with your VisiLogic installation. Take a look at those. There are also a number of YouTube training videos. Give those a watch. If you have specific questions after making attempts on your own, come back here and ask. You are welcome to post any code you've developed and ask specific questions about it that you may have.
  15. Yes, you should be able to do that with the proper setup of the routers. If the routers can communicate, then the PLCs should be able to also.
  16. As a programmer, I spend a lot of time downloading a program to a PLC that was previously used for something else. There are many, many prompts that I must wade through to get the program downloaded, most with no audible notification. Can we please provide a "Yes To All" prompt at the beginning so that we can initiate a download and walk away for the lengthy download process?
  17. Yes, you should be able to do what you're suggesting. I'm not sure what happens when you try 2 simultaneous connections between 2 PCs and 1 V1040 PLC on different ports, but it should work. Regardless, you can connect all 12 PCs and the 6 V1040s to a large hub, assign different IP addresses to each PLC & PC (all on same subnet), then any PC can connect to any PLC by selecting the PLC in the drop-down box in the VisiLogic communications setting.
  18. In this context, the subnet is the first three triads of the IP address. For example, your PC may have the IP address 192.168.1.7. The subnet is 192.168.1.xxx. The PLC should have the first 3 numbers the same and the last number different from anything on that same subnet. The PLC could be set to 192.168.1.8. A simple internet search should provide the answer to how you determine the LAN IP address of your PC. The easiest way, I think, is to bring up a command prompt and enter the command, IPCONFIG. You want the IPv4 Address.
  19. Yes, go into INFO Mode and obtain (or set) the IP address of the PLC. Also note the PLC Name. Make sure your computer you are trying to connect with is on the same subnet as the PLC IP address, then use a crossover ethernet cable to connect. Do you need to know how to enter the needed details into VisiLogic?
  20. In my 10 years of experience with Unitronics I've had something similar happen exactly once, except that they were all set to zero. Apparently there was a power surge at the plant and that is the likely cause. I call it a fluke and I don't worry about it.
×
×
  • Create New...