Jump to content

Joe Tauser

MVP 2017
  • Content Count

    1,967
  • Joined

  • Last visited

  • Days Won

    182

Joe Tauser last won the day on November 27

Joe Tauser had the most liked content!

Community Reputation

284 Excellent

About Joe Tauser

Contact Methods

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

Profile Information

  • Gender
    Male
  • Interests
    Antique Radios!

Recent Profile Visitors

20,210 profile views
  1. This is kind of a mess. None of the wires in the panel are labeled, although it looks like it was constructed well enough. You need a wiring diagram for this thing to answer your questions. You also need to figure out what's on the other end of the device cables and what color is connected to what. Can you get any information from the original manufacturer? Or was that the seller? Did the seller take any pictures before it was disassembled? The V120 has the ability to send and receive text messages, which is what the cellular modem is for. It's not really "internet capable". It may be possible to determine the functionality of the system by uploading the program from the V120 an analyzing it. Joe T.
  2. Update - the newest release of UniLogic offers a "SHAPE Line" data type which is called from the ladder program. These functions are in the new "Drawing" menu at the bottom of the Toolbox. The Help says that these are not yet documented and I don't know how it works yet, but maybe one of the Creators can chime in and give us some direction. @Cara Bereck Levy - anything on this? Joe T.
  3. You're probably going to have to swap the words on anything you read in 32 bit land. Look at this post on how to do that- http://forum.unitronics.com/topic/6241-read-single-precision-arrays-with-modbus-tcpip/ Joe T.
  4. I'm guessing you meant 82. If you're going to get deep into troubleshooting Modbus then you need to browse this document, which is the original Modbus protocol description: http://www.modbus.org/docs/PI_MBUS_300.pdf Starting on page 22 you'll see the function code descriptions. First off, looking at your transmission block, using 1X is just bad form unless the device's modbus table description specifically calls them "inputs". Reading inputs is code 02, reading coils is code 01. Look at this page: https://ipc2u.com/articles/knowledge-base/detailed-description-of-the-modbus-tcp-protocol-with-command-examples/ If you send a Modbus command and the slave chokes on it, it returns the command with the error bit which corresponds to hex "80". So "02" incorrectly sent becomes "82". You also have 3X embedded in your requests, which shouldn't work either. They should be 4X for holding registers. 3X is for input registers, and it's not common to use these anymore. If 1X and 3X work in devices on your Indusoft Modbus configuration then it means the creators of the devices probably put code in to accept either command or they really truly designed the devices to the old Modicon PLC specification, where 1X were discrete input modules and 3X were analog input modules. I'm getting close to going on a rant so I'll just leave it at that. In summary you should really only be using 0X and 4X in your Modbus table. And yes, we have done Web Studio projects. It used to be a really cost-effective platform before Wonderware "Software that's Fun-to-Wear" bought them out and doubled all the license prices. Joe T.
  5. Another way is to stuff a Data Table from the top. You get the added bonus of having multiple columns of data if you want. 1. Define a Data Table with more rows than you'll ever need. 2. When it's time to log, here's the logic: And what's inside the blocks: The Copy Rows function just moves the entire table down by one. This table has 1000 rows, so the oldest data is blown out. The newest data is always written to row 0. This method makes it real easy to store the data, but a limitation of Visilogic is there is no Data Table widget to get it back out. So you have to make more a little more logic to read the columns into registers for display. Your way works, too, and may be better for only keeping track of one value. The Data Table way if better if you need to grab more than one piece of information for each sample. Joe T.
  6. This is exactly what I had to do with Visilogic in an application that had multiple users with a couple of different access levels. As you've figured out, it wasn't the easiest thing in the world. UniStream addresses this with User Access Control that has 16 levels, 16 groups and 128 users. If this is really important to your project you may need to switch platforms. If you haven't already downloaded UniLogic I'd recommend doing so and having a look. Joe T.
  7. What you've shown here is the standard Modbus definition for regular 16 bit integers. This is old school Modbus for Unitronics and the US5 will be fine. What it doesn't say is whether the return data is signed or unsigned. In other words, is the maximum value 32,767 or 65,535. Do you have an idea of the magnitude of the data the slaves will return? Joe T.
  8. In UniLogic a Line is a static element and its properties are not exposed to the programmer. You're going to have to work within the limitations of the software - you can achieve what you want by using a Binary Text Variable with no text in it and setting the Height to a very small value, like 2. You can set the colors in the Text Source collection and you can rotate it to get the orientation you want. Yes, I realize this is a hack. UniLogic is not a PC-based SCADA package like Zenon is. Joe T.
  9. Coils are 0x prefix. 1X are real inputs. Joe T.
  10. If you're getting a value of 5 then the Modbus command is timing out. Post your code so we can have a look. Joe T.
  11. Absolutely. Several of the V130 models have onboard analog inputs and you can add an IO-ATC8 on the expansion port which gives you 8 more 14 bit inputs. With this in mind, you may want to dial back on the V130 you use as the models with analog inputs can be more expensive. Do you have a total I/O definition yet? Joe T.
  12. Shameless self-promotion - we sell products from these guys: http://citel.us/ I took this line on after a customer blew up the com port on a V230 that had a remote Weintek HMI displaying a few variables. The HMI was in a guard shack and a bad lightning storm rolled through. I can only guess the data line became an antenna. They have products for incoming power line surge protection as well as products to put on your data lines. Take a look at the Technical Papers link. Joe T.
  13. A serial Modbus transaction can take up some time. The program builds the frame, sends it to the slave, and waits for the request. You demonstrated this to yourself when 3 operations started erroring out a 1000 ms. The "every period" is how often the PLC will trigger a transaction. If you have several slaves it will indeed send them out simultaneously. Which means it's not going to work very well in a serial configuration, as the responses from the slaves will crash into each other on the COM port. Maybe one of the Creators can chime in here and tell us if the PLC stages the requests under the hood. Otherwise I'd manage the calls to each meter by shifting the "Active" bit for each Modbus operation. Joe T.
  14. You haven't posted enough information. You've either got an O 65 output coil called twice in your program or it's in a subroutine that isn't being called from the Main. If you post your program we can have a better look. Joe T.
×
×
  • Create New...