Jump to content

Leaderboard


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. 3 points
    Set the Border Thickness to 0, and the Background Fill to transparent (by either choosing the transparent color, at the bottom left corner of the Stardard color, or by entering 00FFFFFF in the Advanced Color)
  4. 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.
  5. 2 points
    Something tells me that @Joe Tauser's troubleshooting face is the same as his regular one.
  6. 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
  7. 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.
  8. 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
  9. 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
  10. 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
  11. 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.
  12. 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.
  13. 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: ftp://192.168.1.88/. 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
  14. 2 points
    I've passed your requests to The People In Charge--thanks :-)
  15. 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.
  16. 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.
  17. 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.
  18. 2 points
    This post is not a question but rather a tale of pride and stupidity on my part. I hope to help someone in the future to not make the same mistakes I did. I recently tried to modify the Advanced Webserver to add Modbus IP communications. I decided to re-assign the sockets to my liking. I assigned Socket 0 to the webserver, Socket 1 back to PCOM, and Socket 3 to Modbus IP. After downloading the program serially I found the Webserver didn't work anymore and the PLC either rebooted or stopped completely with ladder error code 38 when i tried to go online via Ethernet. Oh, by the way, I also re-assigned the protocol for port 80 to HTTP when I made the new Socket init block. Talk about maddening. After several hours of trying every combination I sent the application to support and got Ryan's help. Final Conclusion: The Webserver app absolutely positively requires Socket 1 be initialized to protocol TCP_RAW, port 80. This exact configuration is required by the locked subroutines. To get online I initialized Socket 0 to TCP, port 20256, slave. I set Socket 3 to TCP, port 20257, Master for my Modbus IP communications. Everything works as it should now. Joe T.
  19. 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.
  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
    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.
  22. 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
  23. 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!
  24. 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.
  25. 1 point
    C4 = 196, which is the size of All the Part of project cells + the size of the tables structure (compressed). I assume (didn't check) that if you use Binary Message with Command Code 5, Sub Command 0, Address = Flash Address from Visilogic, and Length (for example 4), then you will get the value of the first offline cell. I did not test it, but I think it should work.
  26. 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).
  27. 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.
  28. 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.
  29. 1 point
    TMOULDER!!! Wow--good to hear from one of the best power-users and beta testers ever seen around these parts! It's been awhile Guys--we've got the ability to lock elements in place. It isn't the most prominently-placed icon in the interface, but it is down there, right next to the Grid icon. When the lock is clicked, it turns red, and any elements you try to grab have red corners. I hear you about the Zoom - the Grid isn't much use because the squares are too small. On my way to put in a feature request!
  30. 1 point
    Would you post some links to the Red Lion products you are using? I have no problem looking through other vendors manuals, but don't ask us to go find it. Joe T.
  31. 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,
  32. 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
  33. 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.
  34. 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
  35. 1 point
    There's a band called 1023MB. They haven't had any gigs yet.
  36. 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
  37. 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
  38. 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
  39. 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.
  40. 1 point
    I upgraded the computer at my business desk to Windows 8.1 update 1 to see how it behaves (still running XP everywhere else). For the most part I really like it - it didn't take too long to get used to and now that they've added the desktop-friendly features it feels downright zippy. The downside is I think the new sounds are a little too "twinkle-y". I miss the "ga-dunk" when I put a USB drive in. Like you are really connecting something to the computer. A search of the Internet for Windows XP sounds proved fruitless. So while I was on my trusty XP programming laptop I zipped up the Media directory and grabbed them all. For anyone else who wants to set back the audio experience of their machine to 2001 here they are- http://www.jtauser.com/sounds/Media.zip Enjoy. Joe T.
  41. 1 point
    Hi, It is not in our immediate plans, but it is a strong possibility for the future.
  42. 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.
  43. 1 point
    Simon, Get out of my parking spot. It doesn't matter that I'm no where near Australia.
  44. 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.
  45. 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.
  46. 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.
  47. 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.
  48. 1 point
    You will need to write logic that monitors the row pointer and take the difference from a separate buffer pointer. When the difference is >= 5, trigger your export and copy the row pointer to your buffer pointer. You didn't say whether you only wanted to export the 5 rows or the whole table. If you only want to export the 5 rows, you'll have to come up with a place to copy them before you export, like a small dedicated data table. Just out of curiosity, what is the data export function you want to use? Joe T.
  49. 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.
  50. 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.
×
×
  • Create New...