Jump to content


Popular Content

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

  1. 1 point
    As a general rule, it's better to stay with integers. The way you do this is to use "implied" decimals. If you need precision to 1 decimal place, multiply by 10 before the division. If you need 2 decimal places, multiply by 100. You can display the integer with implied decimals or do the math for the correct timer preset before storing. Timers will only use integers, but are in 10 ms increments.
  2. 1 point
    The Recipe is a DTI file that you can load into a table. It is downloaded with the project. When working with DTI, the data is stored in RAM. If you choose to save the DTI into file, then it is saved into the external SD card, and it is not a part of the project, while the Recipe is being downloaded with the project and does not require an external SD. At the end, you need to load the recipe into a table in order to read data from it (You can have several recipes for the same table, and you can choose in run-time which one to load).
  3. 1 point
    A quick reply before shuteye! What you are wanting to do is "ramping". You will likely find that your drive can do this for you....most variable speed drives can......so that all you need to do from the plc is tell it the most basic instructions like stop/ go /direction. This method does make it easy. However, if you want to do it all through the plc, an example would be to use a MI (linked to the drive output) that starts at 4000 (for example) and you subtract 1 from it every few scans to reduce it down to the 0 output that has the drive turned off. You then ramp it up the same way for the other direction. Depending on your scan rate you might achieve what you want doing this every scan, but you may also need to do the subtraction every 2nd, 3rd or however many counts the scan time/ramp time maths works out to arrive at your ideal ramping speed. To adjust the speeds to other ones, you would have the same sort of thing in place....the current MI output is the start point, and another is the target which gets ramped to and then once reached becomes available for the next speed change input. Don't forget emergency stops in all of this!! cheers, Aus
  4. 1 point
    Hi Alex There is a topic here where this is discussed. There is a RAR file attached to one of the posts. If you follow the instructions with this you should solve your problem. Regards Denis
  5. 1 point
    I'm assuming you have a good connection to the PLC. Does this work: Connection->Communication & OS->Get OPLC Information If you can't download an empty project then something is wrong on the computer side. Try re-installing Visilogic - http://forum.unitronics.com/applications/core/interface/file/attachment.php?id=345 Joe T.
  6. 1 point
    You've set your frequency sample period to 1 second, which is good. 100 Hz = 1 ft/sec * 60 sec/min Cancelling the units and bringing the 100 to the other side of the equation - 1 Hz = (1 * 60) / 100 Multiply your frequency by 60 and then divide by 100. In that order. Joe T.
  7. 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
  8. 1 point
    Hi all, Just thought I would share with you a recent project building on an existing product running the V350. Apologies for the long post but as I am new to the forum there is some more general background which may be interesting to someone! Here in the UK I am involved with another company who manufacture and ship Friction Feeders worldwide. Many customers are in the print and packaging industries. The machine itself is simple in concept - dispense the bottom product from a magazine or hopper as accurately as possible; normally onto a conveyor belt. Typically this could be a small card fed onto a sheet of paper to product a mailshot. In very simple terms a sensor sees a product and calls for the motor to run. Unitronics allows us to control this process very accurately using servo motors. With placement accuracy onto a moving target of +/- 1mm. Building on a simple operation there are a number of parameters which can be adjusted on the screen for fine control. We have an established program which achieves this and also gives customers the ability for remote comms via Ethernet. The customer in a recent project wanted a little bit more... could the V350 control their entire process? Incorporating a conveyor belt and industrial sewing machine. The items were to be dispensed in batches and sewn to a backing tape. Looking at spare I/O it was obvious this was achievable. With just a couple of extra days programming the project was ready. I wanted to highlight our success with the V350, a fantastic little PLC which allows us to adapt to our customers’ requirements. With Visilogic we can incorporate new features very quickly. The use of a combined HMI and ladder environment (free of charge) was one of the major reasons I moved to Unitronics. It never ceases to amaze me what features are available to the programmer. To anyone just starting out don't be daunted, if things aren't working look for the simplest solution requiring the least code and you won't be far away. On the couple of occasions I have needed support the staff have been great and resolved issues remotely. Dave Production Automation Ltd
  9. 1 point
    Hi again all, In setting up a new little computer that I'll talk about soon in another post, I persevered with an issue I could see arising. Discussed this with Saragani and eventually arrived at this simple solution. I was worried that if the tablet was ever lost or stolen, the device had all my ethernet links and passwords to remote sites on it, essentially embedded into Visilogic. Not really a good thing to have all the client's websites and plc access readily available to the crooks! I wanted a simple way to have that info somewhere else, like the TF card that I could remove as necessary. I considered installing the entire program onto the card, but this would then lead to lag as it was accessed for everything. Instead, I eventually found out about Symbolic Links. Those of you more into puters than me likely know of them already, but they were news to me, even though I've been using puters from when you ran them by burning a stick! They work like a shortcut that Windows itself uses. If Visilogic is being correctly run as Admin, it stores all the ethernet settings in C:\Program Files (X86)\Common Files\Unitronics as a file called Eth_Favorites.evb. What the link does is leave a "redirection" at that location to the location of the "real" Eth_Favorites.evb. In my learning curve, I found lots of info, with this site being the best explanation: https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/ and the little program that I found easiest to use and doesn't install is here: http://www.softpedia.com/get/PORTABLE-SOFTWARE/System/System-Enhancements/Portable-Symbolic-Link-Creator.shtml We now come to how to use it all, so have a look at the attached screenshot. It is all pretty self-explanatory. The Real info is at E:\Unitest\Eth_Favorites.evb whilst the link is in the correct folder. If you do it correctly, it all works and is totally transparent. To make sure of full operation, do a test address to ensure that the real .evb is updated correctly. Using Notepad++ or similar, you should see the test address has been correctly added after you close the program. cheers, Aus
  10. 1 point
    Hi all, Nancygogogogogogogo(!)'s recent questions again reminded me of Visilogic's unusual naming conventions for communicating b/n PLC and PC. In other PLC systems, and indeed in the World in general, "Download" is to receive something into the PC. And if you "Upload" something you send it out from the PC. But Unitronics has chosen to reverse this nomenclature, and I well remember many years ago having to double check what I was doing until the brain made the Unitronics = commsbacktofront an ingrained habit. Again left wondering if it might be a good thing to have this "difference of convention" made a little more prominent in the menus? I feel sure this will generate another round of discussion! cheers, Aus
  11. 1 point
    It appears that you have collapsed your region (and expanded your Region comment). Click on the "Region Name" (nazev oblasti) in order to expand the region. Click on the Comment (Komentar) in order to collapse the comment. You have triangles near the region name and comment that suggests if its expanded or collapsed.
  12. 1 point
    Under System.SD Files you have a bit called "Date DT Busy". If I understand correctly, then you need to use it. If you have 2 writes happening at the same time, then you will cause problems. In every file system, a file can have multiple readers, but only one writer. You can also use the status of the Store DTI. 0 means success (or no errors), 1 means in progress, and any negative number means error. As soon as you call the Store DTI to file, the status changes from 0 to 1, so you can check the value before trying to execute another write. When loading a DTI from file, you should also check the status (so no read is in progress, because either the file might be in use, or the table is currently being loaded from file.
  13. 1 point
    I used one V350 that logs CSV file on SD cards and then sends it by email on local network. Maybe this can be one option.
  14. 1 point
    Yeah yeah, we're all different and that's why humans are such a weird lot. I see the logic, JohnR, but I don't agree with it. My reference point is always the computer I'm working at. Hmmmmm..."has George's computer got a bigger disc and more RAM than mine? Hang on a minute whilst I figure out which way I've got to set the description box!!" One of the best methods I've seen is: Transfer program > PLC -> File... > File -> PLC... No room for error there! It also then opens subsections that let you choose how much detail you want to transfer. cheers, Aus
  15. 1 point
    I would like to see them reversed to the proper way, but Unitronics is like a pretty girl, you learn a minor blemish does not make her any less pretty, or in this case any less useful.
  16. 1 point
    Hi, 1). Vision reads bar. 2). Vision executes bar entry routine. 3). Vision proceeds to bar. 4). Vision reads different codes. 5). Vision interprets codes, runs decision-making subroutine. 6). Vision waits for a while accepting results of decision-making sub. 7). Vision leaves bar sub.....somewhat unsteadily. 8). Vision attempts to run main program normally, but errors appear out of nowhere. Sorry JT. Couldn't help myself. You'll get a serious answer soon from someone who really knows how. cheers, Aus
  17. 1 point
    Ahhh, John R. If only politicians would abide by all of these thoughts, instead of just a few of them that they flog to death completely out of context! I have realised over the years that there are definitely humans that don't have natural intuition at following anything computerish. Carefully step them through a process until they've got it, and a week later they can't do it again, even though everything is on screen clearly displaying what to do. There is some sort of mental block. The classic case is the smart(er?) phone where the same button does different jobs depending what screen you are on. For some reason this is very confusing to a large percentage of the population. I don't think there will ever be the "one size fits all". However, those same humans can just breeze through other things that I find difficult....we are all different and can only try our best. cheers, Aus
  18. 1 point