Jump to content

Leaderboard

Popular Content

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

  1. You can create a struct that contains the information structure that you want to pass to the UDFB. It is more logical to pass a struct with 50 members other than passing 50 inputs. Think of how the ladder element that accepts the 50 inputs will look like. it will start at the benining of the screen, and you would have to scroll few pages down in order to see its end.
    7 points
  2. Download the attached Rar file, and extract the files to UniLogic installation directory. This means that the "UniLogic Diagnostics.exe" (and all the other files) must be placed in the same directory where "Unitronics.Shell.UI.exe" is located (usually at: "C:\Program Files (x86)\Unitronics\UniLogic\") After you've extracted the files, run "UniLogic Diagnostics.exe" and click on Diagnose. Most chances that it will show "SQL Instance" as one that has problems. In case it find problems, the "Fix" button will become enabled. Click on Fix, and the program will attempt to fix the pr
    6 points
  3. EDIT BY MODERATOR: Kikis CAN NO LONGER SOURCE THIS UDFB, SO THE POST IS BEING REMOVED BUT THE LABEL RETAINED IN CASE SOMEONE IS REFERENCING IT SOMEWHERE.
    4 points
  4. If it is really bad I've been known to hang an electrolytic capacitor between the analog input and 0V. I'm not kidding. Something like 10 uF @ 25V. Joe T.
    4 points
  5. The USB in the UniStream acts as an Ethernet card (while in Vision PLC, it acts as a serial port). The USB of the UniStream is an RNDIS device, and for getting // assigning the IP address of the PLC over the USB-Ethernet an uPnP protocol is used. If the firewall blocks the uPnP handshake between windows and the PLC, then UniLogic will not be able to get the IP Address and communicate with the PLC.
    4 points
  6. Sadly not my joke....... My wife asked me why I was whispering in the house. "Because Mark Zuckerberg's listening," I whispered. She laughed. Alexa laughed. Siri laughed. 🙈 cheers, Aus
    3 points
  7. Actually, there is a way to have a psuedo-popup window. It's done using a little-known and poorly documented system bit - SB 25 - "Do not draw display background". I used this for the PID tuning window on an oven project. I used a V1210. Here's the display with all the loops called "Setup" called from another screen. Pressing any one of the "Tune" buttons set a different bit in an array: I have code that watches for one of bits to go on and call this rung: You will notice that the description from Unitronics for this bit is flat-out wrong. The actual operatio
    3 points
  8. I think most of you probably already know the first rule of the Assumption Club.
    3 points
  9. Twitter asks what I'm doing. Facebook asks what I'm thinking. Google asks where I am. The internet has turned into my mother. 🕵️‍♀️
    3 points
  10. 3 years ago I knew nothing about PLC's. Because of people like @Ausman, @Flex727, @Joe Tauser and others on this forum, we converted 8 machines from old relay logic to PLC's with automation, made 2 pieces of complex laboratory test equipment for the lab, and entire tank farm controls that include, levels, filling, heating/cooling, mixing etc. I could have never done it with their help. I don't know if they're paid or not, but I will tell you they are priceless. I hope that @Cara Bereck Levy will show this to the powers at be so they understand the caliber of people they have in this foru
    3 points
  11. Yes, it was already implemented and would be available on the next release of UniLogic.
    3 points
  12. Just for fun, this is the control panel for a new force tester we created. If you are a Star Trek fan. I can't be the only nerd on this forum, am I?
    3 points
  13. 3 points
  14. 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.
    3 points
  15. Continuity is easy - just connect +24V to one side of the wires one at a time and see if you get it on the other side. If you have a bundle to check you can switch wire feeds in with relays and make sure you only get one signal on a DI module connected to all wires. The RTD module only returns temperature from a resistance of about 25 ohms to 267 ohms. You could reverse-calculate the resistance, but I don't think this is the range you're looking for. Resistance is not so easy. Many moons ago I rolled my own ohmmeter with a DC power supply, current limiting resistors, voltage input
    3 points
  16. Hold Ctrl+Shift while you double-click the Visilogic icon. This will reset the window settings to factory default. Joe T.
    3 points
  17. @Arnor, I think I've found the problem. Take the dll below and overwrite the one that exists in your installation folder. Make sure to create a backup of the original dll first. Please update me if it helps. Thanks. Unitronics.RemoteOperator.dll
    3 points
  18. I´m not sure if this fits your needs:
    3 points
  19. Almost the same here. The only difference is that I am using an accumulated timer for more precision:
    3 points
  20. I'm convinced this is delusional. CDs were originally pretty bad because sound engineers failed to properly tailor the sound for the new media and instead used the equilization curves for vinyl with insufficient modification. That's no longer the case. Nowadays, the abysmal compression of MP3s may be worse than vinyl, but no one who really cares about sound quality should be listening to either compressed MP3 or vinyl. Vinyl necessarily has extreme equalization in order to achieve any bass response, necessarily lacks sufficient channel separation, and degrades every time the record is played.
    3 points
  21. This major release introduces MQTT, another piece of the Industry 4.0 puzzle. MQTT is a machine-to-machine connectivity protocol that runs over TCP/IP. MQTT joins the UniStream range of communication channels and protocols that supply the connectivity required by Industry 4.0 including SQL, built-in webserver that enables the controller to be accessed via any browser, and more. This release also supports new UniStream 5” models US5-Bx-R38 + US5-Bx-T42, offering new, built-in I/O configurations. Other important features in this release: HID Device support for devices such
    3 points
  22. 3 points
  23. I've had a lot of local requests for help on getting email working. There are a lot of pieces needed to make it work right and it has to be done in the right order. A PLC was never invented to send emails, and the fact the Unitronics can do this is a pretty awesome feature. I'm posting a sample program we wrote to hopefully show everything needed and some tricks to make it cool. Joe T. Sample Email Program V570 5-6-15.vlp
    3 points
  24. Great news, but twice as tall (or 50% taller) is what I need more. I have regular need for 12 contacts in parallel and constantly breaking them into two sets of six is a pain.
    3 points
  25. What is the answer to this math problem: 7-1x0+3/3=? If you understand the PEMDAS rule you will get the correct answer of 8. However, if you just run the operations from left to right, you'll get 1. Every ladder rung in your program must be compiled to machine language before the PLC can execute the code. Do you know all the rules the compiler will use when you have a very large net? I certainly don't. Remember, like all computers, the PLC can only do one thing at a time and a large net can provide ambiguity (to humans) so the result can sometimes be unpredictable. To avoid this potential
    3 points
  26. 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 instanc
    3 points
  27. This problem dates back to when the USB to serial adapters were first introduced. It is not a Unitronics-only problem, it's a Windows thing. I have experienced multiple instances of the same driver trying to access the same COM port when it comes to the USB interface. It is a royal pain in the butt and you have to rip them all out and start with a clean slate. The problem is you can't see them all, even if you check "show non-present devices" in the Device manager. There is an environment variable you have to set to truly "Display All Non-Present Devices". This article describes
    3 points
  28. Hi, even on programming languages like c# it's incorrect to show a view from code (for example a messagebox). Message boxes are usually required for a user input, and are in most cases 'code blocking' (The next command will not executed until the message box is closed, since it is waiting for a dialog result). In UniLogic, message boxes are shown in a response to a user interaction (clicks, for example), and the result of the user interacting with the message box is clicking on one of the buttons (OK/Cancel/Yes/No) is executing 1 or more actions defined by the programmer.
    3 points
  29. 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)
    3 points
  30. I would like to start with many compliments on the Unistream Product. Yes it is a huge cost savings from other comparable products out there, but the horsepower really comes to light when using the data tables, FTP interface and the USB DOK tools. Not only can you accomplish a lot of traditional tasks with these units, but you can work with data and share this data so easily. Thanks. There are (2) enhancements that I think go together that would put the icing on the cake. 1st, we need at least (2) dimensional arrays. You have sort functions for arrays, but with only a single dimension
    3 points
  31. So I am sure that some of you may know factoid 2 already but I decided I would share the benefit of lots of testing with everyone. In our products we use the V570, V350 and the JAZZ units to talk to variable speed drives on a regular basis. Most drives come standard with 485 Modbus as the only communications type unless you spend extra money getting optional com cards for the VFD. Two factoids relative to noise. There was a conversation that happened accidentally in the "I have a new project" topic where someone said that Unitronics was very susceptible to noise. Well VFDs make a large amount
    3 points
  32. Hello, I currenlty busy with a project Unistream 7" + 2x 8DI/DO and a EX-RC1 + 3xPT4x, 2x4AI2AO + 2xAO6. Followed the instruction on the webinar. What took me some time was that you have to upload a ladder programm with Visilogic to the EX-RC1. They don't show it in the webinar - because standard the EX-RC1 is pre loaded with a program - which has an auto configuration for digital inut and output. But when you want to use it for analogue input/output you should change it - by uploading the program in Visilogic withe the serial (9 pins) cable and RJ11 connector. When you follow the
    3 points
  33. Hello Active Just did a simple test with Kepserver and selected the ”Modbus tcp/ip driver” Channel properties=>Ethernet settings selected port 502 and ip protocol tcp/ip. Added a device and named it device1 and for the model selected “modbus”. ID <135.0.2.78>20 The V570 has this ip address and 20 is the slave number in my test situation. In the V570 socket init in my case socket 3 port number 502 and server(slave) followed by A Modbus ipconfig,selected in this function block socket 3 and gave it network id 20,time out 100 and retries 3 and assigned a function in progre
    3 points
  34. Receiving BMP file thru RS232 from fingerprint scanner and drawing it on the dispay: [media=] [/media]
    3 points
  35. Big time thanks to Joe for his support, even thuogh sometimes I bug him when I am in a crunch, he always comes thru with an answer.
    3 points
  36. A shepherd was herding his flock in a remote pasture when suddenly a brand-new BMW advanced out of the dust cloud towards him. The driver, a young man in a Broni suit, Gucci shoes, Ray Ban sunglasses and YSL tie, leaned out the window and asked the shepherd... "If I tell you exactly how many sheep you have in your flock, will you give me one?" The shepherd looked at the man, then looked at his peacefully grazing flock and calmly answered "sure". The man parked his car, whipped out his IBM ThinkPad and connected it to a cell phone, then he surfed to a NASA page on the internet where he called
    3 points
  37. I have a good suggestion. Whenever I am developing a project for UniStream, like most programmers I will be updating and downloading, and testing, frequently during program development. Unlike VisiLogic, UniLogic insists that the project be compiled and compared to the project in the PLC before going online. This can take some time. However, if I've just downloaded the project, then all that has already been done and now I must wait for it to do it again. How about adding a selection or checkbox, or something, to the download options that when selected allows UniLogic to immediately go into on
    2 points
  38. That's how I read it. Then for grins I loaded one up with (6) 16 point analog inputs and (6) 16 point analog outputs. That's 192 bytes each way: It compiled with no errors. Try playing with different configurations on your own. You're not going to break the software, and it will certainly tell you when you've screwed up. Just like people. 😁 Joe T.
    2 points
  39. Douglas Adams was so clever he probably knew this. Any book(s) of his you have to read at least 3 or more times to get all the linked things.
    2 points
  40. Hi HexMan, This option exist for the enhanced models – Please make sure to use the latest OS: 1 Set in SI165 the start address of MB the user will be able to access 2. Set in SI166 the end address of MB the user will be able to access 3. Set in SI167 the start address of MI the user will be able to access 4. Set in SI168 the end address of MI the user will be able to access 5. Set SB305 to activate the MODBUS limit. For example if you will set the following: SI165 = 1000 SI166 = 1999 SI167 = 1000 SI168 = 1999 SB305 = 1
    2 points
  41. I patented that term a few months ago. Please cough up if you are going to use it! ? cheers, Aus
    2 points
  42. But the tag is not a structure. It's not like in c# where everything derives from Object. It's c++, so a INT8 consumes 1 byte exactly. converting the tag name to a string could be done on compile time, so we know which tags are passed to the " magic function", and we compile their name as a const, but it cannot be done in run-time, whereas you pass a different argument to a UDFB each time. The reason why you can't see the actual in/out/locals of a function is because each time you enter the function, it is called with different parameters, and the local tags are not allocated
    2 points
  43. Hi Fabio, I was a little busy so just reading all new posts for me. I finished a big project and I can tell you now that communications with Unistream is really a big advantage over Vision series. In the system I have: 12 slaves Reading more than 800 coils Writing more than 1,800 coils Reading more than 160 Int16 Writing more than 70 int16 Reading more than 464 int32 Writing more than 360 int 32 each 1,000 ms the Unistream 15 is making the work perfectly. The system is working 24 x 7 since December 2015.
    2 points
  44. 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
    2 points
  45. Hi again all, today I discovered, quite by accident, that during a Remote Access session you can use the main computer keypad to enter numbers, returns etc when viewing input screens. It makes it a fair bit easier than fiddling around with the mouse to "push" the buttons on screen. Worth trying and seeing how much you can do, in my case it is mainly V130s. cheers, Aus
    2 points
  46. Hi, We have several PLCs in the field on a network with Linux only machines I would like to download new version of the application to those PLCs from the local machine (i can ssh into those machines) It means I need to have a linux based version of the UniDownloaded or something similar (maybe a simple command line tool) Gal
    2 points
  47. I think the thought that is giving you trouble is that the load cell is giving you an actual weight value. It is not. The load cell is giving the load cell modual's resistance data off of the load cell bridge deflecting when weight is placed on the cell. These values allways stay the same at the same weight, but you do not manipulate these values, they just are what they are. So if what I said is true how do you get weight?? A load cell is not like a pressure transducer or temperature sensor. a pressure sensor has a difinative range. lets say that the sensor os a 0 to 10 BAR sensor you
    2 points
  48. The "plugged-in" aspect of the laptop is VERY important. When you're on battery, everything is isolated. When you're plugged in, the negative of the power supply and everything else (including the USB port) is grounded through the neutral and that will often kill communications. Joe T.
    2 points
  49. Hi Perry, No, for sure it will not work with 5V. You can make simple converter (see attached) or you need ot find encoder with 24V PNP or NPN interface.
    2 points
×
×
  • Create New...