Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 05/22/2018 in all areas

  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
    Found this to laugh about, too. Has apparently been around a while. cheers, Aus
  16. 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.
  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
    https://aviationhumor.net/the-us-standard-railroad-gauge-is-4-feet-8-5-inches/
  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
  30. 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
  31. 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
  32. 1 point
    Hi all, This Topic will list items that are worth an easy find, but are not quite "pinnable" on their own. If we pin everything that is useful, it will all become one big mess on page 1 (or bigger!). I suggest that if you want something added to the list, contact myself or another mod to have them edit it into this existing list that I see as having carefully considered updating. To save space, only links will be shown, not full previews, with the Header listed before the link. HSC resets DW counter after power-cut http://forum.unitronics.com/topic/6118-hsc-resets-dw-counter-to-after-power-cut/ Multi Monitor (things disappearing) Issue http://forum.unitronics.com/topic/5827-multi-monitor-issue/ cheers, Aus
  33. 1 point
    Hi people! For those of you who missed the launch of the UniStream PLC...I wrote a blog post Check it out!
  34. 1 point
    Issue is resolved. As Dan T suggested, 1. Power off. 2. Touch screen until power cycled On for over 1 second. 3. Tap screen several times. 4. Go to Connection in Visilogics. 5. Go to Communication -PC settings and select 115200k baud (i had used 57.6k, which may have caused the problem). select Get to confirm the unit is communicating. 6. Proceed with os download as before. Just for clarify: 1. Power was never an issue. The plug was firmly attached, and I noticed the draw on my v130 dimming every time I plugged in the v570. 2. My confusion was in expecting some visual response after the power cycle and tapping routine. When the unit stayed black screened, I panicked. I should have tried to connect to it. 3. Thanks to Tom from tech support for stepping me thru. all good now.
  35. 1 point
    I've had a quick look at your program, and there is way too much happening in single ladder rungs/nets (however you call them). In particular, compile brings up warnings, noting that you are doing what I say above, by changing bit values in a net and reading the value in the same net. You have numerous direct coils/sets/resets in the same net. It all might work, but it is a potential problem and ideally needs to be cleaned up a lot. I'm not saying that this is the issue, but it is possible. The plc does not always run through a complex ladder rung the way you have it on your screen, and this can cause issues. If Barry and Joe's suggestions don't help immediately, revisit the portions of your ladder that compile says are issues. Split them out into extra rungs. Do the same for any other rung that looks too "cluttered". This might need a fair bit of work, and a few extra MBs etc, but in the long run will make any work or troubleshooting on the machine far, far easier. cheers, Aus
  36. 1 point
    I took a quick look and it appears you're on the right track. I didn't look at all the details to see if there are any mistakes though.
  37. 1 point
    Send your modem model and any other details that may be helpful to support@unitronics.com Joe T.
  38. 1 point
    Thank you @Cara Bereck Levy!
  39. 1 point
    On the screen issue, in theory it can't happen with Visi not letting you do it, but sometimes it does and needs an extra pixel clearance on what Visi lets you do as minimum etc. I know this is a bit convoluted explain, but its the best I can do! cheers, Aus
  40. 1 point
    You can find many example projects that you can refuse to and use. You could find there a "UniStream_070_schedule.ulpr" that will help you in setting a schedule. Furthermore, with in that folder, you will have a folder named UDFB, copy it`s content and save is in the next path: C:\Users\Guys\Documents\Unitronics\UniLogic\Library\Ladder (Set your [User Name] incited of "Guy") Within UniLogic, go to "Library" and add "RTC to ASCII" , drag the new "RTC to ASCII" subroutine to yor 'Function1", and set in the input the format you like. Time .ulpr
  41. 1 point
    Do you still have the screen protector film on the HMI screen? If so, remove that and carefully clean the screen. That is not a bootstrap display, that is Information Mode. It appears when the screen is touched for 4 seconds. I have had a particle trapped under the screen protection film that was recognized as a continuous touch. These are resistive touch screens, different from your cell phone (which are capacitive). Resistive touch screens respond to pressure. Make sure there isn't anything touching the screen or torquing it in some way.
  42. 1 point
    I strongly recommend that you do not do conditional subroutine calls. Write your logic so that the subroutine will always be called continuously. Coils in an uncalled subroutine are in limbo and can give you unexpected results. Under normal circumstances, a well-written program avoids conditional subroutine calls.
  43. 1 point
    I've used Motorola (bought by Zebra) with Vision products and had good luck. Haven't tried this with UniStream yet. Joe T.
  44. 1 point
    If there's only 2 motors, I'd do something like this: This is a very simplified version to give you an idea for the logic. You will likely have much more detail in how you start and stop the motors, when they run, etc.
  45. 1 point
    Jason Hartley, That would be greatly appreciated!! I'm actually using a Unistream PLC, but should be able to get what I need from the vlp. Thank You ------------------------------------------- 6 hours later, this post still not approved by a moderator so will just edit it.... I did get a working program now. Figured out to always use modbus address zero. I'm sure I could still learn a lot from a working example....
  46. 1 point
    Fair Dinkum!…..(Aussie for "exasperated incredulousness".) What is it with me and the Poltergeists looking over my shoulder waiting for just the right moment to do something? When turned off, my air compressor has a control system that instantly releases the remaining air once the tank gets down to about 20psi. I keep my air connections in good condition and it takes any time over a week for pressures to drop enough for this to happen, depending on what is on the lines. In the workshop over the New Year I spent an entertaining few hours doing a complex wiring lash-up of an idea I'd been working on. Finished the final connection b/n the various components and checked it all over carefully…everything looked OK. Powered on the supply and WHOOOOSSHHHHHH!!!! 5m away the compressor release had opened at EXACTLY that moment. I absolutely pooped my pants....a lovely New Year present for myself. After they also applied the defibrillator a few times, I again pondered how these strange timings continue to happen to me. cheers, and HNY, 2018. Aus
  47. 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.
  48. 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!
  49. 1 point
    You can create a struct that contains the information structure that you want to pass to the UDFB. It is more logical to pass a struct with 50 members other than passing 50 inputs. Think of how the ladder element that accepts the 50 inputs will look like. it will start at the benining of the screen, and you would have to scroll few pages down in order to see its end.
  50. 1 point
    You cannot communicate with the PLC if the baudrates does not match, so the only way that is left is using hardware signals. If you set the BreakState of the serial port, then it signals the PLC to switch to 9600. serial.BreakState = true; Thread.Sleep(500); serial.BreakState = false; Thread.Sleep(1000); Now you need to tell the PLC that you want to change the baud rate. The command would be: internal string BreakCommand() { string breakCommand = "CPC"; breakCommand += "1"; // plc port breakCommand += "T"; // Temp change switch (BaudRate) { case BaudRate.BR110: breakCommand += "01"; break; case BaudRate.BR300: breakCommand += "02"; break; case BaudRate.BR600: breakCommand += "03"; break; case BaudRate.BR1200: breakCommand += "04"; break; case BaudRate.BR2400: breakCommand += "05"; break; case BaudRate.BR4800: breakCommand += "06"; break; case BaudRate.BR9600: breakCommand += "07"; break; case BaudRate.BR19200: breakCommand += "08"; break; case BaudRate.BR38400: breakCommand += "09"; break; case BaudRate.BR57600: breakCommand += "0A"; break; case BaudRate.BR115200: breakCommand += "0B"; break; } breakCommand += "FF"; // Timeout - no change breakCommand += "FF"; // Flow Control - no change return breakCommand; } For the result you got, you add the STX + Unit ID + Checksum + ETX like in any ASCII command: STX + Unit ID + Command + Checksum + ETX As I said, you need to change your baud rate to 9600 in order to send that command. For that, you need to disconnect the serial port (since changing the baud rate while the connection is opened will result an exception). serial.Disconnect(); serial.BaudRate = BaudRate.BR9600; serial.Connect(); Thread.Sleep(1000); serial.WriteLine(_theResultCommandThatYouGot); serial.Disconnect(); serial.BaudRate = originalBaudRate; // This is the baud rate that you told the PLC you want to use serial.Connect(); // now you are good to go.
×
×
  • Create New...