Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,860
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. Running a VFD from the PLC should not be this hard. I reading that you are unsure of your electrical signal. It's time to back up and verify what you're doing. A meter will be required. First, I personally don't like to control drives with 4/20 because it's hard to verify what's going on without breaking the circuit. The drive is often in the same panel as the PLC, so 0-10V is much easier. Most drives come configured that way from the factory. Change your PLC program and hardware to a 0-10V signal and then put your meter on it while you change the value in the PLC. A value of 0 to 4095 should give you the expected 0 to 10 volts out of the analog module. This should give you some direction as to where the problem is. Joe T.
  2. You can make the V120 do whatever you want as far as display control. Most people are using version 9.8.65 of Visilogic. Download it here - https://unitronicsplc.com/Download/SoftwareVersions/Visilogic/VisiLogic_9_8_65.exe The valve command probably won't change when you download the program - memory values are not downloaded automatically. If you download a radically different version of the program it may cause a PLC reset which will cause your valve output to change. If you want to attach your program and ask specific questions we would be happy to help. Joe T.
  3. I moved this to the proper forum. An EDS file is used for CANOpen communications. Look at the Help on this and let us know more specifically what you need. I tried opening the UniversalRobot.eds file with the UniEDS tool and there's nothing in it. Joe T.
  4. You can't modify the X & Y values of an object like a indicator or button but you can have a list of images by pointer. What exactly are you trying to do? Joe T.
  5. Absolutely. You set up duplicate configurations for the two ports. Post your code if you have any problems. Joe T.
  6. You haven't done anything wrong. I fired up UniLogic and played with arrays myself - you've just discovered out the undocumented maximum array size. There is 1M of total memory of which 256K can be retained. Joe T.
  7. This is basic circuit troubleshooting. I swear nobody knows how to do this anymore. Here are the specifications for your PLC- https://myzone-kza3sadj.netdna-ssl.com/wp-content/uploads/2015/12/SMXX-J-RA22-SPEC-2-16.pdf Look on page 2 under "Analog Inputs" - the input impedance is 37 ohms. When you set the jumpers for current inputs you are adding a shunt resistor across the voltage input to convert current to voltage. Put your calibrator into source mode and drive the input directly. A typical loop impedance is 250 ohms. Unitronics is much lower than this, so you shouldn't have a problem. If you can't get above 3.5 mA then what you're connected to has too large of an impedance. Power down the PLC and put an ohmmeter between AN 2 and 0V. You should see about 37 ohms. You may have blown something up playing with it. Configure AN 3 as a current input and measure that with your meter. Joe T.
  8. When you're asking questions about setting up hardware, you need to be very specific about which jumpers you moved so we know that you know how to read the manual. When you use this kind of verbiage in a post you're projecting that you have complete confidence in your hardware configuration. Yet a new PLC out of the box isn't working, so something must be wrong. So with that said, do you have both JP8 and JP9 in position B? Also - you have to configure the hardware in your program. Post your code so we can see you've done that correctly. Joe T.
  9. You can perform a Fourier Transform on any set of data. The question is what are you looking for? You've given us nothing to go on. PLC analog inputs are not high speed devices so your sample rate is going to be limited. The absolute fastest analog update time you can get on a Samba is 30 ms (33 Hz). So the highest frequency you can see is 16 Hz according to the Nyquist theorem. A Samba doesn't exactly have a lot memory and ladder is a horribly inefficient language for doing heavy number crunching. Given those two conditions I would seriously discourage you from trying to use a PLC to achieve FFT results and point you at a high-speed National Instruments data acquisition board and a copy of LabView. Joe T.
  10. Interesting - that is a special OEM controller off an air compressor- https://meiinternational.com/collections/compressor-air-dryer-controllers/unitronics I'm guessing you bought this on eBay or Amazon and can't go back to your supplier for any assistance. You may locked out of uploading, as this is an OEM product. Tell us what driver files the system has assigned to your Gold X USB converter. Hopefully it has the Prolific PL2302 chipset - the FTDI chipset doesn't seem to work too well. @Flex727- the crossover flat cable is needed only if you're using a MJ10-25-cable adapter. If he wired the cable directly then the above connection diagram is correct. Quite frankly the best solution would be to get the Unitronics-approved USB adapter and programming cable. They're not expensive- MJ10-22-CS35 USB adapter RS232-CB1 programming cable What country are you in? Joe T.
  11. SCPI commands are just another kind of serial protocol, so the commands themselves aren't a problem. The question is whether or not the USB to GPIB converter will work as a stand-alone gateway or if a driver is needed. Joe T. Edit - They 34970A has an RS-232 port. I would lean toward getting an RS232 module for the UniStream and communicate to the instrument that way.
  12. Empirical data is the best data. The spec sheet says the module will go to 32 kHz, so I would hook one up and put a scope on it to verify this. You can also send an email to support@unitronics.com to get clarification. Joe T.
  13. Can you upload your program with what you've done so far? Then we can have a look. Joe T.
  14. We actually cut a thick (high-power) USB-A extender cable in half to give us a USB "socket" and then pigtail out the cable and connect the wires to a real DIN rail 5V power supply. Joe T.
  15. Nice request. You've put everything in the post we need to know about your problem. Thoughts that come to mind- 1. You are rolling your own Modbus TCP code and using the V130 as a standard. You've stated that it is mostly successful, which is good. If two things talking don't work the way you think they should, test one or the other. I would recommend installing a Modbus slave program on a PC and testing your code on that- Here's one I found with a quick search- https://www.modbustools.com/modbus_slave.html Then you can determine which is wonky - the PLC or your code. I have a bought-and-paid-for Modbus simulator that has proven invaluable over the years when I'm banging my head on why the PLC won't work in ModbusLand. It's usually because of some misunderstanding on my part of the PLCs Modbus idiosyncrasies. 2. The question of a V130 not doing Modbus right bothered me and I happen to have a V130 with an Ethernet card handy so I put a little slave program in and fired up my simulator. I set it up to write 16 "1"s to MB's 1200..1215. My simulator is 1-based so I start at address 1201- There are 16 "1"s in the value field separated by commas. It wrote the data properly to the PLC. So here's the command string - Very similar to yours, except what's that crazy "02" in front of the "FF FF" data? (The first part of the line is a time stamp, and this program doesn't show TCP packet data in the monitor). In your post, you mention a "dummy byte" in this position as part of the "hack". That's no dummy byte. You list several documents above, and you've demonstrated that you understand Modbus TCP is it really an old-school Modbus frame encapsulated in a TCP packet. There's one more document you need to consult, which is the original Modbus definition from Modicon- http://modbus.org/docs/PI_MBUS_300.pdf For your specific case, jump to the example on page 45- As you can see, your "dummy byte" is a required part of this command for Byte Count. It's mentioned in the 6.11 definition image in your post but it is not included in your "Simple Test" table. Hopefully this helps. Joe T. V130.vlp
  16. The examples can be found here- https://unitronicsplc.com/Download/Support/UniLogic/UniLogic_Example_Projects.zip Let us know if you have any trouble. Joe T.
  17. Generally the first two inputs on the main control can be configured for a quadrature encoder. But you haven't given us any information on your system - do you have which PLC you'll use specified yet? What is the make and model of your shaft resolver? Joe T.
  18. This is most likely the source of the problem. The screen you are seeing is what happens when an inductive pulse finds it's way back into the I/O module and kicks the PLC's watchdog timer out. As kratmel suggests, install reverse-biased diodes across where the solenoids are connected to the I/O module. It's probably happening when you release two or more solenoids at the same time. Look at this post- http://forum.unitronics.com/topic/2735-flyback-diode/ And here's an explanation with pictures- https://en.wikipedia.org/wiki/Flyback_diode Joe T.
  19. I poked at the Modbus TCP slave configuration and arrived at the same conclusion. If you click on a field and the little pencil icon appears then it can accept a tag. Otherwise it needs a hard-coded value. Yes, it would be nice if you could indirectly specify the ID. Post this request in the "We're Listening" (sometimes) section of the forum or send it directly to support@unitronics.com. Joe T.
  20. You can't power the panel without the CPU, as you've seen. I'm guessing from the picture that the screen is blank when powered up. Have you tried connecting to the unit with UniLogic? Who did you buy this from? I'd go back to them. Joe T.
  21. Not really. All the function blocks in the Vision were written by the Creators from the ground up to run on a microprocessor. Look at the barely-functional-in-today's-world Email block in the Vision. When it was created in 2005, SSL did not exist and it worked great. Along came SSL with a whole new set of rules and now their festive little block doesn't work anymore. Only four sockets. A joke of a webserver. Remote Access with a custom program via one of the sockets on a port that no IT department will let you open because it's in the wild. The UniStream platform actually has two CPUs - the panel is a Linux box and the "CPU" is another processor that runs a PLC logic solver as a thread on the panel. So all the functions that PCs do as mentioned above have been offloaded to an operating system that is supported by a much larger community that can keep up with the networking and security changes and requirements. All the other players are doing a similar thing on their HMI products - I know for a fact that AB PanelView Plus and Siemens Win CC run as a task on Win CE. I don't know what OS Weintek / Maple Systems uses but it is similar - an HMI program on a dedicated CPU. So the Vision series will continue to be a logic solver with a screen. Which is fine. Joe T.
  22. You are correct, sir. I have asked literally half a dozen times if the OS of the Vision could be pared to make room for new functionality. It's not going to happen. What I've noticed on the UniStream side of the forum is a large percentage of the questions have to do with non-PLC topics such as networking, serial communication, databases, remote control, and so on. The shift is for everything to be some kind of Internet appliance, and the Vision really isn't capable of that. If the masses are screaming for cake, they're not going to buy potatoes. Follow the money. Joe T.
  23. I'm guessing you want to show total run time. I'm not sure what this means. Anyway, program a minute pulse and then count the minutes while the pump is running in an ML. You can then divide it down for display in hours or whatever else you want. Try programming this and post your code. Joe T.
  24. I've not tried to use the email block with empty addresses. One of my sayings is "Empirical Data is the Best Data". I would say you've run across one of the Truths of the Email Block. If it doesn't work with empty addresses, then don't do that. This post is seven years old and Stein never posted the solution. For a definitive answer, send your request and program to support@unitronics.com. Then please report back to us with the answer on this thread. Joe T.
×
×
  • Create New...