Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 01/22/2019 in Posts

  1. 3 points
  2. 2 points
    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
  3. 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.
  4. 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...
  5. 1 point
    OK the operational state means that the PLC is unable to talk to the URB(it's not establishing a connection) 0- Establishing Connection (in Progress ) When you pinged the URB was that from a PC or the UniStream?? 1)Trying pinging the URB from the UniStream via Uniapps->Network->Ethernet->Ping 2)You've set IP address for both the panel and CPU(your PC will use the Panel IP to communicate with the PLC, the PLC will use the CPU IP to communicate with the URB) 3) Is it an isolated URB and PLC are on an isolated network or are you going over the top?? 4) how did you set the IP on the URB?
  6. 1 point
    Swap the reset and set locations of update and set time in your shown 3rd rung? Why use so many set/resets in the first place? For me I always try to use the least possible, as expected sequencing often goes astray due to things changing in one scan. cheers, Aus
  7. 1 point
    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.
  8. 1 point
    Hi Elmajestin, You have to store Data Table to SD card, then you can send this file as email attachment. B.R.
  9. 1 point
    Hi and welcome. Before doing anything else, did you do the install as right click/run as admin? And once that is done, go to the U90ladder.exe program itself and ensure you have Run as Admin selected in right click/Properties/Compatibility. If you did not do the install as above, save your plc programs, connect the plc and manually fully delete the matching com port driver in Device Manager, completely uninstall U90 using the standard uninstaller, then delete the Unitronics U90 Ladder folder if it remains, reboot and start again, doing the install as first mentioned. In theory the latest versions of the program do the admin stuff themselves, but sometimes it doesn't work. Once you have done that, see how it goes and then we'll proceed from there. cheers, Aus
  10. 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.
  11. 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!
  12. 1 point
    After downloading Complex WebServer from "PLC Tools & Applications" and unzipping it to separate directory, read "Enhanced PLC WebServer.pdf" document. *Write project Data Table information to PLC to make Web Server working.
  13. 1 point
    I have found these IP addresses to use, 43.228.184.6 -- current using in a test program - works from SMTP2GO : North America: 43.228.184.6 or 103.47.204.4 Europe: 103.2.140.82 or 103.2.143.7 also check out this link : https://support.smtp2go.com/hc/en-gb/articles/227835308-Worldwide-Server-Locations-And-Email-Routing DanT
  14. 1 point
    Hi, On the 15 August we got a few complaints that customers get this run time error 5 when they are trying to download application via U90Ladder. We investigated more and found that this is an issue caused by the latest Microsoft update. In order to solve this issue until Microsoft will release new update - Please try to uninstall the update via "New installed updates" or roll back before the update. Please see below link to Microsoft update and known issues: https://support.microsoft.com/en-us/help/4512508/windows-10-update-kb4512508 *For other version of Windows Microsoft KB article number will be different. Article can be found in the below link: https://support.unitronics.com/index.php?/selfhelp/view-article/u90-ladder-and-runtime-error-5 Best Regards,
  15. 1 point
    Just for clarity to everyone following this saga. The EXL-CAB295 is for the EX-A2X, NOT the EX-A1!
  16. 1 point
    Open favorites (if possible) and make snapshot to save for feature reference. Close Unitronics applications/programs. Go to "C:\Program Files (x86)\Common Files\Unitronics" and rename "Eth_Favorites.evb" file to "Eth_Favorites.evb.old". Create favorites again. It should work. *Favorites file somehow damaged.
  17. 1 point
    This is a classic example of how a transitional being called affects things akin to my statement above: " something unexpected going on during one of those "setup" scans can affect things ". The plc deciding what is being asked and finally setting things at the end of the scan, such that only one scan totally disrupts an expected operation, is an easy trap to fall into. And we have all done it at some stage! "Why didn't that work? Hmmmmmmm....the logic looks right so it must be a sequence issue missed by the dumbkerfarfen who wrote it!" (Hey...my new word that google's never heard of!) Without knowing the rest of your program, I would be putting ALL your motor controls in the one sub, which is constantly called. Another thing that you may possibly need to take into account is that you are running the motor via modbus, which has inherent delays that must be allowed for within all your controls. Things like emergency stops, deadband/hysteresis, etc. cheers, Aus
  18. 1 point
    Update firmware before first program download
  19. 1 point
    I've recently been teaching myself Unilogic after using Visilogic for about a year and the thing that sticks out to me the most is that while Unilogic definitely looks more "modern" the UI is absolutely horrible and wastes so much space. To the point where I'm having issues using the program on a single screen compared to Visilogic's much more condensed and less cluttered style. Is there a theme or setting that I'm missing that could lower the entire UI scale or something along those lines?
  20. 1 point
    Just a few comments regarding the Ewon Cosy VPN router and its integration with Unistream controllers. I have used the Cosy to remotely connect to a Unistream 10.4" HMI via VNC through internet and it works great. I also used the NAT 1:1 function, so that the user won't need to use internet when connected in the same LAN. Connection is 100% reliable and response is relatively quick, there is a bit of lag but it is fairly acceptable. It takes approx. 15 min to set it up and get it working, only very basic networking knowledge needed. Connection is achieved via Ewon's M2WEB cloud service and requires to have a valid TALK2M account. Unit price for a COSY 131 is quite high (490 Euro), but in my opinion it is worth as connection security is number 1 priority.
  21. 1 point
    #1 - Do NOT place multiple logic threads in a single ladder rung. #2 - It appears that you are not using the Timer correctly. Here is the Help entry for the On Delay Timer you are using. You must use the Out bit. If you are still not understanding, ask a specific question and we will help you.
  22. 1 point
    For what you want I wouldn't be going to too much trouble. The unit uses about 12W max so I'd find yourself a little enclosure like my pic I found. Plastic lids are very easy to work with, and if you don't have precise machinery to machine the hole, you can easily do it carefully with a jigsaw. Put some duct tape on where you're cutting to protect the surface that will remain. For power I'd simply use an external plug pack, and run the lead through a nylon gland on the side of the box. Same goes for your ethernet connection, use a gland big enough to let you run a standard ready made patch lead through of the right length. Your location will dictate where you get this stuff, all of it can normally be found at any decent electricians' supplies store, or a hobby electronics type place. cheers, Aus
  23. 1 point
    Did you look at the Help file? The example is for an older PLC, but the basics are the same. When you place the Timer HMI element on the screen, link to the timer operand you want, check the Preset box, and the Keypad Entry box. Also, set up the Format and other niceties for your HMI element. That's all there is.
  24. 1 point
    Hi all, I'm sure lots of you know about these things that make life much easier using com ports. But in case you don't, here are 2 links to different sources amongst many: https://www.aliexpress.com/i/32860271754.html https://www.amazon.com/fosa-Ethernet-Terminal-Splitter-Connector/dp/B07D355PDX cheers, Aus
  25. 1 point
    Ahoj Bence, posielam tagy pre EIP komunikáciu. Rýchlo napísané, podrobnosti iba pre port-0. Hi Bence, I send tags for EIP communication. Quickly typed, details only for port-0. Link for Inspiration.: Balluff_GlobalTags.xls BalluffStructs.xls
  26. 1 point
    Please post the make and model of the CT. A link to a data sheet would be even better. Joe T.
  27. 1 point
    Agree with Gabriel. Also, it is possible that you have damaged something by not looking into all the parameters in the first place before connecting AC to something that is DC. This may account for the fluctuations you experience with the tester. You should be using the final CT product in your testing, not something that is different.....it's not much of a durability test if it isn't the product you're going to be using. Finally, ensure that you have all the wiring as recommended in the install literature. cheers, Aus
  28. 1 point
    I like your way, too! It demonstrates that you can think in terms of bits, which are the foundation of all the other data types. There's a cat being skinned multiple ways somewhere.... 😁 Joe T.
  29. 1 point
    I'm only looking quickly and might miss something, but SB2 in your third rung is only calling the actual read on power up. You need this to be an actual call from other parts of your program, whenever you want it to happen. Would be nice to see the actual settings in Com Init 2. And don't use PLC Net ID, especially 0. If you look at the dropdowns that then happen, you will find preset determinations of what they do. Instead, do a direct store into SI8 of whatever unit ID number you want the plc to be. For Modbus I generally make the master "2". This allows for some later additions to a network that might default to 0 or 1. Your other understandings seem good enough, but no doubt I have missed something somewhere. Try my suggestions and see how you go. cheers, Aus
  30. 1 point
    Justin, Thank you for posting your code with your question. For starters, download the examples and take a look at them. Also look at the Help under Contents->Tags->Data Types. I've looked at your code and have a couple of suggestions- 1. Your tag names are way too long - you can't easily see what you're doing in the code and selecting them when you drop a contact becomes cumbersome. I know UniStream allows these long names but the Creators didn't give us a method of displaying more text on the display so it's easy to get lost with overly verbose names. 2. Similarly, use short names in the "Alias Name" in the IO tags tab. "URB Adapter1_O..." means nothing. I see you have three four output modules, so I'd suggest "Out1" to "Out12" as I don't know what these really are. The alias tag is set at the bit level, and you can use that name when writing your code. 3. An easy thing to be confused about is thinking that timer function blocks act the same as a contact themselves. They do not. A timer is an object that has .Preset, .Current, and .Out properties. The .Out is what you assign to your contact elsewhere in your logic. 4. You do understand that a TE timer is a pulse, right? Usually people use TD (delay) timers. Always start a TE with a positive transitional, unless you want it to keep pulsing. I hacked on the first few rungs of your code, renaming things per the above suggestions for the East Lane DDA In. You'll see I shortened the tag names considerably and aliased the outputs. Let us know what further questions you have. Joe T. P.S. - You may want to ask your local friendly distributor to help with some initial training on the product. I do this for my people. EIDSpeedLanes_modified1 JT.ulpr
  31. 1 point
    Send your request to support@unitronics.com and let us know what they answer. Joe T.
  32. 1 point
    It's 16383. There are 2^14 counts, but it starts at zero, so the highest number is 2^14-1 (all 14 bits on would be 2^14-1, or 16383). This is what goes into your linearization block, though you would likely never notice it in the real world if your linearization was off by 1 part in 16384.
  33. 1 point
    That would be logically impossible. You're asking the PLC to log to the file - it can't be read-only if you want to write to it. You can always change the file attribute after you remove the SD card from the PLC and transfer it to a PC.
  34. 1 point
    I have found the Vect. Linearization block most useful in Visilogic for dealing with applications involving temperature. For example, how do you get rid of that pesky decimal point on a whole thermocouple module in one fell swoop? Here's how- So when I'm translating this application to UniStream I discover this block is missing. The Help on the UniLogic describes how an array can be passed as a parameter, but it doesn't mention that only one element of the array can be passed. I spent a fair amount of time trying to specify my thermocouple structure as the input argument to the Linearize block to no avail and eventually contacted support. No, you can't pass a whole array. So having learned my lesson from the PWM block I went looking in the examples. Sure enough, one of the Creators had wisely made an example app containing the "Linearize Array" UDFB, which is set up to handle a 16 element array. Make sure all your variable structures and data types match when you're using any UDFB. On top of removing the decimal, my customer made the totally unreasonable request of being able to convert all the temperatures from F to C from a button on the screen. Fahrenheit rules the world! No, wait a minute, it doesn't. Anyway, here's what I came up with using the UDFB- Remove the decimal. Notice that the convert F to C block does it automatically- Now the first time I did this, I realized that all the user setpoints were still in the units entered. So we have to convert all those, too. I do like how the input parameters are easily recognizable and editable using the UDFB. And good times where had by all. Joe T. Linearize Array.ulle
  35. 1 point
    It's totally this. It helps you organize the subroutines into subcategories. I rarely use modules (other than the Main module, of course), but once a program gets extremely complex, grouping subroutines into modules can make program development and troubleshooting a bit easier. The PLC doesn't care.
  36. 1 point
    Sounds like you are just interested in data transfer between all the PLCs, not handshaking. There are many ways to do this. I normally use MODBUS TCP when transferring data between PLCs over Ethernet. You need to assign one or more PLCs as the MODBUS Master. There are multiple ways to do this as well, but one way that allows all 4 PLC programs to be nearly identical would be to make PLC 1 Master to PLC 2, PLC 2 Master to PLC 3, PLC 3 Master to PLC 4, and PLC 4 Master to PLC 1. This daisy chains all the data around to all the PLCs. The drawback is if one of the PLCs goes down, then the chain is broken. Another option is to Make PLC 1 the Master to PLCs 2-4. PLC 1 would collect all the data and distribute it to the other 3 PLCs.
  37. 1 point
    Every time I got corrupted file, it was because I had to add new font because default fonts can't display č. I learned this lesson once, but still remind myself from time to time. Did you ever lose any critical data?
  38. 1 point
    I agree with JohnR, but if I knew any English I wouldn't spend my day talking to computers.
  39. 1 point
    Another meaning. Maybe it's "Push this button, stupid".
  40. 1 point
    Hi Nahum, Thanks for the advice. I also did some testing using a PC based Modbus master simulator (ModScan) and confirmed the situation as well. I also found that there was an offset of 1 between the internal UniLogic address value (in the Modbus Slave configuration) and the external Modbus address. For example coil register 9472 appears as 09473 (Read Coils (1)) or 19473 (Read Discrete Inputs (2)) I think it would be a valuable addition to have an explanation of this in the UniLogic help file under Modbus Slave. For example: Coil values can be read using either Read Coils (1) or Read Discrete Inputs (2). For example coil address 4444 can be accessed as either 04445 (Read Coils (1)) or 14445 (Read Discrete Inputs (2)) Register values can be read using either Read Holding Registers (3) or Read Inputs Registers (4). For example Register address 1111 can be read as either 41112 (Read Holding Registers (3)) or 31112 (Read Inputs Registers (4)) Maybe add a configurable offset value to UniLogic, so this offset can be corrected in future applications, without destroying backward compatibility?? It has always been a common "gotcha" with Modbus, to discover who counts from "0" and who counts from "1". Thanks, Simon
  41. 1 point
    hi...if the DTI can be sorted from the beginning (when this is populated) you can check the valuo of the row "0" if this value is less of the row that you have to insert increase a variable to check the next row...do so on...when the result is positive (the new value is less on the read row) you can use the "insert row" UDFB...and reset the variable to check the row. I hope that my explaination is clear.
  42. 1 point
    On the screen issue, in theory it can't happen with Visi not letting you do it, but sometimes it does and needs an extra pixel clearance on what Visi lets you do as minimum etc. I know this is a bit convoluted explain, but its the best I can do! cheers, Aus
  43. 1 point
    I'm not sure if this will help but it works to time stamp the entries in our DB.
  44. 1 point
    @FredrikH, Please download and install the attached version. It uses a different 3rd party DLL that creates excel files, and it reduces the total used ram to a safe level, so you should be able to convert your files using SD Card Manager. Please update me if it helped. Thanks. Unitronics SD Card Suite 2.0.66.zip
  45. 1 point
    I've used Motorola (bought by Zebra) with Vision products and had good luck. Haven't tried this with UniStream yet. Joe T.
  46. 1 point
    Is this another solution? Just learned to use the copy byte function in the logic menu.
  47. 1 point
    Hi MattP_Mac, 1.Make ping from your PC to PLC IP. Does PLC answers? 2.Open DOS prompt at your PC and enter "telnet 192.168.1.10 20256". DOS display will blink, clean and stay black. Is this what you see? 3.Enter PLC info mode and check Socket 1 status. Is it connected? Share test results. B.R.
  48. 1 point
    I would like to start with many compliments on the Unistream Product. Yes it is a huge cost savings from other comparable products out there, but the horsepower really comes to light when using the data tables, FTP interface and the USB DOK tools. Not only can you accomplish a lot of traditional tasks with these units, but you can work with data and share this data so easily. Thanks. There are (2) enhancements that I think go together that would put the icing on the cake. 1st, we need at least (2) dimensional arrays. You have sort functions for arrays, but with only a single dimension, I typically need to have another field that is associated with the sort field. 2nd, having a sort function for data tables would be so powerful. Being able to run a Min/Max sort on a column so the data table can be organized based on a column sort would provide more capabilities with data tables. As a note, I cleaned up the Num to String UDFB to eliminate the space allocated for the +/- sign when neither are used, finished the 0 fill feature and increased the number of digits so double integers can be converted. Again, nice product and this only looks like the beginning.
  49. 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…
  50. 1 point
    The reason you are getting the message is the propbably same reason I got that same error two days ago. If you are running Vista or windows 7 you more than likely had a windows update recently (since the last time you used Visilogic program). If your computer is like mine the automatic update reset my UAC to on without my permission. Just go back into UAC and turn it back off. I do not know why this happens but it has happened twice on my work computer in the last 6 months. Keith
×
×
  • Create New...