Jump to content


Popular Content

Showing content with the highest reputation since 09/19/2019 in Posts

  1. 3 points
    3 years ago I knew nothing about PLC's. Because of people like @Ausman, @Flex727, @Joe Tauser and others on this forum, we converted 8 machines from old relay logic to PLC's with automation, made 2 pieces of complex laboratory test equipment for the lab, and entire tank farm controls that include, levels, filling, heating/cooling, mixing etc. I could have never done it with their help. I don't know if they're paid or not, but I will tell you they are priceless. I hope that @Cara Bereck Levy will show this to the powers at be so they understand the caliber of people they have in this forum. It burns me, me when people are rude or "expect" someone to write their programs without giving it any effort first. Be polite, give it your best effort and people here will jump in to help you. This concludes my diatribe.
  2. 3 points
    Yes, it was already implemented and would be available on the next release of UniLogic.
  3. 3 points
    Just for fun, this is the control panel for a new force tester we created. If you are a Star Trek fan. I can't be the only nerd on this forum, am I?
  4. 2 points
    Sadly not my joke....... My wife asked me why I was whispering in the house. "Because Mark Zuckerberg's listening," I whispered. She laughed. Alexa laughed. Siri laughed. 🙈 cheers, Aus
  5. 2 points
    I think most of you probably already know the first rule of the Assumption Club.
  6. 2 points
    This is where I found out there's literally no end to how much I/Os you can cram into a V570. The year is 2011, my first medium-scale PLC project. It was an animal food production plant. There was about 200 I/O points at first, and later the system grew to about 250. Also numerous weighing scales and temperature measurements. When I found out that there would be no way to put any more than about 100 I/O points via Unitronics modules, I had to resort to Turck's CANopen I/O modules. These pack a respectable number of terminal blocks per square inch of panel space. It all worked flawlessly, and in later years 2 additional I/O stations were added. Still it couldn't saturate the V570. Scan time under 10 miliseconds. Of course there would be no easy way of managing everything from the V570 screen, so a Z-View scada had to suffice. Over Ethernet the update time for 1700 tags (not monolithic, but scattered all over memory space) is about 0.4 seconds. One remark: the screens are really ugly -- back then I was sloppy and didn't know what "Snap to Grid" meant. We've all been kids once I guess.
  7. 2 points
  8. 2 points
    Twitter asks what I'm doing. Facebook asks what I'm thinking. Google asks where I am. The internet has turned into my mother. 🕵️‍♀️
  9. 2 points
    I have a good suggestion. Whenever I am developing a project for UniStream, like most programmers I will be updating and downloading, and testing, frequently during program development. Unlike VisiLogic, UniLogic insists that the project be compiled and compared to the project in the PLC before going online. This can take some time. However, if I've just downloaded the project, then all that has already been done and now I must wait for it to do it again. How about adding a selection or checkbox, or something, to the download options that when selected allows UniLogic to immediately go into online mode after the download, thus saving that lengthy repetition?
  10. 2 points
    That's how I read it. Then for grins I loaded one up with (6) 16 point analog inputs and (6) 16 point analog outputs. That's 192 bytes each way: It compiled with no errors. Try playing with different configurations on your own. You're not going to break the software, and it will certainly tell you when you've screwed up. Just like people. 😁 Joe T.
  11. 2 points
    Douglas Adams was so clever he probably knew this. Any book(s) of his you have to read at least 3 or more times to get all the linked things.
  12. 2 points
    Hi all, we all do typos now and then, but this one of mine gave me a laugh when coming back to a wiring s/s a bit later. Got to watch out for those miniature broomsticks! cheers, Aus
  13. 2 points
    In hunting up a favourite laser cutter this morning I noticed that they also like to interact with Catholics. cheers, Aus ⚠️
  14. 2 points
    Hi All, We already have a solution for this case. As you can see we added the eye button option - if you will click on it the keys will not change their color/shade when pressing and the person who connected by VNC will not be able to see your password.
  15. 2 points
    I had a Hyundai Santa Fe once upon a time that strangely had the calendar date displayed on the dash. It was set with the month day and year and knew which years were leap years. However, the subroutine that it went into to allow February to have more than 28 days failed to have an exit. So, on leap years it would continue to count up from February 29th, each day incrementing up. It was easily fixed by resetting the date to March 1st, but I had to see what it would eventually do. Each day it incremented up until it hit February 99th, and since there were only 2 digits, I couldn't wait to see what it would do the next day. You would have thought that maybe it would go to 00, but it didn't. It completely lost its mind and displayed nonsense symbols every day thereafter.
  16. 2 points
    Hi, I will try to describe why it works without a connection. 1) There is output board inIside of the Unitronics OPLC controller. 2) Each of the solid state outputs is a part (one channel) of the few chip VN340SP (or something like that on foto). 3) To send signals from the processor to this chip, we must have one common wire and several separate ones for the required number of outputs. This common wire also neded for power the VN340SP. This wire is the OV contact you specified. 4) This OV contact is connected to the main power OV contact of the PLC panel through a small fuse (you can check with a measuring device that the resistance between the 0V and 0V contacts is not equal to 0 Ohm). For example i post foto of little fuse and 0V power connection for SAMBA SM70 board. That is why you output operate with 0V not connected. 5) If you neglect to connect this contact, it may happen that the fuse (or another cirquit) inside PLC blows and all your outputs stop working. Conclusion - always use the connection RECOMMENDED by the manufacturer. This will save your controller from problems and save you money.
  17. 2 points
    Hi guys--the Keep Alive for V700 is handled automatically – The Keep Value value is constant, 30 seconds.
  18. 2 points
    Depending on how old the OS was, there may have been a change in how a function works. Try this, too, to see if there's some code causing the problem. In Visilogic, go to Edit->Find Sub by Ladder Error Code- Enter "7E" (your ladder error) in the popup box. Joe T.
  19. 2 points
    I typically just use SB 13 to increment an ML. You can then divide that by 360 to get you hours to the tenth of an hour for display.
  20. 2 points
    Permanently run remote access or remote operator on the PC and tuck it away in a little used corner of the desktop? Or....have a look at UniDDE, or perhaps UniOPC https://unitronicsplc.com/Download/SoftwareUtilities/UniDDESetup_1_3_6.exe DDE will likely give you the basics of what you want, but you might need a little script running to cycle things periodically to fully achieve your needs. So you'd have a little excel window running and updating with just the info you want visible. cheers, Aus
  21. 2 points
    Dustin sent me his application privately. The problem was the images he was using had different outlines, so using "Transparent Background" left relics of the previous image visible. Not using the transparent background didn't look good, either, as the resulting animation looked weird and blocky. The solution was to use both "Transparent Background" (which applies to the image) AND "Draw on Back Color" The color used for Back Color can be selected, so I chose the color that most closely matched the pipe he was overlapping with the animation. It wasn't quite as good as a Bugs Bunny cartoon, but it was good enough. Joe T.
  22. 2 points
    Hello, Open font handler by clicking the (A) icon on the toolbar, from there you can add a new font.
  23. 2 points
    Ok I was finally able to send email to my local exchange server account using my local exchange server. Without getting into details, my problem was in the settings that I used in specifying the Account. A logfile would have saved me a lot of effort. The following link was instrumental in digging out the answers: Microsoft : Use Telnet to test SMTP communication on Exchange Servers Yea!
  24. 2 points
    I found a solution to this problem (it helped in my case, I was programming on another computer and at home project opening the same error occurred) The solution is as follows: 1. Open the project, do not click "OK" in the dialog box. 2. Open Task Manager, and shut down VisiLogic. 3. Restart the project, use recover, and click OK 2 times (in 2 dialog box). 4.Your project is open.
  25. 2 points
    I use this solution for correct display distance MF4 (mm) in 0.1mm on display (ML4). You can modify this for 0.01 MF1 = distance ( mm) in FLOAT
  26. 2 points
    Yes. You'll have to send them a text from within your ladder logic. Vision series Email blocks are not capable of using an email server that uses SSL, so you'll need to set up an account with a non-secure email server. The only public one we know of that can still do this is SMTP2GO. Look at the Example project for Email on how to set this up. Check out this post- Joe T.
  27. 2 points
    This is exactly what I had to do with Visilogic in an application that had multiple users with a couple of different access levels. As you've figured out, it wasn't the easiest thing in the world. UniStream addresses this with User Access Control that has 16 levels, 16 groups and 128 users. If this is really important to your project you may need to switch platforms. If you haven't already downloaded UniLogic I'd recommend doing so and having a look. Joe T.
  28. 2 points
    Hi HexMan, This option exist for the enhanced models – Please make sure to use the latest OS: 1 Set in SI165 the start address of MB the user will be able to access 2. Set in SI166 the end address of MB the user will be able to access 3. Set in SI167 the start address of MI the user will be able to access 4. Set in SI168 the end address of MI the user will be able to access 5. Set SB305 to activate the MODBUS limit. For example if you will set the following: SI165 = 1000 SI166 = 1999 SI167 = 1000 SI168 = 1999 SB305 = 1 The MODBUS master will be able to access only to MB1000 – MB1999 and MI1000 – MI1999. If anyway one tries to access the restricted operands SL46 will increment. You have to arrange MIs and MBs in sequence. There is ni separate limitation for read and write. B.R.
  29. 2 points
    Dear Samith Chathuranga, From the PLC POV you need to configure the mosquitto broker connection parameter in UniLogic. From the Help section:
  30. 2 points
    Hi Joe, I've worked with modems and communications on Unitronics for many years. They do certain things extremely well and we have seen many successful applications. More detailed comments and advice are below: 1. Ability to log in to the PLC Web Server - This is the most difficult of your 3 things to achieve over GPRS. You need at least a public, dynamic IP address. Once the GPRS connection is active, you then need a way to find the current IP address of the modem. One option is to get the PLC to send its IP address to you in an email once it has connected to the network. Note that this is not secure, anyone who figures out the IP address and what device is at the oter end can start to try and access it. 2. Ability to send a weekly csv. file via email - this works reasonably well, the nice thing about sending emails is that the IP address does not need to be public. However with the Vision family, you need an email server that can accept unencrypted connections. 3. Ability to send text msg for alarms - by far the easiest thing to do with the EHS6T and a V350. I would only recommend this modem to do SMS and nothing else. Trying to mix GPRS and text messaging is not simple, as the PLC to Modem communications has to be reconfigured for each mode (SMS or GPRS). Overall I found GPRS to be a fragile and difficult method of setting up a data link. If you want to use the web server, I would recommend switching to an Ethernet modem, which would also require the V100-17-ET2 card for the PLC. With ethernet you can do things like Dynamic DNS or VPN as a way to maintain a connection to the unit's IP address. However when switching to Ethernet, there is no easy way to keep using the SMS feature at the same time. The simplest workaround for that is to send all alarms by email, as most people now receive emails on their phones. SMS is beleived to be "reliable" but the SMS standard allows 24 hours delay in delivering the message (I heard a rumour that has been increased to 48 hours). In short, from my experience, it's not possible to do all 3 tasks that you have described with a single device/single connection, using just the standard built-in features of Unitronics. If anyone can improve on my advice, I'm happy to be corrected.
  31. 2 points
    First you need to scale your analog input that you have your RTD connected to. What are the specs on your RTD transmitter? From the -T20 specifications: You've mapped MI 0 to Analog Input 0. So at 4 mA MI 0 will return 204, and at 20 mA it will read 1023, which is the output from the 10 bit A/D converter. You need to know what real temperatures that corresponds to and us a LINEAR block to do the scaling before you feed it into the PID block. Read the Help on how this block works. A common spec for an RTD transmitter is 4/20 mA = 0 - 250 C. Here's how the LINEAR block should look for this scaling: The PID CONFIG block should only be called once at startup, and the input should be the scaled temperature: You have to put values in the input parameters before the PID block will function. You can use the power-up values to eliminate setting them with the program. Now the big question - do you know how PID works? The output of the block will be an analog value that will span between the Control Value high and low limits. I put some in for you, but if you don't understand what they mean you need to spend some time reading ALL the Help on the block. You'll probably have to convert the output to some kind of time proportional signal to drive a discrete output. You'll also have to run Auto-Tune or set the P, I, and D parameters manually while it's running. Joe T. Termotunel JT.vlp
  32. 2 points
    The "plugged-in" aspect of the laptop is VERY important. When you're on battery, everything is isolated. When you're plugged in, the negative of the power supply and everything else (including the USB port) is grounded through the neutral and that will often kill communications. Joe T.
  33. 1 point
    One rare device in my workshop. Still in use for punch tape read-in.... :) :) :) and upload to.... FDD!!!
  34. 1 point
    kratmel, Why you supply link to France site? Original documend will be found at Unitroinics Technical Library. It is updated from time to time. https://www.unitronicsplc.com/wp-content/uploads/2020/06/UniStream-Remote-I-O-User-Manual.pdf
  35. 1 point
    I recommend getting directly with a system integrator or your distributor for help with this, as it's more complex than the usual situation. I suspect the recommendation will be to use Canbus for remote I/Os combined with 5 IO-D16A3-RO16 modules, 4 IO-AI8 analog input modules, and 4 IO-AO6X analog output modules, though that will leave you no spare digital inputs. It might be better to add a Snap-In module such as the V200-18-E6B and reduce the IO-D16A3-RO16 by 1. I mostly counted this up in my head and I'm shooting from the hip, so please don't make any I/O decisions without consulting a system integrator that has reviewed your system. This is just to give you an idea of what's involved.
  36. 1 point
    Ausman/Kratmel, Thanks to you both! I've just updated to OS 5.04(B64) and the ET2 is working (and also appears in the Info Mode Page 6 Many thanks to both of you for your help! -Steve
  37. 1 point
    When SI 35 = 0, it's a new day.
  38. 1 point
  39. 1 point
    You've named everything with a "Heating" prefix and assigned units, so actual functionality of each parameter has been blurred. Here's the virgin PID config block table: Notice Output Range - Control limit - High and Low. This is a unit-less parameter and is the output of the PID block. You can use it as an offset or whatever else you wish, but you're fooling yourself assigning degrees F to it because it's not something that's been measured with a sensor. You've configured a negative value as the low and the Integral portion is winding up trying to slow the loop down and jamming a negative value in because you allow it. There's a function in the PID Auto-tune collection called "Read Control Components" - I would highly recommend you look at the Help on this block and drop one for each of your loops into your program. It will give you a lot of insight as to what's going on while the loops are running. Unitronics PID blocks work great in basic applications but aren't that powerful - they can't do heat/cool for example. I usually configure my Control limit low to 0 and high to 1000 which represents a loop output of 0 - 100.0 %. You're definitely doing some juggling with your loops here. You may be able to come up with a scheme that works, but the question was why is the output going negative. Joe T.
  40. 1 point
    A frequency of 1 Hz (as kratmel pointed out in your post from yesterday) is way too slow for PWM of a motor, whether it's designed to handle it or not. We still don't know exactly what you're doing. Please post the latest version of your program. Joe T.
  41. 1 point
    Hi Neels, UniStream is only an SQL client. I'm not aware of situations where an SQL client can respond to requests. I have done some quick google searches and there are situaitons where two SQL systems are set up as master and slave where they can request data from each other, but in those cases both master and slave are both SQL servers, and the purpose is to keep backup copies of data. Just another thought, if the customer installed MQTT broker and client software on their SQL server, they should (?) be able to set up the MQTT client as a subscriber to the MQTT data, and it would push new data to the SQL databse. The PLC would only publish data as it was relevant, which would optimise the data flow to the main SQL database. There should be controllability on the update rate at both the subscriber end as well as the publisher end. Going back to the idea of the UniStream connecting directly to the main SQL databse, It is possible to set the PLC to only push data to the SQL server on change of state. Maybe the server could send an SNMP packet to the UniStream that would trigger an SQL push? As I said, just some thoughts, based on general principles and completely un-tested... Simon
  42. 1 point
    Joe, Please I need you help. I have problem with PID !!! I don´get the PID: Control Value - the PID output I did´t see the fail. I have setup the PID configuration . But I have some bug in program. Are you able to look at it maybe correct it. I have take form Unitroncs Test PLC for testing the possibility to work out the program for this machine. I have this situation my Input signal is some PT 100 and with them i have to control some temperature in machine, but my controller i some proportional valve 0-10 V DC Second step is when I get this to control the steps of heating with time at sample 3 C in one minute. But that´s is second step. Please look at program Main Module ; 0 GLAVNI MODUL ; net 64;65
  43. 1 point
    Yes. With a LAN connection you may need to implement a DDNS system as well, many WAN connections are dynamic address. Most routers these days can be set up to do this automatically using any number of "free" services available. cheers, Aus
  44. 1 point
    You should only call the Send Email block for one scan. It looks like you looked in the Example Programs (which is a very good resource) but made a typo when you entered the coil after the block. This is how it should be- Joe T.
  45. 1 point
    Hi! I would really like to be able to sort data tables! That will be an excellent upgrade. As @JPowell said: Another great thing, is to have the possiblity to change Web Server language and also the language of the UniApps in the HMI. Thanks!
  46. 1 point
    I've compiled a new version of the Data Converters Suite, and it should solve the problem.
  47. 1 point
    Hi; Been there , done that. This is a Windows related issue. There is an install shield file that has information in it causing the problem, and has to be moved or deleted. Here is a solution: CAUTION : I Take NO Responsibility for anything that happens ( good or bad)!!!!! Local Administrator privileges may be necessary. KNOW what you are doing! Open C:\Program Files (x86)\InstallShield Installation Information There are a few or many very oddly named folders e.g. {12AB95C7-C72D-4CF5-9B6D-7452DF048C56} Starting at the top, click on the folder to open it: Each folder has a group of files. Look for the file : Setup.ini Double click to open the file or open the file in Notepad ( Notepad ONLY, this is a simple Text File) Top Line [Startup] 2nd line AppName= If the App name is NOT VisiLogic, close Notepad ( DO NOT do a Save or Save As) Move on the next folder If the Appname= is VisiLogic, Close Notepad Back out of that folder, Cut the Folder and Paste it into the Downloads Folder -- Just a safe place to put it for now. Also Rename the Folder and ADD - VisiLogic Restart the VisiLogic Installation, and ( fingers crossed ) it should go smoothly. You can also run a registry cleanup program later to locate and delete unused registry entries. Dant
  48. 1 point
    Hi Hex, No function block as such, but what you want to do isn't really that hard. Just needs you to do some maths and storage. You need to base this on a number of critical decisions, mainly frequency of count and numbers of records. 1). I'm assuming that your AI will be telling you the flow at near enough that exact moment. 2). You need to decide the time interval that is applicable to get the best average reading. If the flow varies a lot per second you may need to be recording this very frequently per second. If it is fairly stable then you can make the time (much) longer. 3). Once you have decided on your time interval, you set up your program to sequentially record the flow rate at that interval into a series of MIs. 4). Periodically, so that you don't use too many MIs, you do maths on all the MIs you've recorded the "instant" results into, and arrive at the total flow for the time period. 5). You then add that total to your master flow amount MI and then start the process again. There are other more complex ways to do this, such as varying the interval based on flow variances, but the essence is always the same. Relate overall interval time to number of samples taken and then do maths to get the flow rate for that period. cheers, Aus
  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
    Hey Guys, I may not be 100% sure on this one, but as far as I remember the Operand Values are lost when the Battery is Removed. I've seen very few Backup Batteries fail. A Couple of 5+ year old Vision 280's have had their Backup Batteries replaced, but Vision 570's that have been installed since 2007 are still going strong. Remember you do have SB8 to help you out. When SB8 is '0' the Backup Battery will be just fine. When SB8 is '1' that indicates the Backup Battery is getting Low. You could have an HMI Display pop up that tells the Customer they need to call their Supplier / Integrator and request a Replacement Backup Battery. Of course replacing the Battery results in the Program being Lost and Operand Values being Lost, so you will need to Burn the Program into Flash (For Backup) and Consider including an SD Card with all your PLC's that allows backup of Operand Values.
  • Create New...