Jump to content


Popular Content

Showing content with the highest reputation since 06/19/2018 in Posts

  1. 4 points
    If it is really bad I've been known to hang an electrolytic capacitor between the analog input and 0V. I'm not kidding. Something like 10 uF @ 25V. Joe T.
  2. 3 points
    OK, Done. Next release.
  3. 3 points
    Hi All I purchased this device on ebay. The model number is "VAP11G Bridge Cable Convert RJ45" (probably many alternatives available) Cost around €15.00 Works a treat on unistream. Plug in the ethernet and power via the USB port. PLC can now be programmed with the panel door closed over wifi. Should also work with Vision but you would need a power bank or 5v power supply.
  4. 3 points
    Continuity is easy - just connect +24V to one side of the wires one at a time and see if you get it on the other side. If you have a bundle to check you can switch wire feeds in with relays and make sure you only get one signal on a DI module connected to all wires. The RTD module only returns temperature from a resistance of about 25 ohms to 267 ohms. You could reverse-calculate the resistance, but I don't think this is the range you're looking for. Resistance is not so easy. Many moons ago I rolled my own ohmmeter with a DC power supply, current limiting resistors, voltage inputs on an analog module, and current sensors into another module. I was trying to measure to .01 ohm resolution on wire to make fuses and it kind of turned into a trainwreck. I learned about thermal drift of a multi-component system the hard way - I could not keep the thing calibrated. I eventually bought a really nice four-wire ohmmeter with a serial port and multiplexed it between the wires under test - the manufacturer liked it so much they asked if I would write an app note about it- https://www.tegam.com/wp-content/uploads/2015/10/AN103.pdf So this is an area I actually know a little more than the average bear about. This approach may be overkill for what you're trying to do. Can you be very specific about what you want? Joe T.
  5. 3 points
    @Arnor, I think I've found the problem. Take the dll below and overwrite the one that exists in your installation folder. Make sure to create a backup of the original dll first. Please update me if it helps. Thanks. Unitronics.RemoteOperator.dll
  6. 3 points
    I´m not sure if this fits your needs:
  7. 2 points
    There are a couple of I/O module that can you can directly connect a 100 ohm RTD to - the V200-18-E3XB snaps onto the back of the V700 and the IO-PT400 expansion module is similar to the IO-ATC8. Both of these modules return the temperature directly in 0.1 degree units, which probably what's confusing you. But this is not what you have in the Prosense (translation: Evil Empire) transmitter. You need to understand what you'll be feeding the IO-ATC8 electrically from the transmitter. It's not ohms. Let's lay it out: 0 F = 4 mA 300 F = 20 mA The IO-ATC8 is an A/D (analog to digital) converter that produces a number to the PLC based on it's input. You said you understand it's 14 bit, but do you know what that means? Let's lay that out, too: 0 mA = 0 counts to PLC 20 mA = all 14 bits on = 2^14 = 16384 counts to the PLC So your transmitter starts at 4 mA. This means at 0 F the IO module will return (4/20*16384) = 3276.8 counts, which it will round to 3277. At 300 F it will return 16384 counts. Read the Help on the LINEAR block, which includes some fun diagrams under the subtopic "Linearizing Analog I/O Values" So you set your linear block up like this: X1 = 3277 (point 1 input) Y1 = 0 (point 1 output) X2 = 16384 (point 2 input) Y2 = 300 (point 2 output) Map X to the register assigned to the channel on your IO module and Y to whatever MI you want to use for the output. If you still need help post your program. Joe T.
  8. 2 points
    I watched the attempted moon landing today with great anticipation. Sadly, there was a failure just seconds before the landing which prevented the mission from being a total success, however, I would like to congratulate the Israel Space Agency, Israel, and all the Israeli people for what they did accomplish. This was a private initiative that attempted to do something that only 3 other nations have accomplished in the history of man (and something that none of them are still able to accomplish). What they did successfully accomplish was to place a spacecraft into a stable orbit around the moon, which also has only been performed by three other nations. This was an inspiration to us all and I am certain the next attempt will be 100% successful.
  9. 2 points
    Actually..... https://en.wikipedia.org/wiki/Apollo_Guidance_Computer The V130 has more horsepower than this. I listened to this book about the space program on audio- http://www.craignelson.us/books/rocket-men/ The actual landing of the lunar module on the moon was done by the astronauts. The landing site initially selected wasn't what NASA thought it was - it was full of boulders and Neil Armstrong had to manually fly the lander sideways for quite a distance to clear them. There are just some circumstances with too many unknown variables that a computer can't handle. J
  10. 2 points
    @chay Seriously, dude, you are going to catch nothing but grief asking questions like this on the forum. This forum is maintained by unpaid volunteers. If somebody posts code showing that they have put the time in and tried to learn themselves we will bend over backwards trying to help them. Put the time in yourself. Then ask questions. Joe T.
  11. 2 points
    I'm converting a V700 program to UniStream and came across a PWM SCAN block for heater SSR control. I searched the Toolbox and the Help and came to learn that the PWM block is not a standard block in UniLogicLand. Then I went looking on the UniStream software and hardware forums - nothing there. After about an hour of getting frustrated I looked through the UniLogic examples. Which I don't normally do - I'm an experienced programmer, by cracky!😫 Anyway, lo and behold, there was a PWM example. Turns out the PWM block has been morphed to a UDFB, which was actually pretty easy to implement after I figured out one of the input tags is a TIMER data type. Fortunately one of the Creators thought of this. So I'm posting the UDFB for everyone's reference. Joe T. PWM.ulle
  12. 2 points
    Screenshot, boys. Screenshot. Joe T.
  13. 2 points
    LOL!!! I love you guys. If I ever win the lottery, I'm flying you all to headquarters for beer and burgers! Here is an even older logo...
  14. 2 points
    For me the utube moves are practically worthless. My hearing is not good and even with earphones the voices are ALL incrompehensible. There was one movie where there was some kind of subtitling, but only for a few shots. could you do this in all movies?
  15. 2 points
    When you’re all out of fuses but have plenty of ammo. Photo credit to Paul on the facebook “Emergency Lights and Sirens Enthusiasts” group.
  16. 2 points
    Found this to laugh about, too. Has apparently been around a while. cheers, Aus
  17. 2 points
    Thanks for the help everyone Has given me in my "head scratching" moments. I try to pay it forward when I can. Here's to 2019 and the many successes Unitronics solutions will give us. I've had some bumps in the road but the support from @Joe Tauser, Unitronics US, Unitronics Israel, and this forum has been amazing (and free). Kudos to all.
  18. 2 points
    Something tells me that @Joe Tauser's troubleshooting face is the same as his regular one.
  19. 2 points
    Hold Ctrl+Shift while you double-click the Visilogic icon. This will reset the window settings to factory default. Joe T.
  20. 2 points
    Debug function for rung time mesurement... Find in help.
  21. 2 points
    Dan- You are really going to be freaked out when you realize Unitronics allows multiple coil stacking and curvy logic joints- If your primary focus has been the various flavors of RSLogix, I totally understand your irritation with the Unitronics way. After I originally read your post I considered the packages I've also programmed- AB SLC500 + uLogix, PLC 5, RSLogix 5000, Omron, Mitsubishi, Idec, Siemens, and the Modicon x84 series. As you state, it seems to be a toss-up as to rung-starting methodology. None of them were especially difficult to figure out with the exception of Omron, with it's little key-initiated edit/insert mode that's not really explained anywhere. And no subroutines, just a continuation of segments. I hated working with that product. In the BeforeTime, when there were only two real PLCs in the US market (AB and Modicon), it's interesting to note that AB always used the rung-and-branch method while Modicon used the 7 x 11 network method. You could have up to 7 contacts hanging on the rail with interconnecting logic This was the comment that raised my eyebrows- Especially on your first post. This software is free. All of it. Always has been. So is the forum. And support requests. It does work, albeit with some quirky nuances. I was just quoted $950 for an additional FactoryTalk View ME license to allow me to program the $5,000 PanelView Plus I just bought. Add that to my $800 annual TechConnect contract. It's one thing to pay for software, it's another thing to get totally bent over for it. Hopefully you can get past the software weirdness and find the product to be a good and cost-effective solution. Joe T.
  22. 2 points
    Are you talking about a DW or an ML operand? The value when the register overflows is slightly different (the ML will go to the max negative value since it is a signed 32-bit integer, and will count up from there). In either case, no error will be generated. −2,147,483,648 to 2,147,483,647 is the range for an ML (32-bit signed integer) 0 to 4,294,967,295 is the range for a DW (32-bit unsigned integer)
  23. 2 points
    As a programmer, I spend a lot of time downloading a program to a PLC that was previously used for something else. There are many, many prompts that I must wade through to get the program downloaded, most with no audible notification. Can we please provide a "Yes To All" prompt at the beginning so that we can initiate a download and walk away for the lengthy download process?
  24. 2 points
  25. 2 points
    Sometimes it is necessary to do repairs when there are no original spare parts or they arrive for a long time. You reminded me about the Enter key. Machine Amada - Enter completely destroyed. Temporary solution - the external button is soldered to the corresponding matrix keypad conductors. This may be a solution when it's impossible to fix the program However, definitely
  26. 2 points
    Almost the same here. The only difference is that I am using an accumulated timer for more precision:
  27. 2 points
    I have the same thought and I am really missing VisiDiff here. Currently my workaround is: - I keep every version in separate file. - I add a "routine" for every version in each file, called "version changes V x.xx". This routine exists only of comment blocks where I describe what has been done. - Mark new lines in a ladder code with a green background - I disable lines instead of deleting them and mark them with a red background - If changes are to be made within a line/block, I duplicate the original line and disable its. The changes are made to the duplicated line which will be marked with an orange background. - Add comments to those changes why I made those changes. This way I can track down changes from one version to another within the ladder code. To find overall changes, I read the comments block which describes all changes
  28. 2 points
    Try going to project in the toolbar. Then options. Then try unchecking ping on discovery
  29. 2 points
    Download the attached Rar file, and extract the files to UniLogic installation directory. This means that the "UniLogic Diagnostics.exe" (and all the other files) must be placed in the same directory where "Unitronics.Shell.UI.exe" is located (usually at: "C:\Program Files (x86)\Unitronics\UniLogic\") After you've extracted the files, run "UniLogic Diagnostics.exe" and click on Diagnose. Most chances that it will show "SQL Instance" as one that has problems. In case it find problems, the "Fix" button will become enabled. Click on Fix, and the program will attempt to fix the problem, and then it will re-diagnose the problems to confirm that they are fixed. Please tell me what problems it found . Also tell me if it managed to fix the problem that you're experiencing with UniLogic (that it is stuck in loading components). Thanks. UniLogic Diagnostics.rar
  30. 2 points
    So I am sure that some of you may know factoid 2 already but I decided I would share the benefit of lots of testing with everyone. In our products we use the V570, V350 and the JAZZ units to talk to variable speed drives on a regular basis. Most drives come standard with 485 Modbus as the only communications type unless you spend extra money getting optional com cards for the VFD. Two factoids relative to noise. There was a conversation that happened accidentally in the "I have a new project" topic where someone said that Unitronics was very susceptible to noise. Well VFDs make a large amount of noise and it is not always radio noise. A fair amount of the time the noise is actually contained on the local earth to where if you ground the shield of shielded cable you make your noise problem much much worse than in you do not ground your shield. The old conversation about sometimes you have to ground a shield on one end or the other or not at all must be practiced regularly. Factoid 1: I generally would not recommend one brand of product over another but 20 years of use on pressure transducers have shown conclusively that there are definite brands of transducers that work dramatically better than others in noisy conditions. If the noise is radio noise pretty much every transducer is as good as any other. If the noise is carried on the local earth ground of the machinery then really bad things happen on every brand of transducer I have ever used (list to follow) except 1. We have used: Ashcroft Murphy Pepperl & Fuchs GEM WIKA AST Dwyer (all private labeled so there is one that works) and in 100% of the cases when there is a site that has noise infecting the ground because of VFD usage there is a horrible amount of noise created (it has nothing to do with Unitronics) and there is only one cure (separate the sensor from the metal pipe is it screwed into to isolate the sensor from the grounded pipe. If you ever have a site that has what appears to have an incurable noise issue and a VFD is involved unground the sensor and see what happens (pressure sensor just unscrew it and leave is unconnected to anything metal and if your noise issue goes away your grounded piece of equipment is causing your noise issue. So what is the one sensor that seems to be impervious to noise on the grounded pipe? It is specific to exactly one model and one product type only. The SETRA 209 series pressure sensor works perfectly where nothing else will (without lots of noise smoothing). AST is second best (but not as good as the 209 series SETRA) and everything else is just bad. Unfortunately, the 209 series is not NEMA 4 rated and is only suitable to outdoor use with the help of a cover to make a 3R cover. No other model of SETRA transducer works like the 209. Just as a note (if you are not needing Class 1 Division 2) there are companies that make electrically isolated pipe union fittings (for cathodic protection) and we have used these from time to time to help customers through ground noise problems. Factoid 2: It is in the Unitronics documentation but who reads everything (or remembers it over enough time). When connecting to RS485 it is not just important but absolutely imperative that you do not connect wires to pins 2,3,4 and 5. Even if the opposite end is connected to nothing at all (except 1 and 6). What testing has shown is that if any of the other 4 wires touch each other (because you cut them short) they will make an otherwise quite communication line unbelievably noisy. Also even if the ends are not touching the wires themselves act as little antennas and noise becomes worse. How do we know and not guess at this? Because sometimes we try to do what is right and it ends up being horribly wrong. One of our techs went out an sourced a high speed modem cable (shielded with shield all the way up to a metal sheath on the plug). It was not an inexpensive cable and sounded like a really good choice. We were buying 15 foot cables and then cutting this in half to make 2 cables (other devices have screw terminals for their connections and not an RJ12 (RJ12 for RS485 to get all 6 connections) so we would cut away all cables except the two making connection to 1 and 6 at the Unitronics port. We had 70 or so with these cables out and a high percentage of the build had special drain wire considerations that had to be made to make the communication work ok. New project with a different brand of VFD has come along and we build our first three units and zero of them would communicate over 485 communication connection. (we tested everything before build and it worked) WHY? The cable we were using had 4 sets of twisted pairs inside the shield (so two wires were not connected on either end). Testing on a V350 showed that as long as we had a computer connected to port 1 communication between the PLC and the VFD was fast and excellent TX/RX accuracy, but as soon as we disconnect the computer from port 1 communications would fail to a rate of about 75% packet loss (at slowest communication speeds). We tried different grounding of the shield to no effect, we replaced cables (didn't expect that one to work) to no effect, we took the test VFD from our desk and replaced that VFD with one in the constructed panels (no effect), so then just because there was nothing else to try we took one of the connectors that comes in the box for the V100-17-RS4X Modbus adder card and just twisted that to a standard 3 wire Beldon (really poor connection) and communication success went back up to about 99%. So we soldered 3 of the connectors from the V100-17-RS4X and shrink wrapped it all so that we could ship the 3 panels to their end customers. Then began the process of figuring out the whys and wherefores as to what the heck was going on. Taking new (expensive shielded) cable we stripped multiples back all the way to the metal cased plug and found that the manufacturer had done a good job on construction. We removed just the two wires that were not connected to anything on either end and found that removal of the two unconnected wires help com success rise to the 60% level. Then made sure that no wires were touching out of the remaining 4 unconnected wires and coms rose to a 90% success rate. Then we cut the 4 remaining wires to be about 1 inch long and made sure they did not touch anything and coms rose to about 96%. Then made our own cable with an RJ12 connector to have only 2 (totally unshielded wires with low twists per foot) wires and comes were great. So now we will be buying specialty cables that have only the two required conductors inside them. Thank for reading and I hope our pain can save you some. Keith
  31. 1 point
    In revisiting this after some zzzzz, also don't forget that Modbus addressing starts at 1, whereas Vision starts at 0. Sometimes you have to allow for this "difference of 1" when specifying the addresses. It depends on how the slave is set up....some also use the Vision style. Easy enough to find out for sure once you actually get a successful connection. Also, you have fallen into the trap of counts starting with 0...... MI4000-MI4027 is actually 28 MIs. cheers, Aus
  32. 1 point
    It's 16383. There are 2^14 counts, but it starts at zero, so the highest number is 2^14-1 (all 14 bits on would be 2^14-1, or 16383). This is what goes into your linearization block, though you would likely never notice it in the real world if your linearization was off by 1 part in 16384.
  33. 1 point
    Same here Flex..... I save to a new file name daily, appending the file name with the days date, such as; 1210 formax 03 20 19.vlp If I do a lot of changes I will sometimes add an A, B, C after the date and have multiple saves in a day, plus I add the PLC model to the name also. So far as storage, I work off a USB hard drive, and try to be diligent about copying my files to my C drive and a network drive. And as in other recent discussions, I'll save my version number somewhere on a display; v032019
  34. 1 point
    Another option is to send a compressed file to a SD card installed in the PLC and then trigger it to update the program from there. We typically do this if we are not having a tech on site(sales reps don’t count). As we have a copy of the current program in the SD card the rep can test and if there’s a problem they can revert back to the previous program and NOT rely on the Ethernet connection to stay up.
  35. 1 point
    Joe, I really do think there is a bit of a nostalgic character wanting to jump out of your body, along with a healthy dose of sci-fi related stuff. Going to see the latest Star Wars episode must be an exciting time for your family! cheers, Aus
  36. 1 point
    It's a hand that's lost its thumb because it didn't have a Unitronics control system for some dangerous equipment?
  37. 1 point
    I had a crash course in UniLogic string to num conversions (formatting/handling). You have to remove leading spaces and trailing non numeric characters if I recall correctly. The Visilogic string to num FB is more flexible as to what it will convert. If your ASCII string is purely numeric characters you should be Okay. If you need a subroutine to strip off other characters let me know. I could share a snippet of code I used.
  38. 1 point
    Is this available or in the works? I saw somewhere the EDS Import function for CANopen was available, what about Ethernet IP? Building structs from the EDS file is not my idea of fun.
  39. 1 point
    Responded to a private message about what the J terminology is, that appears in product naming. It is simply the fitting of the flat fascia. So in case you don't know, a V130-J-RA22 is the equivalent of a V130-33-RA22. The same naming system is across all the models. In Visilogic choose accordingly. Cheers, Aus
  40. 1 point
    I got this UDFB from support when asking about NTP. Maybe you need to modify it to suit you. It works. It was easier in VisiLogic. UniStream_070_RFC_1305_UDFB.ulpr
  41. 1 point
    The statements expressed here are my own opinion and do not necessarily comprise a definition. Short answer - an IIoT device is an IoT device that's located in a factory with a lot more people that have an opinion about it. I found these- https://www.computradetech.com/blog/iot-vs-iiot/ https://www.leverege.com/blogpost/difference-between-iot-and-iiot https://www.iotforall.com/iot-vs-industrial-iot-differences-that-matter/ https://us.profinet.com/iot-vs-iiot/ You'll find in reading these that there is no clear definition of IIoT - just some thoughts on what it should be. What I have experienced is every company and every location has different expectations, requirements, paranoia, and regulations. Most of the time we put the controls on their own network and manually connect a line if we need to get in. There are other products that act as bridges through a secure website. And so on. Other input is certainly welcome. Joe T.
  42. 1 point
  43. 1 point
    Hi all, some of you may remember me in various topics suggesting to try different USB cables during member's connection issues. Today I had exactly the same problem and it took me an hour to eventually try another cable. 1). Hung up the cable and Shentek 485 last night after doing some work with it perfectly ok. 2). Retrieved cable and Shentek from hanging point this morning and stuffed around for an hour wondering why I now don't have comms. The damn thing was working fine last night! 3). Checked all my drivers out and everything looked fine. Still nothing showing in com ports, though. WT*? Has Windoze done an update that has upset things? Hmmm. 4). More Hmmm....light bulb......Try another cable, Stoopid! 5). "Well I'll be damned!" Who would've thunk that my usual act of carefully disconnecting things and hanging up the cable would result in a failure. In this case it was one of the data lines for sure. 6). Moral: Never, ever, ever, ever, ever (get it?!!) trust a cable first time. This nincompoop, Moi, who has had this happen a few times over the years, still got caught for an hour trying to figure it out!! Mamma Mia!! cheers, Aus
  44. 1 point
    Hello, Thanks for posting! Starting from last version 1.24.56, the maximal length of the MQTT password had been extended to 255 characters. Is that enough for your Azure broker? You're right, but it is right now in process and this new feature will be available in next UniLogic version (very soon) Hope it will help! Rivka
  45. 1 point
    I know this takes us out of the realm of Unitronics-Land, but there is company called AdvanceHMI that offers free software to build an HMI in VB, and run it on a PC/Tablet/industrial Panel PC. It includes drivers for different flavors of A-B comms as well as others. https://www.advancedhmi.com/ JohnR
  46. 1 point
    Items of note: - There are no subroutine calls. - You are still unnecessarily combining too much logic into a single ladder rung. - Your alarm comparisons should be "</=" or ">/=" instead of just "=", and perhaps should be latched. - You have multiple instances of comparison blocks with no coil following, so they do nothing.
  47. 1 point
    UniLogic 1.48.24 does not run as Administrator. It might be that you don't have write access to the files for a user which is not an admin. One option is to copy the projects to a different folder (like somewhere in My Documents), or trying to set the permissions of the files.
  48. 1 point
    I think he also wants the tank to fill up. In this case, he should have a transparent hole in the image, and put a bar graph (meter) behind the image.
  49. 1 point
    Hello, I am having an issue with intermittant connection to a remote PLC. The setup is as follows: Server has a VPN connection to a GSM router on site. This is connected via ethernet to the PLC. What I have found: I lose the ability to do a socket ping to the PLC on 20256. When I lose this ability, I also lose the ability to pull telemetry data off the PLC from the registers. (makes sense, they use the same port). I am doing this ping test from the local router on site, over the VPN. The issue is therefore not with the VPN itself, but the connection between the router and the PLC. The ladder logic code that manages the connection is attached. Can you see where I have gone wrong? How can I increase the robustness? Additionally, can you suggest timeout/keepalive settings that would help? At the moment, I can regain the connection by restarting the router (set to a automatic timed restart at the moment). Additionally, I have noticed more than once that if I go into the socket parameter screen on the PLC, it has sprung back into life. (maybe coincidence?) Many thanks in advance for any help!
  50. 1 point
    You can connect GSM modem. We recommend our GSM kit, which includes Enfora modem and all accessories around ot make connection fast and easy. Anyway, we support another few brands of GSM modems. Having GSM modem, you can easilly program it both to call preprogrammed numbers and to send SMS. Som of our users alreqady did similar alarm systems. They are programmed to call number for few seconds. The person who receives the call sends back SMS, let's say with word "STATUS" (any other mesage can be programmed) and receive SMS with variables, which state the problem. If there is no "Status" SMS for some time, the controller calls next person in charge... Just idea...
  • Create New...