Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,835
  • Joined

  • Last visited

  • Days Won

    304

Joe Tauser last won the day on February 26

Joe Tauser had the most liked content!

About Joe Tauser

  • Birthday 02/06/1964

Contact Methods

  • Website URL
    http://www.jtauser.com

Profile Information

  • Gender
    Male
  • Interests
    Antique Radios!

Recent Profile Visitors

30,002 profile views

Joe Tauser's Achievements

UniGuru

UniGuru (4/4)

465

Reputation

1

Community Answers

  1. Yes. I have four versions of Visilogic on my computer at any given time. You just need to keep track of which version is in which PLC. Joe T.
  2. I was contacted about how to connect the HSO outputs on a V130 to control a not-to-be-named brand of servo. If you're controlling a servo / stepper with the HSO outputs you're going to be giving it pulses and direction, so it's effectively a stepper. A servo controller has the added bonus of position feedback, but that's not important for this discussion. I tried to quickly find a post on the forum that covered properly connecting an HSO to the pulse input and I had a hard time finding what I really wanted with the forum search function. I decided it was a topic worth posting and pinning. Here's a pretty typical input to a servo / stepper control: The people who put these diagrams together assume you will be pushing the controller with a 5V line driver, which is why it's shown like this. The connection shown above tells us nothing about how to connect this to a PLC system. If you try to drive the PULS and SIGN input with 24V PLC signals you will blow this thing up. When you're connecting components together from different manufacturers, you have to have an understanding of basic electricity. There's no way around it. Ohm's Law combined with Kirkoff's Voltage Law (sum of voltage drops = 0) always wins. Let's dive in with some basic facts about optocouplers. This is the optocoupler part: It works by passing current through the LED which makes the LED light up. That turns on the transistor, which is made so that it's optically sensitive. Notice I said CURRENT. LEDs will start working after some forward bias voltage is applied and then get brighter as more current is supplied. The voltage drop will remain about the same, and eventually if you apply too much current the LED will burn out, just like a light bulb. A typical absolute maximum input current for an optocoupler is 50 mA. I always use a voltage drop of 1.2V and a supply current of 10 - 20 mA for optocouplers. Now let's look at the above circuit designed to run on a 5V pulse input with it's internal 150 ohm resistor and apply math: As you can see, the current going through the optocoupler i is 25 mA. Well within the specification. Moving on, the Unitronics HSO output is an open collector N-type Mosfet. "Open Collector" is manufacturer-speak for "we didn't connect one side of the device. That's up to you." They do this to get the speed needed to call it a High Speed Output. That's another discussion. Just think of an NPN / Open Collector / Sinking Output as a relay contact to 0V. You've got to provide the high side. Here's how the servo / stepper gets connected to the HSO Output: I've re-done the voltage equation to include the extra parts. For bonus points you can see if you can come up with the equations yourself. In addition to connecting the parts together correctly, an extremely important component in the circuit is the pull-up resistor. Let's say you're trying to hook this up and your boss and/or customer is riding your butt and you don't have a resistor. So you just connect your +24V to the (+) on the servo and connect the rest as shown. Let's do the math: i = (24 - 1.4) / (0 + 150) = 150 mA You will blow up the servo, the PLC, or both probably after about 10 pulses. Less if your output gets stuck on. If you've read my other posts on connecting stuff to open collector outputs you may remember that my go-to resistor I carry with me is a 2.2K (1/2W). Let's put a 2.2K resistor in for Rp: i = (24 -1.4) / (2200 + 150) = 9.6 mA Right in range. Yay! For the answers to these and other impossible questions remember that Google is your friend. Joe T.
  3. The project I'm working on now requires display of a LOT of REAL tags. They're typically 5 or 6 significant digits. For example, this is from my Scale display. We're talking to scales which will have a maximum of 5000 kg, and we want two decimal points. This is how it looks: I've sized the numeric boxes so they don't look ridiculously large with the displayed data, but the UniStream compiler chokes on this and I get all kinds of "warnings". It would be really nice if we could specify the number of digits on both sides of the decimal point like we can with INTs. Joe T.
  4. Make sure you're setting the panel IP address, not the CPU IP address. The PC communicates with the panel. You can check the addresses on the PLC itself using UniApps. Joe T.
  5. @Ravi - I generally don't write programs from scratch for people on the forum. My philosophy has always been you learn by doing. That said, I will generally help a user who's made an honest stab at making a program work by editing it for them. If you upload the program you're working on I and others on the forum will be happy to download it and have a look at your work. Make sure you tell us which version of Visilogic you're using. Joe T.
  6. Since the Great Hacking of 2023, Unitronics has decided that No or Default passwords are no longer permissible in their software. So anything released from here on out will require a password and to change any default passwords. Joe T.
  7. It could also be caused by transients from the contactor coils working their way into the I/O module backplane. Do you have RC snubbers across the coils? Joe T.
  8. @Cara Bereck Levy - can you allocate ORSO2001 some more space? Joe T.
  9. You can't add to the number of timers available but you can change the way you count time. What is the model of the PLC you have? Depending on the application, I often roll my own timers by incrementing an MI with a time pulse and using compare and reset numeric blocks on them. It takes up more program space, but you get a lot more control over what you do with the "timer" value. Joe T.
  10. Your picture shows a cable that should work, but I don't know for sure. You don't need to know the IP address for serial communication. Have a look at this topic. It shows the official Unitronics parts and what to do to set up serial communication. https://support.unitronics.com/index.php?/selfhelp/view-article/communicating-using-rs232-cable-using-visilogic-software Joe T.
  11. Take a close look at that port. The V350 has an RJ45 port on it labelled "Expansion Port". It's not an Ethernet port. The Ethernet port is an optional expansion port which will be on the side. The serial port is the RJ12 port on the side and it is an RS232 port. The RS232-CB1 physically converts the RJ12 to a DB9 connector. Joe T.
  12. I'm assuming you somehow know the PLC is still running. You can access the screen through the serial port using the Unitronics Utility Remote Operator. If you have an Ethernet port on the PLC and you know the IP address you can access it that way as well. You will need a serial cable - part number RS232-CB1. If your computer doesn't have a serial port you will also need a USB to serial converter part number MJ10-22-CS35. The V350 does not have an onboard USB port. You can't upload the project from the PLC unless upload was enabled by the original programmer. Usually it isn't. You will need the the original .vlp file to download to a new PLC. Joe T.
  13. You are correct about the ridiculously slow frequency on regular PNP transistor outputs. I discovered this the hard way on a stepper motor application many years ago. Here's a post covering the difference between PNP and NPN - You need a Vision model with real high speed NPN outputs to do what you're trying to do. There will be a "TR" in the part number if it has this. That capability is one of the things Unitronics removed from the Samba series to make it lower cost. The Vision version of the Samba you chose is a V350-J-TR20. This model has the high speed outputs. Joe T.
  14. It should have put a link on your Desktop to the old version. Otherwise, create your own shortcut to the old version directory to the Unitronics.Shell.UI.exe program. Joe T.
  15. Step 1 - clarify the exact protocol. Is it "Ethernet/IP" (Allen Bradley) or Modbus TCP? The SM70 can do Modbus TCP. It does not support Ethernet/IP - for that you'll need a protocol converter or upgrade to a UniStream. Joe T.
×
×
  • Create New...