Jump to content

Joe Tauser

MVP 2017
  • Content Count

    1,971
  • Joined

  • Last visited

  • Days Won

    183

Joe Tauser last won the day on December 9

Joe Tauser had the most liked content!

Community Reputation

285 Excellent

About Joe Tauser

  • Rank
    Moderator
  • Birthday 02/06/1964

Contact Methods

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

Profile Information

  • Gender
    Male
  • Interests
    Antique Radios!

Recent Profile Visitors

20,237 profile views
  1. @Cara Bereck Levy - Add this to the requested feature list? It seems we can import/export so many things from UniLogic and SoCold has a point. Joe T.
  2. Start by checking the backup battery in the PLC. Joe T.
  3. Visilogic has a really basic webserver built in, and there's a 3rd party download project file you can get if you want to roll your own web pages in another editor and transfer them to the SD card. It's pretty complicated. If you want to serve up web pages I would highly recommend going with the UniStream platform. Joe T.
  4. Don't forget that Unitronics starts Modbus addresses at 0, and UniStream only makes available what you define. If your SCADA app asks for data the UniStream is not configured to serve up then it won't work. Post your code or PM it to me so I can see your exact Modbus configuration. Joe T.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
×
×
  • Create New...