Jump to content

Eyal Koren

Members
  • Posts

    259
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Eyal Koren

  1. Hi Sremac, For working with the Visilogic version swapper you should have several Visilogic installations in several folders. All you need to do is run the swapper utility, press the folder that contains the specific Visilogic version you wish to work with and press "Register". The swapper will create a shortcut icon for running that version. Regarding V9.5 - you can always install the normal version of Visilogic 9.5.0 (don't forget to rename the folder so your current version will not be overwritten), and then use the swapper to register the current version again.
  2. I don't exactly understand what you mean. Could you please explain the system architecture?
  3. Hi IIuisot, USB modems can not be supported for Vision PLC's, basically because of lack of a USB host port.
  4. Aliasing and signal reproduction are irrelevant in your case. however, the (relatively) low sampling rate might cause "skipping" of sampling, resulting in wrong flow reading. Anyway, your solution seems very elegant for your system needs.
  5. Hi Amirm, As stated in the V350 documentation (available here), the typical response time for a normal digital input is 10ms. Hence for a 500Hz signal you will be able to reach a maximum resolution of sampling every 5 pulses. This calculation doesn't take in consideration the scan time, which will make the system even less accurate. Even if the PLC would response faster, according to the Nyquist–Shannon sampling theorem the perfect reconstruction of a signal is possible when the sampling frequency is greater than twice the maximum frequency of the signal being sampled. Hence the maximum scan time+digital input response should be less than 1/1000Hz, which is less than 1ms.
  6. Hi Ido, 1. You can write timer values in your webpage, according to the description in the attached image (also stated in the PDF help file in webserver.zip). 2. For linking other web pages, you don't need the PLC's IP address. You can use only <A href="/Web/second.htm" </A>. For your convenience, I attached the zip file containing the advanced web server example WebServer.rar
  7. Hi dsoper, I am not familiar with OPTO22 products, but after browsing in their site i would like to understand - why would you need such product as the "Groov", when you can directly control and monitor Vision PLC's with Unitronics free software?
  8. Hi Deki, Please write your questions and issues regarding PLC programming. I will try to help you. Also, you can find lots of examples and sample applications available in the development software (Unilogic, Visilogic and U90 ladder). If you cannot find them please let me know what software you are using and I will be glad to assist you.
  9. Hi, There are several ways to approach this task. The easiest is to use a positive transition contact (linked to a button) connected to an output coil. If you want the pulse to be generated when the button is pressed and released, you can use both positive and negative transition contacts in the same net. I created the two nets in the attached application and added counters as a bonus pulse button.vlp
  10. Hi Dave, There aren't any accessible registers that contain the PLC Name. However, if you need a way to recognize a PLC, you can use SDW9, which contains a unique PLC ID number.
  11. Hi IIuisot, To be able to configure a modem which is not included in the supported modem list, you should select "other" from the GSM modems list in the "COM Initialize FB". Then you should fill in the specific AT commands of your modem for a successful initialization. Every modem consists on its own sequence and syntax, please follow the product's documentation.
  12. Robin, You got it right. It isn't clear why Unilogic demands using an array. Can you please attach an application demonstrating this?
  13. Are you familiar process of defining a static IP address in your PC? If not, this is a step you should know. To communicate between two (or more) devices over Ethernet, they must be configured to be in the same network. In most cases (connecting to the internet for example), the modem/router is "deciding" on what address the network should be. It assigns an IP address to the PC using a system called DHCP. For connecting directly directly between PC and PLC, you need to manually define the network parameters. Here is how to do it: 1. From the search bar in windows start menu, type "view network connections" and select the first result. 2. From the window that was just opened, right click on the icon named "Local Area Connection", and select "Properties" 3. From the Properties window, double click on "Internet Protocol Version 4 (TCP/IPv4)". 4. Select "Use the Following IP address", and type the parameters of the network. in "Subnet mask" type 255.255.255.0 and in "default gateway" type 192.168.1.1 (as defined in the Unistream). For the IP address, select a different one like 192.168.1.4. 5. Press OK twice to close the two windows. You should now be able to communicate between PC and PLC. Please note: you must revert back the changes you made to be able to use the internet again, hence changing the state back to "Obtain IP address automatically". I also recommend reading some more about Ethernet networks and communication. It can prove most useful in the field of industrial automation (and others). I attached a short PDF from Visilogic help file giving some background on Ethernet networking. Ethernet.pdf
  14. Henny, Currently, Profinet is not on Unistream road map. However, we never say never and if you have potential projects that requires the use of Profinet protocol we'll be happy to hear more.
  15. Hi Rob, First of all, thank you for using Unitronics products. I am glad that you had a positive experience working with the new Samba PLC. I can assure you that our new line of PLC's, the Unistream, will provide you an amazing user experience for a very powerful PLC. Regarding Ethernet/IP - currently our R&D department are working on implementing this protocol in the Unistream series. We currently don't have a time frame for the release date. Another thing - the Samba does not feature Web Server capabilities. You can find these in the advanced Vision series.
  16. Next time, try exporting the data table from one application and import it to the other. The structure is moved easily and without any implementation efforts. You can do that from the data tables window.
  17. Hi Shargy, The linearization FB is working by the following formula: Y=(Y2-Y1)/(X2-X1)*(X-X1)+Y1 Its only limitation is that the final results or the intermediate calculations must be in the range of -2147483648 to +2147483647. In case you are getting a constant number no matter what your input is, you probably change this value from somewhere else in the application.
  18. Hi. First of all, there are no pictures attached to this post. Second, please send the applications for further investigation to support@unitronics.com
  19. Hi, First of all, let's talk about Ethernet communication. In your case, hence connecting the PLC to PC directly, both Ip addresses should be of the same domain. So, if your PLC's IP address is 192.168.1.2, then your PC should have a similar address such as 192.168.1.3. In most cases it will make more sense to first see what is the IP address assigned to your PC, and then change the address in the PLC accordingly. To check the IP address on your PC (in Windows) do the following: 1. Go to the command prompt - the easiest way to do it is to type "command prompt" in Windows search line and select the first program that pops up. 2. Type "ipconfig" in the command line and press enter. 3. A list of numbers and texts will appear. Your PC IP address will next to the text "IPv4 Address". Regarding the repair of your PLC, please contact your supplier for repair information.
  20. The linearization function is a pure mathematical function that has nothing to do with the ADC. That means that no matter what value you input to it, you will get a result according to the equation from my first reply in this thread, and without any limitations (except for infinite values, or values that the operands cannot handle). Regarding the input - If you assigned an MI to the analog input, but did not connect it to a real device, you will still have the ability to change its value.
  21. Store the value 0 to the "Store Timer/Counter Current" FB. see screenshot.
  22. Joe, We have many project which successfully implemented Modbus communication, both RTU and TCP. As stated in the Slave Addressing page in Visilogic help file, the stated addresses should be referred as hexadecimal values, and not decimal. The only reason that you were actually able to read MB's and MI's is because the first values (0-10) are identical bot in decimal and hexadecimal bases. Try changing the base to hex and see if the issue persists (don't forget to check that the operand value corresponds to the hex format - for example ML40=7028h).
  23. Hello Perry, Your application has two issues: 1. the PROTOCOL Config FB's should be placed in the Main routine, and not in a subroutine. 2. The PROTOCOL Config FB in subroutine "Stream In 1" (placed in the beginning of the subroutine) is set to COM2 instead COM1. These should solve your issues. Please let me know if they didn't.
  24. Hi Joe, What Vision model are you using? Please note that the slave addressing is different for the Standard (V120, V230, V260, V280, V290, V530) and the Enhanced models (V130, V350, V560/570, V1040, V1210). The values stated above are for the Standard models only, and that might explain why this implementation is not working for you. If you still cannot implement Modbus communication, please feel free to send your application to support@unitronics.com.
×
×
  • Create New...