Jump to content


Popular Content

Showing content with the highest reputation since 04/25/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. 3 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
  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
  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
    I patented that term a few months ago. Please cough up if you are going to use it! ? cheers, Aus
  30. 2 points
  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
    first configure the PLC to be a TCP-Server After that insert to the ladder the element to receive data from the client. The "Received Buffer" should be very long so your incoming message can be fully received with no problem. The "Length received" integer and "Received message" bit will be use to parse your message and get your information. After receiving your buffer you would like to parse the massage, for that you first need to create the general form of the message your PLC receives. You said you will send a message that looks like "/X300,Y300,Z300/" while the numbers are the only one who change, so this is the general message form and in the places your numbers appears I put a different variable for each number. After that you should put the ladder element for parsing your message, and add your number to the HMI. You can use a program called Hercules, to simulate TCP connection as a client, this is how I checked that my application works.
  33. 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
  34. 1 point
    This is most probably the same problem as the "V350 Fatal Error" post. There may well be electrical noise in your system causing the fault. Do you have VFDs and/or large contactors in your system? If you can, post a schematic of your machine. Quickly. Joe T.
  35. 1 point
    Moved post to the correct forum. You use VisiLogic, not Remote Access to download a program. To answer your question, you can download a program remotely through Ethernet exactly the same way you do locally through Ethernet. All you need is a connection through the internet, whether by port forwarding, VPN, or any other method that gives you a network connection.
  36. 1 point
    I agree with JohnR, but if I knew any English I wouldn't spend my day talking to computers.
  37. 1 point
    Thank you @Cara Bereck Levy!
  38. 1 point
    Hello, I have been wondering. Has anyone ever needed to enable the end user to somehow print the screenshots from graphs? If yes, then how did you manage to make it work? From what I found out, one can send messages to the printer, can send txt files, but so far, I have not found a way to make it print the screenshots. I already asked support, and seems there is no official way. Or is the only option to send it trough mail and make the end user print it from PC? Edit: If having more info is ever gonna make a difference, I am using UniStream PLC USP-156-B10 with an HP LaserJet printer M203dn, connected trough Ethernet, which supports PCL 5, PCL 6, and (pen plotter control command ) HP-GL/2, also FTP printing, LDP printing, 9100 Printing, IPP printing, IPPS printing, AirPrint, WS-Print. I have sent text messages trough the TCP Printer Example, and trough the FTP client example successfully to be printed.
  39. 1 point
    The third post in this thread provided your answer which you either missed, ignored, or didn't understand. To be clear, NEVER call an HMI screen with a direct contact. You MUST use a transition contact - always. Also, please restrict your ladder rungs to only a single logic thread. One logic thread = one ladder rung. Do not stack them up. They will often work, but it can be unpredictable. Avoid conditional subroutine calls. Avoid HMI screen calls or subroutine calls with other logic in a ladder rung (i.e. other coils or FBs).
  40. 1 point
    Change analog input for test. Maybe You lost one of them :(. Please post contact supervising cirquit diagram. I found in one of control box diagram with full diagnostic of the sensor contact wires. R1=1600 Ohm, R2=200 Ohm, R3= 400 Ohm, R4=200 Ohm. Zener protect Analog input . Circuit open, or high voltage present U input >= 9V, upper wire short to GND U input = 2.6V, bottom wire short to GND U input = 6.5V Normal contact open U input = 8V. Normal contact close U input = 4.8V. You can mount R2 and R3 (or R2 and R4) on sensor side and make protection for shorted and cutted cable. P.S. You must set short delay after signal is changing for correct error evaluation. P.S.PS. Maybe use 4-20mA analog input is better solution...
  41. 1 point
    OK @Arnor, please give me the program, and I'll try to reproduce it. It's weird that the problem does not reproduce in VisiLogic, since both are based on the same code. I wrote most of the code of enhanced PLCs Remote Access in VisiLogic, and most of the code of Remote Operator, so I'm familiar with it, and can't understand how something like this can happen. You can send the project to support@unitronics.com, and ask them to forward it to me. Also instruct me to which screen to enter, or what to do in order to reproduce the problem. Thanks.
  42. 1 point
    https://unitronicsplc.com/Download/SoftwareUtilities/DataXportSetup_3_1_Build22.exe Found under the listings at the bottom of this page: https://unitronicsplc.com/software-visilogic-for-programmable-controllers/ cheers, Aus
  43. 1 point
    1) If you want "main display" at startup, rename the default "Start-Up Display" to "main display" and use that. Don't use SB 2 for your start-up display. 2) Do NOT have conditional subroutine calls. It is poor programming practice and will likely cause logic issues because coils will be left in limbo. 3) Do not place coils in the same ladder rung after a subroutine call. Place the coil at the end of the subroutine itself. 4) You're using MLs for numbers that shouldn't exceed 1000 (percentages). Not harmful, but why? 5) Do NOT do conditional returns in a subroutine! That is asking for a Watchdog Timer error. 6) Avoid using GoTos. This is poor programming practice in nearly all programming languages, but especially so in PLC Ladder Logic. These are just the immediate problems I see. I haven't attempted to evaluate the logic.
  44. 1 point
    Hi Cheris, this might sound harsh, but the forum does not do your work for you. I once said this in another post: << The real art to programming plcs is to first break down your process to every single procedure you are going to need to achieve your desired result, and then arranging those procedures to achieve this result in the most efficient manner. (You need to remember that in general plcs are very dumb and need to be told how to do everything.) I do this using a spreadsheet owing to the ease of moving things around, but there are many other methods including whiteboards, depending on complexity. (Some people end up with a correctly drawn flow chart once everything is finalised, but for me that isn't needed.) Once you have done that, if there is a procedure needed that you are unfamiliar with, or haven't used before, you then go to your plc's list of things it can do and find the function/maths/compare etc that best matches what you need to achieve. You then learn everything you can about the way it works, by consulting the help files, looking at examples and then physically doing a trial, using the plc, of something simple involving that procedure to ensure you are totally familiar with the way it works. Eventually you can tie it all together into a fully functioning, simple as possible program that the little men, women and gender neutral people (we are very PC on this forum!) running around inside the plc are quite happy to do over and over and over again without getting tired. >> Members of the forum are very glad to help when you have a question regarding an issue/question/problem you discover when developing your own program using the above principles. We all started from basics, using help files and experiments. cheers, Aus
  45. 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.
  46. 1 point
    I typically use a quadrature encoder (has two outputs - A and B ) with a sourcing 24V signal. These are available from many manufacturers. Do you have a specific one you're looking at? Joe T.
  47. 1 point
    Sounds like you have the connection correct - not sure why you think it wouldn't be a complete path. For temperature measurement, I believe you need the RA22 model for a thermocouple input, but you should be able to use an RTD with your model.
  48. 1 point
    @cirocastro, check above under "Pages"/"Webinars" to see some great tutorials. Also, browse the Help file - you will learn a lot. @Cara Bereck Levy and others have put a lot of effort into the Help file and it is a great resource. There are also a lot of example programs that came with your VisiLogic installation. Review those to see how to do specific tasks. But most importantly, get a cheap PLC and start experimenting. There is no better way to learn than hands on trial and error.
  49. 1 point
    Our Support manager, Ofir, already passed your requests. I ca see the next feature requests: - Configure "time to expire" for UAC passwords - Complexity criteria for creating passwords through configuration - User will be blocked after several unsuccessful attempts. - User cannot use last 5 passwords - An option to ask the user to change his password on his first login to the system I can't guarantee anything, but I can insure that the features will be considered. Whats required that is not already exist today? in "UAC" -> "Properties Widow" -> "Password" in UniLogic the user can set: Password minimum length Must include numbers Must include special characters I will add this information to your requests .if you can contact the support and elaborate on the manner it will be great,
  50. 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.
  • Create New...