Jump to content


Popular Content

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

  1. 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.
  2. 3 points
    Ohh no, the old usb issues! 1 Perhaps Win 7 is now doing the W10 trick of updating drivers to whatever Msoft deems best, regardless of what the user wants/knows. I'm still on 7 and haven't encountered this yet, but I very carefully look at every update that is offered and find what it is doing. The immediate suggestion is if you have System Restore on, you should roll back to before the updates and see what happens. 2 I have had instances where a usb cable has suddenly broken a line internally. I'm assuming you have tried another known good cable in your attempts? In my instances the error messages you're getting were similar..."unknown but I know something has been plugged in." Murphy's law says that this failure is going to happen just after an update that will appear to be the culprit! 3 Have a good read of this entire discussion: In particular note the program I recommend: http://www.pro-it-education.de/software/deviceremover/ Edit: I have discovered this link doesn't work anymore. Can now be found here: http://www.softpedia.com/get/System/System-Miscellaneous/Device-Remover.shtml I have found it incredibly useful for removing dud drivers Windows squirrels away. If you haven't had luck doing 1 & 2, try getting rid of everything using it and start again from known good drivers. ONLY install them. 4 I am finding more and more devices that used to be serial connections, but are now usb in the same looking body. But lo and behold they have just added a prolific/fake chip onto the pcb so that it "looks" like the unit is usb to the user. It is essentially still serial and the onboard chip lets them get into it if they don't have serial connections available, like modern stuff infuriatingly doesn't. I have been exceptionally careful about what I allow to happen during the first insertion of any device that likely falls into this description. It is a minefield. Tread carefully! cheers, Aus
  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
    Something tells me that @Joe Tauser's troubleshooting face is the same as his regular one.
  5. 2 points
    This may sound insignificant, but I want to be able to be able to add color to the comments to make it easier to see when scanning down through longer programs. You can color the side bar of the rungs but not the comments. Thanks Visilogic Team! Paul
  6. 2 points
    Hi, You can create a kind of "message box" using a rectangle and some variables on top of it. configure to each one of them Visibility bit. then when you wish to show this message box set the visibility on. Once the operator chose his option you can reset the bit and the message box will disappear. you can do the same with custom control.
  7. 2 points
    Thank you for posting. We appreciate it! The problem is you are calling the all the Modbus reads with the same trigger and you're not checking to see if the Modbus task is busy. When you call a Modbus read block it actually spins off a separate process that takes a while to complete. It also really helps to put a little breathing room via timer between reads. I've modified your code to make a state machine cycle through the reads in order and slow it down to let the read function reset. I know the examples show chaining read blocks one after another, but my experience has been this doesn't work. You're probably going to have to update your version of Visilogic to open my file. You can fiddle with the delay times to make it go faster. You'll find that when you set them too low the blocks will hang up. Let us know how it works. Joe T. Thermofisher JT.vlp
  8. 2 points
    OK. Still confusion. I'm assuming you are talking about having your push button "1" connected to Digital Input (DI) 1. Then your button 2 on DI 2 and so on. This will use many of the inputs, which is OK if you have them to spare. You saying "port" in some ways means the serial connection socket, hence my question. There are other ways of doing this, but......... Before I go any further, have you considered using a cheap touch screen computer running Remote Operator, directly linked to the PLC? In some ways this will be the easiest method of the lot as you can use the inbuilt number entry methods in Visilogic etc, but via a touch screen instead of the membrane keys. You may end in similar costs by the time you cost out keypads etc doing it the other way. You can find RO here to trial it: http://unitronicsplc.com/Download/SoftwareUtilities/Remote Operator V1.0.67.zip In the same thinking, maybe go up a PLC model to one that has a touchscreen as standard? cheers, Aus
  9. 2 points
    Hello Ofir, The addition of Timout and Retries in the default MODBUS operations will be a large help. I Often need the ability to Auto-Detect Slaves in a network - which is why I need the ability to change slave ID's. The Addresses could be from 1-255, and I don't want to have to set up 255 different combinations of possible reads(Last I knew, you could only even set up 32 slaves as a time anyway). I also need to often read multiple different register locations/lengths while switching between slaves - so i am really limited on this by the simple mode, and must use the Advanced Modbus functions. Thanks again for a great software and hardware. I'm sure these abilities will be introduced again eventually. -Matt
  10. 2 points
    Hello there :-) The Help file for UniLogic does contain information on how to use passwords to ensure security--check out the attached screen capture.
  11. 2 points
    I need to interface a Unistream with an Omron PLC. Specifically, the OMRON SYSMAC CJ2M CPU31. Omron requires an EDS file for all Ethernet/IP connections and a generic EDS file we found does not seem to work. The Unistream is configured as an adapter and the Omron is configured as the scanner. During testing, I did attempt to switch roles and have the Unistream as the Scanner and the Omron as the adapter, but neither configuration seemed to work. The error message in the Omron indicates a byte count issue; however, with the assistance of an Omron integrator, we confirmed that the number of bytes in and out of the Omron is correct.
  12. 2 points
    Thanks Ofir this is good news. For the SD Card Explorer alternative that I looked for I think I found an elegant solution. No need to install any software like FTP client what so ever. I found that Windows File Explorer can use as BI two-way FTP Client. First Unistream should be defined as FTP server with username, password and read-only option should remain unchecked. Then Using Windows File Explorer (not internet explorer) type the address:e.g: Type in username and password in the pop-up window and the SD Cars content will show with the ability to drag and drop files in both direction. The difference between any Internet browser and windows File Explorer is that the later support two way file transfer. For quick access into the SD card files and folders and being able to make shortcut on the desktop or anywhere else follow this link http://windows.microsoft.com/en-us/windows/work-with-files-ftp-site#1TC=windows-7 Hope anybody will find it useful and I will be happy for any comments Ofer
  13. 2 points
    I've passed your requests to The People In Charge--thanks :-)
  14. 2 points
    Off course there is no memory for local tags... they are local. Consider the pseudo code (assume that variables that are declared have a value of 0 and not an 'Undefined' value) public int Add(int a, int { int c; c = a + b; return c; } Now, you first call it with: Add (2, 3); the first time you call Add, c would have the value of 0, and then it gets the value of 2+3 ==> 5 Now you call it again, like Add(3, 5); Do you expect that 'c' would still contain the value of 3? It is being re-declared and it has the value of 0 again (and then it gets the value of 3 + 5 ==> 8) The variable 'c' is being declared on the stack, since it is a local variable. Once you go out of the function, it is gone (this is why it is local... It leaves within the scope of the function. And if Add would have a recursion (meaning it calls itself again and again, until a certain condition is true), then each call of the function will have it's own 'c' variable. Because of the fact that local variables are lost when you leave the function, you can't also have a positive or negative transition on the bits. The reason why you can't do a positive or negative transition on Function-In/Function-Out bits is because on each call you can pass a different bit (so you can't correctly detect a Rise or Fall). If you do want to latch a bit inside a UDFB, then it must be passed by Ref, meaning, it must a be a global bit which is passed by either as Function-Out, or Array of Bits / Strcut that contains a bit that is passed as Function-In (And with this way, you can pass a different bit on each time), or just work with a global bit.
  15. 2 points
    By the way, Cara, you guys should definitely develop a modest UDFB of this nature for us to use to wow customers and potential customers. Give it some thought.
  16. 2 points
    The EXF-RC15 is a stand-alone CANbus module. It works with either Unistream or the Vision series. You get your fastest response using a V1040 with a Snap-in Module where they are treated as local I/O. To get your 24 inputs use a V200-18-E62B, which has 30 digital inputs and 28 transistor outputs. Read the Help on the 1.25 ms Interrupt routine and the Immediate Input function block. Put those two together and you magically get 400 Hz response time on all your local inputs. Joe T.
  17. 2 points
    I'm guessing you want to display all this on the PLC screen. That's a bit more work. Two solutions come to mind- 1. Use the built-in Alarms function and configure all your events as "alarms" with no reset or acknowlege. The time-stamping and logging take care of themselves. The only downside is it will look hokey. 2. Use two tables - one stores all your event descriptions and an index pointer. When an event happens, look up the description with the index pointer and stuff it into a second table with a timestamp, bumping all the rows down and putting the newest event at row 0. Then build a screen that will display the table rows of ASCII strings of the time and the descripton. You could use the arrow keys to increment/decrement a pointer that will retrieve selected groups of rows and update your ASCII variables. It's really not as complicated as it sounds. Take a swing at it and let us know if you get stuck. Joe T.
  18. 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.
  19. 1 point
    By the way... in future... Do not rename the main display when you start a new project. Never wipe the main display out of the project - this leads to incorrect order of display on the screen. And this can not be fixed by creating a new main display. This feature was studied by my students. After wiping the main display, they were not able to restore the normal sequence of opening display at startup and must to completely redesign the project from an empty project. P.S. In your project this isue not appear.
  20. 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).
  21. 1 point
    Hi Try using a positive transition contact on "Video Timer Out" on net 2 You may be calling the screen continuously with the direct contact. Regards Denis
  22. 1 point
    @Saragani FIXED! Thank you very much for this, I tested the file and it works perfectly. See the snapshot, one is with the file, the other is not. What was the bug? running out of memory somewhere? Again, thank you all for your help and Saragani for fixing the problem. Cheers!
  23. 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.
  24. 1 point
    I disregarded IP address range because of quote above. I guess that's a statement, although it does end with a question mark. I thought that address looked like Microsoft's "dummy" address. Any two devices on the same physical LAN and common subnet should be able to communicate. I didn't see or confirm the IP address the phone had obtained. 169.254.x.x is not an address pool I would expect to see in a DCHP router. It would be a good measure to put router, plc, and phone in a more traditional address pool like: 192.168.x.x or 10.0.x.x I have an app on my iphone called "ping lite" that runs IMCP ping command. Very helpful in determining if basic network communication is working between phone and other device (PLC in this case).
  25. 1 point
    RobertW: If you have specifics you can post on forum or call Unitronics support. Both helped me greatly when tranlslating a large program from Visilogic to UniLogic. If you are starting with Unilogic it may actually be easier, I really had to retrain my brain away from all the terminology and form of Visilogic. It's not bad once you get the hang of it. You have a powerful support team to assist you, be NOT afraid to use it Sir.
  26. 1 point
    You can use Modbus for Vision-Jazz communication. Jazz has only one Ethernet port but it can be configured for both Modbus and PC connection (only one active at a time). Put memory segments you need to read in sequence (MI0, MI1, MI2...). Contact support for additional help to make SCADA work with all PLCs, it must be something trivial that you overlooked. I always received fast and useful advice Unitronics support.
  27. 1 point
    Hi Splathappy, IO Link is an extension to existing protocols. You could use an EthernetIP Field coupler that speaks IO Link to make it work. AXL E EIP IOL8 DI4 M12 6P From Phoenix Contact can make this happen for you. BTW IO Link is definitely something great to look at! Best Regards,
  28. 1 point
    Hi all, Although I am not as affected by this as slightlyloopyatthisstage Flex, I can see how it would be frustrating if you are doing it endlessly. Perhaps another solution would be the addition of a variable list via another tab on the outputs area screens. One could then go through the variable list and copy/paste, using all the innate abilities there, or do other names prior to needing them. You would then have a dropdown listbox in the variable screen for easy choosing of the already named variable, similar to the existing method of choosing MIs, SBs etc. cheers, Aus
  29. 1 point
    Hi All, Corrupted/incorrect file names appears as result of corrupted file system on SD card. Sending files to Unitronics Support will not help, as you cannot copy such files/directories. Recommended corrective steps: -Copy from SD card all not damaged files to PC. -Eject SD card and run chkdsk at PC or Laptop. Check if any found files can be used. *restored files may be largest than data inside files. -Make full format of SD card in windows, preferred by Panasonic SDFormatter. Then format SD card from SD card tools with unchecked Windows check box. -Install SD card to PLC. -Check number of files in SD card directories to keep number of files not more than 60 (64 in root directories). -Use right protection contacts for each file function. -SD card file system will become corrupted, if power failure will happen in the middle of file operation. Use UPS to eliminate file system corruption.
  30. 1 point
    Hi Flex I purchased this about 18 months ago in the hope it would eliminate the need to keep PLC's for testing. Many functions are not implemented and in the 18 months I have not seen any further updates from the original release. Recently the program has stopped working and I have not been able to get a response from their customer support. I don't think you will have any luck with multiple PLC communication as this will definitely not be supported. Many data table functions are not supported along with SD, password, float and webserver functions. Unless your program is relatively basic you may have difficulty in running it, and if this is the case you probably don't need a simulator. I would ask Unitronics to verify if this product is still being supported by the supplier and if not they should remove it from sale on their site. As I said there have been no updates since its release and no response from customer support I would avoid this. This is a pity as the program was the basis of a very useful product had it been completed. Regards Denis
  31. 1 point
    There's a band called 1023MB. They haven't had any gigs yet.
  32. 1 point
    Please see the attached application. I assembled it according to the "Descriptive Statistics" feature in Microsoft Excel. You may find it useful. Statistics_04_12.ulpr
  33. 1 point
    Hi RicksinSD, It seems, that solenoids, when disconnected, produce arcs on relay contacts and generate EMI, which stops internal module processor. You have to power cycle it to return to regular work. You have to use snubbers or other protection circuits for 2 reasons: 1.Protect relay contacts - suppress arcs. 2.Minimize EMI. We have no specific recommendation not about snubber type, nor about snubber manufacturer. You have to choice it in accordance to load type and other parameters. Each snubber manufacturer have its recommendations, in formulas or in tables. I hope this helps. As well, you have to check modules grounding. There is document "System Wiring Guidelines" in Support->Technical Library http://www.unitronics.com/Downloads/Support/Technical%20Library/Technical%20Notes/System%20Wiring%20Guidelines/General_Wiring_Guidelines_SUPP-DOC_10-13.pdf
  34. 1 point
    I had the same problem with all unitronics software that i tried. Problem is related to HD-resolution and the choises which were made during Win7 installation. However I managed to fix the problem by following these instructions: http://blogs.msdn.com/b/developingfordynamicsgp/archive/2009/11/25/windows-7-bitmap-fonts-and-microsoft-dynamics-gp.aspx I hope it helps! BR, J
  35. 1 point
    Since the values within the controller will continuously increment you can use the Modulo function. This function will divide by a certain value (360) and will only return the remainder. This will allow you to always have values from 1-360 to use within the logic. You can then use is various comparison statements within the logic to trigger any desired functions, specifically the Within Range function block. This can be configured to only pass power when the encoder input is between given values, for example only between 1-10 deg power coil 1.
  36. 1 point
    Hi Guys, I think it would be great if the analog input expansion modules have 10VDC accurate voltage output. It could be used for example as a reference power supply for linear distance transducers (Pots). Hope to see something like this in the future! Kikis
  37. 1 point
    Hello, Thank you for using our Unitronics Forum. In order to use remote access while also sending e-mail via the Ethernet, you would need to initialize another socket and use that port number to connect and control the PLC via remote access. Our Ethernet ports will support up to 4 sockets for connection. -Shane
  38. 1 point
    Hi, It is not in our immediate plans, but it is a strong possibility for the future.
  39. 1 point
    Hi Dan: thanks for sharing your IP. It keeps alive. Now we can chat over the PLC.... Insert 2 Text blocks with keypad enable and then we can chat over Unistream! Please visit www.plc-apps.com and check the Unitronics Developer's Market. They are uploading a +600 3D high quality images for real view HMI displays.
  40. 1 point
    Before each UniCAN send there needs to be a invert contact of SB201 or SB202 (for High or Low priority). You can add these bits to the uploaded project if you like, or there is an updated in version in the examples help --> Examples
  41. 1 point
    Hi, I believe that the error you are referring to about it exceeds the maximum number of rows is talking about conversion of the files to Excel (When importing files, it both converts its to *.usd files and also to excel files, so the data can be viewed in excel). Excel (old xls and not xlsx) files have the limit of 65536 rows (while xlsx files have 1048576 if I remember correctly). I think that you should still see the files in the tree on the left side (If you didn't give it an Alias, then you should see it by a tree item with the time and date where it was imported). There you should see the files you imported (Appended files, can be converter/split to several files if they are given section). I'm assuming that in your case you will have a just 1 big file. If you click on the Tree Item on the left that represent the data table file you logged, then you should see on the pane on the center the data that you logged shown in a table. If you still get stuck (for example, it still doesn't work, or no item was added to tree), tell me and I'll see what can be done.
  42. 1 point
    Simon, Get out of my parking spot. It doesn't matter that I'm no where near Australia.
  43. 1 point
    Apologies in advance if my opening line was a little too "plain" and seen as harsh or disrespectful. It was a bit of a nerd moment (Sheldon style), and I of course have great respect for Joe's and Alexander's abilities and knowledge.
  44. 1 point
    Put logic in your program to call your splash screen from SB2 - first scan bit. Then assign a bit under the display's Links and Jumps tab to be on while the screen is displayed. Use this bit to run a timer in the logic for whatever duration you want your splash screen on. When the timer is done, call your main display. Joe T.
  45. 1 point
    I'm sorry to hear of your loss. I had a similar situation years ago when the hard drive on my laptop crapped out and I was unable to get to anything on it. What happened to you illustrates the need to keep your work in more than one place. This applies to all of us. I personally keep a single flash drive in my pocket at all times with many, many directories on it and I copy my work to it at the end of each day. I started with a 4GB flash drive, then when that filled up I got an 8, and now I have a 16. Every couple of months I copy the entire flash drive to a removable hard drive I keep in my office. I also copy the files when the project is working to directory on my office file server which is backed up in the cloud (I use Syncplicity, which costs $99 per year). That makes four copies of the data. it's not always totally synchronized, but there's enough redundancy to avoid a catastrophe such as you've experienced. Some habits are only established after a hard lesson is learned. My work is too valuable to leave in one place. Joe T.
  46. 1 point
    The reason for Fatal error can be also strong picks of electromagnetic noise. Maybe something changed in the controller environment? New big machine? Or contactor in the cabinet started to perfomr worst, emmiting more noise? You can try function "Check subroutine by error code" (VisiLogic > Edit menu). This function will point you to the subroutine, where the application stopped with this fatal error. This can give you some direction.
  47. 1 point
    Did you already get the software - U90Ladder (www.untronics.com > Support page > Downloads)? It comes with detailed help and more than 100 working examples.
  48. 1 point
    The answer is definitely yes. Tool should be used is "FB Protocol" The way how to do it depends from exact message structure. If the number of CSV fields is static, you can use parsing feature, build-in inside "FB Protocol". If the number of CSV fields is unpredictable, then you probably have to receive hole message (but no more than 512 bytes) as a stream and than parse it in a ladder code.
  49. 1 point
    I found some important things that need to be check: 1.- I think the main problem is that you are configuring the PID direct from your net 1. You need to put a direct contact of SB2. Remember this direct contact (of SB2) acts like a positive transition contact. So you actually are configuring constantly your PID. 2.- Don´t write power up values to MI2,3 and 4. That way every time you turn on your PLC will overwrite the Autotune values (you lost your autotune). 3.- You need to select SET or RESET on MB 0. If you are working with a direct system (MB = 1) if your init your PLC you will lost the 1 and then your system will not work again untill you set again that MB. So the best is to choose from power up value. You can copy and paste the full ladder of PID 1 autotune example for V120 and paste to V130 to test the PID function. After learning how it works you will need to make some changes to this basic program to a full operational PID program. For example you are going to need a reset button to abort an incomplete autotune. From the expample the only way is to make a reset init to restart. Good luck.
  50. 1 point
    Overlapping happens when you configure your images with transparent background. I told that problem before but it seems no one interested in find a solution. The flickering is the result of refreshing the screen. So the solution is to "paint" the background of your images with the same background of your screen or change your background (display) to match the images background. Good luck.
  • Create New...