Jump to content

Leaderboard


Popular Content

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

  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: 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
  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
    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!
  19. 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.
  20. 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.
  21. 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
  22. 1 point
    Well...you could always do a test of more than 32 on your testbench and see if it works! But in this case I think it will be correct. However, I get the feeling that what you are essentially doing is a BAS. Futher to my suggestions, you could retain all your current infrastructure by having my "sub-masters" plcs on each building level/major location, gathering data via the existing 485 network on that level, then holding that collated data until read by the Unistream via another 485 port on the subs. This way you would not need significant changes to the exisiting wiring topology. It would almost be a case of a few cuts and splices on each building level. (And it sounds like a bit of a hodgepodge wiring setup anyway, with the topology being "non-standard"! 🤣 It is surprising how tolerant 485 can be at times. I've seen all sorts of odd connections that work. And I've also seen the ones that are perfect and have issues! Go figure. ) The only real difference would be the need to have the collating plcs having 2 x 485 ports, the ability to poll all the other the little plcs on that level and collate that data ready for transmission to Earth Central. Edit PS.....And something else is a Winner, you lose the need for so many 02RSCs. Hmmmm!!! That might pay for the different Subs! cheers, Aus
  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
    @stembera, the problem was also reported here: If the issue still reproduces on your computer, can you please check it with the DLL on that thread, and update me? Thanks
  25. 1 point
    Doesn't happen for me, Flex. The connections available are listed in the Communication/PC Settings correctly, but the program defaults into Direct Connection on the last one used, not necessarily the one in use at the time of the save. The main problem is if you are working with something on a bus. The system does NOT remember which ID your program is meant to talk to, and does NOT check that program names match. So you might be wanting to connect to ID 9 on Canbus yet the system will open into Direct Connection all the time. If you are chopping and changing b/n ID numbers, and you don't have multiple instances implemented like explained at the link below (read it all) then it is very annoying and very easily missed. Multiple instances works, but it needs desktop area. Saving connection type and checking program name matching would be far better. It is exceptionally easy to forget to change things and connect to the wrong plc. cheers, Aus
  26. 1 point
    At the very least it sounds like I'm not the only one experiencing these types of issues. I could take another look at the email logic see if anything can be cleaned up. Thought I had the perfect workaround for email encryption limitations with smtp2go.com, but now some other issues are raising their ugly heads. Am not using any XB's, and the only TCP functions are remote connection with Unitronics apps and email. Usually for projects requiring internet connection we use Unistream. I'm thinking this project might be an upgrade candidate, and be the perfect opportunity to try out the new 5" unistream with built-in IO's!!
  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
    I believe I have found a solution On my own. NUM to ASCII, 4 bytes, presumably fitting into a single DW that the emailer uses to send out number in the 0 to 4,000 range. Will see how it does as time goes on. UPDATE: is working fine now. My texts received show gallons OF the last fill cycle (triggered by NTC contact linked to output that controls fill valve.
  29. 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.
  30. 1 point
    Hi Kal, Go to VisiLogic help to see the RS232 pinout: The programming communication kit is RJ11 4 wire cable (standard 4 wire landline phone cable) and PC RS232 adapter P/N: MJ10-22-CS25. If you have other Unitronics products (Except JZ-PRG), you can use the same communicating kit. You can also make it on your own , please see the diagram in VisiLogic help.
  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
    Visilogic assumes that the EX-A2X is present if you are using expansion I/O, so you don't need to add it into the hardware config. The IO-DI8-RO8 is listed with the IO-DI8-TO8 and will show as IO-DI8-TO8/RO8 in the hardware config screen under I/O Expansions. The V200-19-ET2 is a card that the PLC recognizes when you plug it in it's not part of the hardware config. You do have to make sure that the card and sockets are initialized, and a PLC name is set in in the ladder(recommended to be done with SB2 on power up) in order to use the V200-19-ET2. Joe beat me to it
  33. 1 point
    Probably not. The Vision series is mostly mature from a functionality standpoint - they've literally filled it's little CPU brain with functionality. Converting file types is a job for a real computer, which is why this sort of application is pushed toward the new UniStream. Joe T.
  34. 1 point
    Hello, The real numbers are set up to show 6 significant figures after the decimal. This is due to the format we use for real numbers (following IEEE 754 standard). Unfortunately, there is no way to directly format the decimal placing after a real number in the software. You would have to convert the real into two 16-bit integers (the whole part, and the fractional part) then manually format the number on screen by putting these two integers together on screen. UPDATE: From UniLogic 1.18 and above there is a property name 'Decimal precision' to numeric box in case it linked to a REAL tag as you can see in the attached image.
  35. 1 point
    In theory a self-resetting timer set at 60 seconds will count to the minute, but there are innate scan time variations involved which cause errors over time. For all my minute by minute logging I need it done exactly on the minute, so that it can be correctly interpreted into Excel later. I use an = 0 comparison on SI30, which turns on an MB. I then use a positive transition of this MB to activate the log row write. The logging row itself includes time and date for reference/display in Excel. For different "on the minute, but at minute multiples" counts, you can achieve the same thing with simple revolving count comparisons on SI36 triggering the MB. cheers, Aus
  36. 1 point
    Hi, It seems that the keypad image was not downloaded to the PLC. In VisiLogic toolbar there is an icon "System images" (you can find it also under project menu), select this option and once the window of the system images is option choose "Restore all system images to default". Now download the application to the PLC and test whether the keypad can be opened. P
  37. 1 point
    I just installed the app on my iPhone and tried it out. It works! And it's pretty cool. Great work!
  38. 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.
  39. 1 point
    Hi, I create an indexed data table, based on a struct previously defined. but now I want to change the table columns order or to insert a new column to the left. Every member added to the struct is placed at the end of the list and to the right column of the table. I found it possible to change columns order by dragging headers on the data table editor, but when exporting the data table to excel it is keeping the original column order as the original struct members order when created!! Also this order is shown at Uniapps data table viewer. This is not the necessarily the correct order required! Yes, I can delete and recreate the struct and the data table and rebuild them in the right order, bur is thee a beater way? like changing the struct members order? In addition I found it is possible to sort struct members by Name or by Type but not back to the natural order they created, and shown in the opened list in ladder elements . I guess a "Member #" column is missing for viewing, sorting and reordering, that can fix it all. Unilogic Version 1.14 Rev.62 Thanks in advance, Ofer
  40. 1 point
    Many thanks, HigHTech. I got it working now. Paint.net works, but I didn't realize that you have to save the PNG as 32-bit. I was using 24-bit without realizing that the extra 8 bits is the transparency layer.
  41. 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…
  42. 1 point
    There isn't a direct tag that indicates which screen was selected previously, but you could also implement logic that each time a screen jump is performed a bit tag is set indicating which screen was just implemented. For example: On Display 1, I press a button that performs 2 actions. The first action is to jump to screen 2, the second action is to set a bit tag with the description "Screen Jump from Display 1 Performed". This bit tag can then be used as necessary to indicate that a jump was performed from display 1. It can then be reset as necessary within the logic.
  43. 1 point
    Hello DaveE. In the UniLogic examples, under communication/protocol you will find an example called UniStream_070_TCP_Client_Server_Send_Message This examples can work as basis for your application. For printers is more or less the same ID. but in message composer you need to compose the message acording to the printer protocol. In the example you will see you can choose the IP address of the device you will like to send the message. Please let us know if this works for you. If you need more help fell free to contact support at support@unitronics.com UniStream_070_TCP_Client_Server_Send_Message.ulpr
  44. 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
  45. 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.
  46. 1 point
    Hey Cara: I started with the 2 and couldn´t stop. I saw the 11 videos! I really love the new hardware and software! PD: You have a lovely voice! Nice work guys, you really give us a great product.
  47. 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.
  48. 1 point
    My advice - use Linearization function in Ladder (Special function without Ladder element - see relevant Help topic and example). Then, you will show the result in Engineering Units on display and will use it on your ladder - for compare and control.
  49. 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.
  50. 1 point
    Just a quick tip for all that go back and forth between an extended monitor. First select your program with Alt+Tab so it is the actice application (skip this if it is already active) and then use Alt+Space+M. Now you can use the arrow keys to move the window back into view.
×
×
  • Create New...