Jump to content

Flex727

MVP 2023
  • Posts

    3,261
  • Joined

  • Last visited

  • Days Won

    236

Everything posted by Flex727

  1. Looks like some strange problem with your video card or driver. Try a reboot of the computer and/or updating the video driver. Which version of Windows are you using? Which version of VisiLogic are you using?
  2. I think you're setting up the linearization function properly (though X1 & X2 should be 819 & 4095, respectively, but that is inconsequential to this problem). If you can see the actual analog raw value changing appropriately and you have the linearization function set up properly, then the problem must be that the linearization function is not being called for some reason. Make sure the program is downloaded to the PLC and make sure the function is not in a subroutine that's not being called. If you post your program here, someone will try to help troubleshoot your code.
  3. Ah, sorry, didn't realize you were using the remote I/O. I guess that's a bit different.To troubleshoot that it would be best to go online and look at the raw value without using the linearization function - no reason to try to troubleshoot two things at once. If the raw value isn't changing, then you need to look at your hardware connections.
  4. Go to the Help file. Search on Analog and select Configuring Analog I/Os.
  5. You don't need to use a linearization function block with UniStream. Just set the min and max values in the analog input definition (0 & 1500).
  6. That looks like a combination calculation in probability math. If so, my hat is off to you - I would never have thought to try that in a PLC. Wait, are you creating a PLC game? I volunteer to be a beta tester!
  7. I don't know the answer to your question, but are you trying to count the grains of sand on Padre Island National Seashore?
  8. Hold your finger on the screen for a full 5 seconds and see if it takes you to info mode.
  9. In VisiLogic, go to Connection/Communication & OS, then on the second tab there is a button for Initialize & Reset. Initialize zeroes out all memory registers. Reset is merely a soft boot - no memory is changed.
  10. Download a blank program, perform Initialize & Reset, then download your program again. If that doesn't solve the problem, try doing a firmware update.
  11. What's your problem with "latching buttons" (and what does "latching buttons" mean)?
  12. I think what you were seeing was Remote Access which is built into VisiLogic. It requires a physical PLC connected to your PC.
  13. You are welcome to give it your best shot and post your program here with specific questions. Someone will try to help.
  14. There is no simulator software for these PLCs. How are you attempting to wire the Omron sensor if you don't have a PLC?
  15. By the way, Unitronics has provided a lot of training that you can access on You Tube. Also, the help file and example projects that were included with your VisiLogic installation should help move your training along greatly.
  16. It looks like this sensor has a digital output that you would connect to one of the PLC digital inputs. You can find an install guide in pdf form on the Unitronics web site, but here is a screen capture of the relevant section:
  17. I wish Unitronics would stop doing this. It's perfectly fine to have the beta version available for experienced Unitronics programmers to experiment with, but it should not be the default version for general programmers to use for production purposes.
  18. Oh, I just noticed that in ladder rung 1 you have SB 1 in front of your Card Initialization FB. That needs to be SB 2. You cannot stay connected if you are initializing your ethernet card on every PLC cycle.
  19. His other post has the program file posted, which is why I left it up. There is no initialization of any socket, so using port 20000 will go to socket 0 which is using UDP protocol. Socket 1 defaults to port 20256 and TCP protocol (and server), which is what should be used for PC-PLC communications. The PC (VisiLogic) should be set to client, as you correctly point out.
  20. Looking at your attached program, you do not initialize a socket. The default for Socket 0 is Port 20000 and UDP protocol. You cannot use UDP protocol for PC-PLC communications. The default for Socket 1 is port 20256 and TCP protocol. Use that. Read the VisiLogic Help file on Ethernet.
×
×
  • Create New...