Jump to content

Joe Tauser

MVP 2017
  • Content Count

    2,365
  • Joined

  • Last visited

  • Days Won

    228

Everything posted by Joe Tauser

  1. It worked properly for me. I did find that you had your baud rate set to 19200 in the COM INIT block where your comments said it should be 57600. Joe T. MODBUSmaster JT.vlp
  2. If you are able to successfully read that is a good sign. Upload your program so we can see the rest of it. Joe T.
  3. Just to be clear - you have a static IP assigned to your account on the Internet side of things, right? Are you using a cable system, DSL, fiber, or cellular to get your service? If you don't have a static IP on the Internet, you will have to configure your router to use a Dynamic DNS service if it is capable of that. Joe T.
  4. Here's what the official descriptor says: I honestly don't know on the JZ10. I don't use the Jazz series very often. Joe T.
  5. It is good to be loved. 😍 There is a Drum function in Jazz. It's one of the internal functions without blocks but it's well-documented in the Help and it has its own configuration on the Project Tree. I agree that this application would be well-suited for that. @zavis- if you want to have a go at this and upload your PLC program we can be helpful. I used to teach the State Machine method on Vision PLCs when I still did a PLC class locally. All the students wanted to learn Allen Bradley, but the local Electrical Board didn't want to pony up the money for trainers and AB doesn't
  6. The full 9.8.65 is still listed under "Previous Versions" - https://www.unitronicsplc.com/Download/SoftwareVersions/Visilogic/VisiLogic_9_8_65.exe I would just follow the re-naming instructions to use the Swapper and download and install this. Joe T.
  7. Look at C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\ladder\V1040 - Alarm Example.vlp Joe T.
  8. I tried putting a Positive in a function used in a UDFB and it worked. Can you give a more specific example? Joe T.
  9. It depends on the database version, which is not widely published. Can you open his .125 program in your .106 installation? Joe T.
  10. @Cara Bereck Levy Take a look at this post, especially near the bottom- If you look at the post reference chain within thus post you'll see that the question of reading floating point values from energy meters is a very recurring theme. It's a common occurrence for word order is always backwards from what Unitronics is expecting. Ask the Creators how hard it would be to add a new type of Operation to the Registers tabs for function 3 and function 4 - "Read Holding Registers Swap Words". If you look at the Official Modbus Protocol Specification- https://modbus.org
  11. I'm guessing you're using a -TA30, not a -T30. I don't have one of these in front of me to test, but if it's like other Unitronics analog inputs the common is not isolated and it's expecting a sourcing signal. Your SMC is a sinking analog output, which means it's expecting to get it's power from somewhere else. You'll need a loop isolator to connect this to the PLC. Joe T.
  12. Don't forget SI 101 packet timeout. It defaults to 2 (200 ms). Set it to 10. Joe T.
  13. This means your wiring, baud rate, and everything else physically is good. This is NOT a wiring problem. It's a Weg + Unitronics problem. Unitronics is probably choking on the byte order. We've had this conversation before about reading float values from energy meters via Modbus. Most of the time the energy meter manufacturer and Unitronics have different ideas about endianness. If you're not familiar with that term Google it up and you'll see pages that explain it much better than I can here. Take a look at this post: Try to read your floating point variables
  14. @Cara Bereck Levy If you turn on Roles and Users in the Webserver then you get a login page. Unless I'm missing something, you can not retrieve the name of the user who logged in so there's no way to track who did what (such as acknowledging an alarm). If security is turned on, we need a way to harvest active user information. Joe T.
  15. I ran face-on into an application where I wanted to concatenate the time and date into one string. The RTC to ASCII function in the examples considers every permutation of Date OR Time, but not both. I tried following my own advice and using the Insert String function but it didn't work the way I thought it did. I studied the RTC to ASCII example and realized the best way to manipulate strings is to make use of buffers, controlling exactly where characters land using the Copy Tag to Buffer, Fill Buffer, and Copy Buffer to tag functions. The thing that worked best for me was to star
  16. I live near a quarry and have had the joy of replacing my windshield several times; it never gets a chance to get scratched. Otherwise, Google has all the answers.... https://windshieldexperts.com/blog/7-best-ways-to-deal-with-car-windshield-scratches/#:~:text=Step 1%3A Dry the glass,to dry the area again. Joe T.
  17. You have to tell Remote Access to upload the PLC's images and create a local use file- Joe T.
  18. I have a bit of experience removing scratches from headlights on my kids' cars. All the kits out there are very fine abrasive products, involving 800 to 2000 grit sandpaper finished with buffing compound. The final step is a chemical included in the better kits that slows the oxidation of polycarbonate from UV light. If you're trying to fill the scratches, I'd try car wax. Seriously. Joe T.
  19. Is your reader the handheld type with its own trigger or is it a fixed unit with an external trigger input? If it's handheld, then you pull the trigger and it will spit out a serial stream when it sees a valid code. If it's mounted, there's usually a digital input on it to trigger it. Either way, you'll need to catch the serial string with a Protocol Scan block and decide what to do with it from there. Joe T.
  20. You've really got to watch out for those Australians. The ones I know are crackers It looks like you've got the gist of how to get started with the programming but you've got a couple of flaws. People who post on the forum hate when we say this, but you really have to go back and look the data sheets over. I've never understood why Unitronics has separate Installation and Specification sheets but they do. Read both three times. https://www.unitronicsplc.com/wp-content/uploads/2015/12/SM35_43_70_RA22_IG_2_16.pdf https://www.unitronicsplc.com/wp-content/uploads/2015/12/
  21. Please explain this statement in more detail. What is the node address of the device? What is the node address of the pc? What is the node address of the PLC? It would be helpful if you post a link to the device type and attach your PLC program to a post. Joe T.
  22. File operations in UniStream are limited to interacting with the local SD card. You can't tap a network drive with it by design; imagine how quickly a PLC could become an IT nightmare if it could go out and sniff the network and commit various shenanigans. Your option is to write data to the SD card and enable the ftp server. It will be up to you or the customer to put a script on their system somewhere that will get the file off the SD card via ftp and deposit it where they want it. Joe T.
  23. That is not a protocol Unitronics supports. You'll need a gateway product to convert it to something like Modbus. https://industrial.softing.com/products/gateways/gateways-for-multi-protocol-process-control/foundation-fieldbus-fg-200-hseff-modbus-for-control.html Joe T.
  24. That is rather odd element behavior but I do understand the presentation you're trying to achieve. You're going to have to build that. I'd use a Text Box and create several string tags with power-up values that you concatenate in your code using the Insert to String function. Unfortunately, PLCs were never designed to be string manipulators so doing it in ladder will be tedious. I'm not good at the C functions but this may be a good candidate for that. Joe T.
  25. I took a look at your program and you're going too fast. Don't hang Modbus blocks on the rail and don't call two at once- I've found you have to allow a few scans to pass after the serial port has been called. Also, your read vector length was 0. The attached program is in Visilogic 9.8.65. Joe T. rtu JT.vlp
×
×
  • Create New...