Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 08/05/2019 in Posts

  1. 3 points
    Yes, it was already implemented and would be available on the next release of UniLogic.
  2. 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?
  3. 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
  4. 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.
  5. 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
  6. 2 points
    In hunting up a favourite laser cutter this morning I noticed that they also like to interact with Catholics. cheers, Aus ⚠️
  7. 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.
  8. 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.
  9. 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.
  10. 2 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.
  11. 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.
  12. 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.
  13. 2 points
    Hello, Open font handler by clicking the (A) icon on the toolbar, from there you can add a new font.
  14. 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!
  15. 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
  16. 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.
  17. 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.
  18. 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.
  19. 2 points
    Dear Samith Chathuranga, From the PLC POV you need to configure the mosquitto broker connection parameter in UniLogic. From the Help section:
  20. 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.
  21. 2 points
    Spotter90, What VisiLogic version do you use? Attempt to check for OS update from Help menu, then update PLC OS with new one and test again. If this does not helps - send your request to support@unitronics.com B.R.
  22. 2 points
    I think it's unlikely we'll ever see a software simulator from Unitronics. Their programming software is free and the PLC hardware is less expensive than most other manufacturers programming and simulator software. Just pony up for an actual PLC and you'll be amazed at how well it works as a simulator.
  23. 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
  24. 1 point
    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?
  25. 1 point
    You can look how much memory your projects consumes. If you look "Output" tab after compilation. Look there "Allocation Info", it should give you some idea how much memory is left.
  26. 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.
  27. 1 point
    I found this in machine part list : PUSHTOLOCK - 1pcs. After some investigation i found - it is Compressed Air Filter Regulator Lubricator Combo Water/Oil Trap Separator! 😂
  28. 1 point
    By the way, you can change the entry in the box labeled "Opis:" to anything you want. It will be above the keyboard when the user is entering the number. You could say something like: "Enter the value for pressure (max 2.5 bar)".
  29. 1 point
    If you get the Pro version of the PLC (-B10) you can serve your graphics up via the Webserver and achieve your dreams. The HMIs in this case are PCs running browsers. Joe T.
  30. 1 point
    Hmmmm. I have great mental pictures of you restlessly prowling around the house waiting for midnight to tick over. Coffee jitters, keys jangling in hands, can't wait to push the right one in and turn it! cheers, Aus
  31. 1 point
    I think that most long-time forum members know that I write the Help for the software. I was a newbie at technical writing when I joined Unitronics. I also knew nothing, zilch, about controllers, had no tech background except for whatever I remembered from high school physics. @Joe Tauser contacted me regarding one of the first iterations of the VisiLogic Help. (this was more years ago than I care to admit to .) Joe asked questions--I had to find out the answers and put them in the Help. In addition to improving the Help, I learned a lot about the field. He pointed out errors--including spelling and such, which was great, because I am the only native English speaker at Unitronics R&D, and have never had anyone to edit my writing. Joe is not the only one who has contributed in this way--but just has he has the greatest forum cred, so was the size of his contribution in raising the quality of our documentation.
  32. 1 point
    The other option is to save the program to a file on the SD card, but once again, this is an option the programmer must authorize in the original program (and supply you with a password). This is intentional to protect the intellectual property of the programmer.
  33. 1 point
    My brain was nagging me on this, saying I had something else. After a few days of it running as a background process, I remembered what it was. In case it might help, I've attached a copy of a very simple circuit I made ages ago (look at that T-Rex going past) to run some 12v motors, that worked very well running just these types of motors at variable set speeds. It was controlled by a simple relay switching matrix, but these days you could easily change it to speed control via a digital pot run by the Samba. To run a number of digital pots you switch between serial lines using good quality mini relays with gold contacts. I've labelled the main lines, but your electronics guys could consider the full ramifications and any mods needed. cheers, Aus
  34. 1 point
    Hi guys--the Keep Alive for V700 is handled automatically – The Keep Value value is constant, 30 seconds.
  35. 1 point
    Edit... for some reason I had this as being a Unistream issue. As I have said before on the forum, I'm only a Vision man. But some thoughts that might be relevant...... Initially, I'm with Kratmel in that you may need more time. It could even be a buffer not clearing completely issue. As well, as an experiment, can you change the node numbers around to see what happens? Does the error still happen on 2 & 3, or follow the physical connection? This would indicate that the values are mainly correct and the inherent stream delays in being online is not showing them. cheers, Aus
  36. 1 point
    If you want a button to be inactive during certain times, use the "Disable mode" function, but your solution doesn't solve the problem you're stating. Since you can only push the button when you're on a certain screen and the only check you're performing is to check to see if you are on that screen, then you aren't accomplishing anything.
  37. 1 point
    Dear colleagues, I'd like to share my first project using Unistream. It consists in a test bench for an important manufacturer of industrial HVAC systems and compressors in a new factory in Spain. When a new compressor is finished in the production line, it has to pass the test bench in order to be suitable for selling. These compressors can reach up to 250 KVA of power in 50 or 60 Hz and there are three independent lines: - The first line is for machines from 200 to 460 volts in 50 and 60 Hz and up to 250 KVA. - The second line is for machines from 12 to 48 volts in 50 and 60 Hz - The third line is for machines from 12 to 48 volts in DC. I used Unistream mainly for three reasons: - I needed to communicate with 5 Modbus RTU slaves (Power meters). Comms are quite easy with Unilogic. - I needed to use function blocks to control the great amount of contactors during the commutations. I can also manage them individually in manual mode with a unique faceplate indexing the data of the instance based on the object pressed in the screen. I wanted to integrate also interlock management and the fail-to-start alarms so the function block was almost mandatory. - I had a big datalogging requirement with the test results with the powers, currents, voltages, power factor from all the power meters to allow the operator to analyze the data from the test. There was requirements for trends and for exporting the data to CSV files. So the control consists in a sequence of steps which also requires intervention of the operator to select the frequency, and voltage. Once this is selected, the PLC will close the contactor with the 50 Hz or will start the speed drive with 60 Hz. It will also close the correspondent output of the transformer with the selected voltage and then it will start the fine tuning by regulating a variac up or down acting as a voltage stabilizer. I tried to do this with a PID but it’s quiet complicate since the variac is not analogic. You have to increase or decrease the voltage on it through two digital outputs (up and down). Trying to tune this PID resulted into impossible or not reaching a minimum error between the setpoint and the output or continuously oscillating. So I created my own PID where I sent a continuous pulse or small pulses depending on the distance between SP and MV. With this and a configurable minimum error I could set the MV with less than 0.5 volt error. The part with the communications was quite tricky as I couldn’t communicate with the 5 Modbus RTU slaves at the speed I needed and I had continuous congestions making the RS485 network to crash. Since the values from the power meters were used as the MV for my PID, I needed more speed so we added the TCP module to three of them. Then I had Modbus TCP and RTU but the change in the network performance was very important. The datalogging part was also challenging, because of the amount of data. I added a “record” mode on each line to start the datalogging, create a new CSV and close it once the test was completed. I’d like to thank to my colleagues in Grupo Galiana (Spain) for developing and building this amazing machine and the Unitronics forum people for the help. It was really challenging but the effort was well worthwhile. Thanks to everyone. Best Regards
  38. 1 point
    I tried to research this port and the original programming adapter for my own needs. Making your own is probably possible (and I even managed to do it with the USB interface- on foto), but there are two major problems - there is a 3.3 volt communication port in the PLC that requires a mandatory galvanic isolation that is in the original adapter. Therefore, I recommend listening to the above. You should use the standard devices listed in the topic for programming this PLC.
  39. 1 point
    Hello Ricardo, A good and safe way to have internet remote access via Webserver or VNC is to use a VPN router with integrated cloud service. There are various options available such as Ewon, Tosibox and MBconnectLine products.
  40. 1 point
    Hi Louis; Contact Unitronics Support directly -- or call them - get their number from your local distributor. Their Asian and European support is from Israel North American support is out of Boston support@unitronicsplc.com DanT
  41. 1 point
    Sooooo, following Flex's pointer, I started hunting around Help. And....drum roll....I've discovered the answer! Me, the greatest sayer of "use the help files", now finds the reference to doing just what I want. It is simply under Project and is an area described as "Convert projects". In my case there is a Convert project to V130-33!! Duhh! I am such a dumbo! There is also a convert project to colour. This is a classic case of having used Visilogic for so long and completely missing a really useful bit. I get really annoyed with myself when I discover something that's been there all along but I haven't really noticed. It is almost as if the brain simply glides over the words and doesn't see them! You can all kick me now! 🤣 cheers, Aus
  42. 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
  43. 1 point
    Hi Elmajestin, You have to store Data Table to SD card, then you can send this file as email attachment. B.R.
  44. 1 point
    Change the address to 0. Here's why- Modbus holding register addresses are designated as 4xxxx. When you enter the address in UniStream as above, the "4" is implied. In the original Modbus specification, the register count starts at 40001, which is the first holding register. Unitronics reads the actual memory of the device, which starts at 0. Different manufacturers use different conventions for Modbus, either 1 or 0 based. It looks like yours is using 1, so you have to subtract 1 from each address. As I've said before, this is all confusing to a new user. Verify your port parameters - 8N2 is rather unusual. It's usually 8N1. Did you define your tag "Status Generator" as a 16 element array? Joe T.
  45. 1 point
    Think about what an actual integral is. You take the curve and slice it up in small pieces and the area under the curve is the sum of the areas of the rectangles created as the widths approach zero. You can fairly accurately approximate this by determining the minimum time slice needed where you have little variation in the analog input (typically 100ms to 1 sec). I'll use 1 sec for this example. If you take your flow rate value (liters/hr) and divide by 3600, then you have the volume that flowed in 1 second. Sum that number every second to give a continuous volume. One thing to be cautious of is that your initial flow rate number be large enough so that you don't lose resolution by dividing by 3600. To prevent that, do your linearization to about 3 decimal places (i.e. if your flow sensor were 0-100 liters/hr, then linearize to 0-100,000 instead of 0-100 - this provides an implied 3 decimals of precision that you can use if need be or drop off your final value by dividing the final number by 1000).
  46. 1 point
    As a final comment, what I put out is just that - math. Your final results may vary. Don't order 100 pieces - start with something like 5. <rant> Define "quite expensive". Is this data kind of important or very important? I think management is freaking out over the overall cost of the project and struggling to get the cost down and pointing to a large dollar line item without quite understanding what's involved to roll your own sensor. When I was a young man I tried rolling my own 4-wire ohmmeter that was an integral part of a wire plating process. The short version is we tried to make my circuit work for a month in production only to determine that what I had come up with was not accurate enough nor could overcome the inherent noise in the process. We had to buy a $5K meter that worked in the process right out of the box. So often I see a company hire a young engineer and put him in charge of something that is really out of his league. "Oh, he's and engineer! He can figure it out!" But what's missing is the crusty old engineer to give him guidance. So he comes up with a process controller / monitor that is based on an Arduino or a Raspberry Pi. And he thinks he's a genius, just ask him. And then he goes and gets another job and nobody has a clue how it works. Consider the value of your time and how much damage you will cause if this doesn't work or is flakey. Also consider who gets to maintain this thing. If you built it, you are married to it. If you do go forward with this be sure to document the shit out of it, including ordering spare parts and writing a calibration procedure. That's what professionals do. </rant> Joe T.
  47. 1 point
    Not quite. You've reference TD 0 but not activated it using a coil assigned to the timer's address. Also the Toggle coil will toggle on and off every other scan because you're continuously triggering it. Always use a P contact with a keypad bit and with toggle coils. You don't need MB 0. I think this is what you're looking for- The timer will reset itself when you remove power (net 2). Note that if you press Key #2 again while the bit is ON and the timer is running then you will toggle the bit off. If you want it to stay on, replace the toggle coil in net 1 with a SET coil. Joe T.
  48. 1 point
    For anyone producing their own electrical/control drawings you may have noticed the downloadable blocks in the technical library. Personally I have only ever found these useful for overall dimensions or to show the display on a general arrangement drawing. It's a shame we don't have anything showing the actual connections in .dwg (a bit like the images in the install guide). Anyway I will post here something which has helped me provide clients with a reference for connections. These are blocks and in reality the PLC connections will have interconnecting wires and all the usual stuff you would expect. I have lost count of the amount of times I have encountered the terminal number vs input/output number confusion!! Feel free to offer any thoughts. V350_Blocks.pdf V350_Blocks.dwg
  49. 1 point
    Hi, I want to create a pop-up in my application. Because the crf21part 11 , I need to create a pop-up for user insert your sign and comment for actions log's. regards, Mauro.
  50. 1 point
    Hello, SAMBA doesn't have the same memory specification like V350/V570. As you understand SAMBA is 1/10 memory capabilities compare to V350. Samba is especially suited for small machine applications. Like Jazz, Samba is designed to give an optimal price/performance for low-end PLC and even to Smart Relay customers. These are OEMs who make small machines that have low I/O requirements. Samba is a step up for them – allowing OEMs to offer a color touch screen instead of their current text display. Most of the memory is occupied by the HMI variables, HMI variables with more properties can take more memory. Please note that converting projects from V350/V570 to SAMBA may cause to incompatibilities between operands. I hope it helps…
×
×
  • Create New...