Jump to content

Joe Tauser

MVP 2017
  • Content Count

    2,320
  • Joined

  • Last visited

  • Days Won

    225

Joe Tauser last won the day on January 15

Joe Tauser had the most liked content!

Community Reputation

346 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

22,356 profile views
  1. If you're getting a -1 in MI 282 then something is happening. The block just doesn't know what to do with the incoming stream. If you're using Ethernet then COM 1 will be dedicated to your SCAN block. DanT describes using Info Mode to look at the serial buffer. Do this. Upload your program so we can see exactly what you're doing. Joe T.
  2. @Saragani- I downloaded the new rev with the fixed comments - 1.31.106. We worked with support on some problems with the email widget in November 2020 and they said this would be addressed. I did not see it in the revision notes - is this on your radar? Joe T.
  3. You've done some excellent troubleshooting. I would have bet money that the instrument would have appended a CR (0D) to its string, but your empirical data proves otherwise. The "}" should work as an ETX, but you've done the work and it isn't. Did you try the "Add Null to End of Stream" checkbox? As a general point, that will trigger the block on any incoming data regardless of length. If that still proves elusive, I'd go with a working solution and turn my attention to getting the string blocks to parse and format the data the way you want it. Joe T.
  4. @Ausman @kratmel - this is why I use screenshots. Serial communication setup can be really confusing and verbose answers go right over their head. Try talking to the device with a terminal program that can display bytes in hex such as Bray's terminal. Hex mode will tell you exactly what the device is doing. In your SCAN block you've set some rather strict rules allowing incoming data. This means the block will ONLY work when the incoming block starts with "{M" and ends with "}". Verbatim. There's probably a carriage return (0D) and/or a line feed (0A) attached to
  5. Put an Ethernet card in the V350 and put Remote Operator on a PC connected to it. Joe T.
  6. First off, if you're receiving 6 digits you'll need to link to an ML, not an MI. Try changing MI 285 to ML 0 in your variable definition block and see if that works. I've had trouble with the scan block doing the numeric receiving and translation in one operation. For testing, try changing your input variable to a straight longer-than-needed Stream type and see if you can grab the control characters as well. They may not be sending all six characters as weight. Here I've set up the block to receive a stream of any kind that hits the COM port up to 10 characters. The incoming data
  7. You're almost there. Double-click on one of the little boxes in the ETX box and this will appear: Select 13 and you'll get your CR: Joe T.
  8. That table was created for some who understands Modbus to the byte level. You don't need to go that deep to use this module. The DI's and DO's are also known as coils and will equate directly to MB addresses. The AI's are called "holding registers" and represent 16 bit signed integers, also known as MI addresses. This table can be totally confusing because they list the same "register address" of 0x00000 for both DI1 and AI1. If you don't know Modbus, you'll be like "What the hell does this mean?" In ModbusSpeak, coils are their own data type and always start with a real
  9. Strings are a more complex subject in PLCs. PLCs were not meant to parse and combine letters. I learned String functions by making some string variables in a test application and trying things out while online to watch their behavior. You may also want to make some buffer variables and move things in and out of them so you can see the data in its raw hex form. This is what I mean by "take a poke". Feel free to post any of your play programs here with questions. You're not going to break the PLC by downloading anything, and the interaction with generating the code is how you will
  10. You haven't attached your program so we don't have much to go on. Is that data copied into a string variable? If so, you need to find a couple of pointers within the string to help you extract what you want from a string that is not a predictable length. You need to make the PLC think like a human, which can be tricky. I would use the "Find Substring" function to look for the string "Data": and store the location. Then look for "RfK". Then do some adding and subtracting to get the location of the beginning of your actual data and its length. Finally, use the "Middle of String"
  11. There is no easy "viewing only" checkbox for the web pages. The web pages are completely different stand-alone graphic entities. I'm guessing you generated them using the "Export Screen to Web Server" option, which makes a duplicate of the page, user edits and all. You have to go back in and edit your web pages to either enable and use the the user security settings or modify each object so the user can't mess with it. Joe T.
  12. Modems can be cantankerous little critters. When you reboot you're obviously re-setting the ports and whatever the modem is chewing on. I have a field installed modem that locks up for no reason every couple of weeks and I finally put a relay in that uses a PLC output to cycle power on itself and the modem if it gets stuck for more than half an hour. "But Joe, you shouldn't have to do that! It should work! You should find the problem!" After beating on it for a couple of months with no logical explanation and the customer complaining that he had to get up in the night and drive to th
  13. You're sending the request 10 times a second in rung 2 without waiting for the sensor to reply. I'd block the SEND block with a NC of MB 2 and reset MB 2 with a NO of MB 4. You'll also have to reset MB 4 yourself. It looks OK, but I'd follow Aus's recommendation and check it with a terminal program on your PC that is capable of displaying raw hex values such as Bray's Terminal. You'll need a USB to RS485 adapter as well for this. I'd go ahead and download it. You're not going to break anything. If you don't have a second COM port installed in your V130 you need to do that
  14. DataXport creates a Access-based database but you can't open it with Access proper. This explanation is the best thing I found that seems to pull things together- https://www.fmsinc.com/MicrosoftAccess/Errors/class_not_registered/index.htm From here you would typically need to contact Official Support, but as John is my customer I will handle that for him. Joe T.
×
×
  • Create New...