Joe Tauser

MVP 2016
  • Content count

    972
  • Joined

  • Last visited

  • Days Won

    58

Joe Tauser last won the day on February 10

Joe Tauser had the most liked content!

Community Reputation

117 Excellent

1 Follower

About Joe Tauser

  • Rank
    Moderator
  • Birthday 02/06/1964

Contact Methods

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

Profile Information

  • Gender
    Male
  • Location
    St. Louis, MO USA
  • Interests
    Antique Radios!

Recent Profile Visitors

13,282 profile views
  1. Do you have the properties of UniOPC set to "Run as Administrator"? Joe T.
  2. Depending on the endianness that your SCADA system is expecting, you can do a Modbus read of an ML and the combination will be done for you. If you haven't already read the Unitronics Help on "Slave Address Tables" I would suggest you look it over. The ML's can be read but you have to specify an offset. You may have to specify a read length of two words, as the original Modbus spec was written around 16 bit words. How is the variable defined in the SCADA system? Can you give us more specific details of what you are trying to do? Joe T.
  3. Look at these resistance tables- 100 ohm RTD http://www.pyromation.com/Downloads/Data/385_c.pdf You'll note the highest reading is 390 ohms at 850 C 1000 ohm RTD http://www.thermometricscorp.com/PDFs/Platinum-1000-Ohm-385.pdf All the values are increased by a factor of 10. A 100 ohm input will totally barf if you connect a 1000 ohm load to it. Joe T.
  4. Yes, it can be done with the Protocol block. You'll want to get more familiar with the specific strings needed to interface with the Mitutoyo by first using a raw terminal program like Brays terminal to get what you'll need to implement into the PLC program. https://sites.google.com/site/terminalbpp/ Find a computer that still has a serial port, install the terminal program, connect it to the counter, and start sending codes to figure out the response format. Joe T.
  5. Unknown. Modbus registers that start with a 3 are a throwback to when Modicon PLCs were a force to be reckoned with. Analog input modules were known as "Input Registers" and took the form 3xxxx, as you have listed. It was Modbus command 4. I looked through the Help and I don't know how the SCAN_EX block is going to handle this request. With any luck, it will lump it into the Holding Register class (4xxxxx) and everything will be peachy. This is one of those things you're going to just have to try and let us know the results. For now, store the value of MI 3 into MI 29 and fire up your system to test it. Joe T.
  6. You can't do the Data Tables read from a SCADA system. It is a Unitronics PLC to PLC function only. MIs map directly to Modbus addresses, except they are 0 based. To read MI 0 you would instruct your SCADA system to read 40001. If you post the table of Modbus registers you need to read we can translate it for you. You'll have to write logic to get the data in the right place. Joe T.
  7. This problem dates back to when the USB to serial adapters were first introduced. It is not a Unitronics-only problem, it's a Windows thing. I have experienced multiple instances of the same driver trying to access the same COM port when it comes to the USB interface. It is a royal pain in the butt and you have to rip them all out and start with a clean slate. The problem is you can't see them all, even if you check "show non-present devices" in the Device manager. There is an environment variable you have to set to truly "Display All Non-Present Devices". This article describes the process to get all your defined COM ports to light up- https://technet.microsoft.com/en-us/library/ff184583.aspx You probably have a bunch of stuff defined that you didn't even know about. Uninstall all the COM ports. Then plug your PLC in and see what happens. Joe T.
  8. The Snap IO modules are an older design and require a separate bit to "turn on" the high speed output. The IO-DI16 is a newer product and the output will turn on just by calling its address. Is this a new installation? I would totally recommend the V560 if it is - color and much more power for $200 more. Joe T.
  9. There is no crap while the program is still in the development stage - only un-molded clay. Post what you've done and we can help you understand timers better. I wrote the code I did because you want to do mathematical operations with the timer values, and that's not intuitive on time values. Under the hood, the PLC counts in 0.01 second increments. The approach may be to use timers at first so you get used to working the the HMI. Joe T.
  10. Yes. I have a standard policy that my code never works right the first time! Hence the comment "get you started". I assume some intelligence on the other side to take what I've done and run with it. Martin - It sounds like you want a timer like you'd buy at the store for cooking, where you enter the time and it counts down from there. We can't do that in Unitronicsland with a standard timer. Sorry. First, if you look at the timers and counters variable type you can either display the preset or the remaining time. One variable can not display both. You need to understand that the code I posted does not use timers and counters at all, and the point of using SB 13 is that you are making your own timer to get the functionality you want. Do not try to link standard timers and counters to it. Post the .vlp program you've been working on and I can hack it a bit. Joe T.
  11. Use the bit in combination with SB 13 and an Increment block on an ML: I'll leave it as an exercise your you to break the accumulated seconds into hours, minutes, and days. Joe T.
  12. You don't mention how you want to reset the timer. You need to make your own timer to get it to behave the way you want to. Use an MI or ML as an accumulator. The easiest way to get the preset is to use separate MI's on the HMI screen and combine them into a preset value. Then decrement the value with the internal second pulse SB 13. This should get you started: Joe T.
  13. Remember thumbwheels? Joe T.
  14. It would probably be cheaper and easier to get a small HMI talking Modbus and just put the number on the screen. Joe T.