Jump to content

Joe Tauser

MVP 2023
  • Posts

    2,867
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by Joe Tauser

  1. Nildo- So it looks like A70 is some kind of scaling module configured by which input pins are tied to +24V. Thanks for the clarification on K1. You have to tell your doctor these things. I'll check my email tomorrow, but for purposes of the forum which I/O module are you using? To get a HSC on a V1210 you'll need a snap IO module (one of the V200s). Joe T.
  2. https://www.linkinstruments.com/oscilloscope.html These guys are in New Jersey and have been good to work with. They actually design these things. I blew mine up once by connecting the probe ground lead to what I thought was a grounded heat sink (actual voltage - 60V). The thing I didn't realize was the ground on the probe is not isolated from the ground on the USB plug, which is grounded through the computer when you have your battery charger plugged in. I blew up that USB port, too. Anyway, I called them and they had me send it in for repair - the bill was $75. I have the older brother of the MSO-9201. Not cheap, but I love my tools and I've spent more money on more useless stuff (like Allen Bradley Tech Connect contracts). It does spectrum analysis, too, which is really good for looking at drive harmonics and then showing the customer how they match up to noise on DC PLC inputs because they were either stupid or too cheap and ran their motor wires in the same conduit as their signal wires. Invest in a 100:1 probe if you want to go there. The maximum input of the included 10:1 probes is 500V peak. I can tell you that my street cred with the customer increases by an order of magnitude when I get this thing out and show detailed pictures of their signals. Once again - the inductive flyback pulse is the most dramatic. I've seen it induce spikes across traces on a V200-19-E1B and cause a PLC's watchdog timer to kick out. Joe T.
  3. Label your diagram better. Where are the liquid and gross counter pulses coming from? Joe T.
  4. That solution brings to mind a story - years ago I had a bottle counting problem with a polarized retro-reflective photoeye and the customer swore there was something wrong with my program. I bought one of those little USB oscilloscopes (wanted one anyway; just needed an excuse) and it pointed out that the neck of the bottle was occasionally causing a tiny double pulse. In that case we had to re-position the eye, but the problem was uncovered. I still keep it in my car and get it out to help solve mystery input problems caused by drive noise or inductive flyback pulses coming off contactors. It is a great troubleshooting tool. Joe T.
  5. Use a positive transition contact tied to the bit assigned to the button in your logic. Joe T.
  6. I think we missed your window. I've been busy and the Unitronics office is getting a new computer system, which is why they haven't been answering posts. You'll need to set up one of the serial ports and make a cable to talk to this meter. Configure another Modbus port as an RTU master. I looked at the documentation. They did the usual silliness and imply that the user somehow has to generate his own hex codes to implement Modbus. No, you do not have to do this. Page 10 shows the Modbus Register Address Table (in hex- convert these to decimal). Note that these are Long registers - I'm a little rusty on getting these into Unitronics but it can be done. I think you set ML's as the register type in the Read Holding Registers block. Hook it up and start beating on it. Joe T.
  7. I haven't played with OPC, but I have downloaded the free Modbus driver from NI's website and interfaced LabView with Unitronics that way. It does both Modbus RTU and Modbus TCP. Joe T.
  8. Thank you for posting your code. I hate when people ask specific questions and don't post what they've tried! I don't know if it matters, but the documentation on the module shows two different common terminals. Do you have your 0V connected to the right one? Your Password button did not have a Legal Entry bit assigned. This gets turned on when the password matches and is used to trigger another screen. It also has the annoying habit of staying on, so it must be reset from code. Some comments on your code- 1. Only put one logical operation per net. The compiler can produce unpredictable results if it has to start a rung more than once. 2. Don't rename the ! Start-Up Display. 3. I added MB 12 for Password OK. Look at the Links and Jumps tab - it goes immediately to Main. I wouldn't make the user wait for a screen jump - it makes them think the system is ignoring them or is slow and stupid. 4. Use one of the Simple keypads for numeric entry. The Complex is overkill, but unfortunately is the default. 5. Don't continually call a display. It will sit there and blink at you and not allow input. Joe T. FYP Code JT.vlp
  9. You were going in the wrong direction with the resistance value. You have to allow enough current to flow in the internal opto-isolator to light up the tiny LED. Mr. Ohm tells us that a 2.2K resistor gives about 10 mA at 24V. This value of current that I personally use when trying to figure out how to interface with an opto-coupler. The drop across the LED is usually 1.2V and can be ignored if you have a 24V supply. It can not be ignored if you're working at 5V. Joe T.
  10. Are you talking about the MI assigned to frequency in the hardware setup? If you want an average you'll have to write logic to do that. Do you know how? Can you post your code? Joe T.
  11. Aus - That's "literal" genius, not "literary" genius. Don't be confused. My only character flaw is grandiosity. Joe T.
  12. Look at the UniDDE product. You can put macros into a spreadsheet that will write values directly from the spreadsheet to Unitronics. Also look at UniOPC, which has more power but you have to set it up as an OPC server on the user's computer. You'll have to then interface that via OLE to Excel. Joe T.
  13. Do you want to push a Modbus message or random TCP message of your own creation? Is the V570 a Modbus Master or Slave? It can be both. If you want to make your own TCP packets, look at the TCP RAW Send block. Not for the faint of heart, but you can push. Joe T.
  14. Verify that power is connected to both sides of the module. V2 is important. Maybe take a picture of your module wiring and post it. Joe T.
  15. Looks like all you have to do is spit ASCII strings at it- http://www.codeproject.com/Articles/12528/An-Easy-way-to-interface-with-semiconductor-SECS-G It appears the SECS-I protocol defines the RS232 interface. Joe T.
  16. What value are you seeing in the MI register? Can you post your code? Joe T.
  17. You don't need to Autotune if you don't want to. Just set the P,I, and D values. It is critical that all the other parameters of the block be set or it won't work. Can you post your code? Joe T.
  18. The post title said you're using a V280 - these don't support SD cards. Read the Help on Data Tables. I think this will do what you need. Joe T.
  19. I'm guessing you're using the device as a Modbus slave. The user baud rate is set in the COM INIT block. If you try to connect with Visilogic at 115,200 it will still work at the lower baud. If you're worried about it, you can retrigger the COM INIT back at the lower baud rate it will drop back down for sure. You can even have multiple COM INITs, the last one to be triggered will win. Joe T.
  20. Totally possible. Start by looking at Help->Examples .. Project Examples->FB Protocol. You'll read barcodes as strings via the RS232 port and extract the data you want using the String functions. Beat on it a bit and post your code for more specific help from the forum. Joe T.
×
×
  • Create New...