Jump to content


Popular Content

Showing content with the highest reputation since 07/10/2019 in Posts

  1. 3 points
    Yes, it was already implemented and would be available on the next release of UniLogic.
  2. 3 points
    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. 2 points
    Hi All, We already have a solution for this case. As you can see we added the eye button option - if you will click on it the keys will not change their color/shade when pressing and the person who connected by VNC will not be able to see your password.
  4. 2 points
    I had a Hyundai Santa Fe once upon a time that strangely had the calendar date displayed on the dash. It was set with the month day and year and knew which years were leap years. However, the subroutine that it went into to allow February to have more than 28 days failed to have an exit. So, on leap years it would continue to count up from February 29th, each day incrementing up. It was easily fixed by resetting the date to March 1st, but I had to see what it would eventually do. Each day it incremented up until it hit February 99th, and since there were only 2 digits, I couldn't wait to see what it would do the next day. You would have thought that maybe it would go to 00, but it didn't. It completely lost its mind and displayed nonsense symbols every day thereafter.
  5. 2 points
    Hi, I will try to describe why it works without a connection. 1) There is output board inIside of the Unitronics OPLC controller. 2) Each of the solid state outputs is a part (one channel) of the few chip VN340SP (or something like that on foto). 3) To send signals from the processor to this chip, we must have one common wire and several separate ones for the required number of outputs. This common wire also neded for power the VN340SP. This wire is the OV contact you specified. 4) This OV contact is connected to the main power OV contact of the PLC panel through a small fuse (you can check with a measuring device that the resistance between the 0V and 0V contacts is not equal to 0 Ohm). For example i post foto of little fuse and 0V power connection for SAMBA SM70 board. That is why you output operate with 0V not connected. 5) If you neglect to connect this contact, it may happen that the fuse (or another cirquit) inside PLC blows and all your outputs stop working. Conclusion - always use the connection RECOMMENDED by the manufacturer. This will save your controller from problems and save you money.
  6. 2 points
    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 forum. It burns me, me when people are rude or "expect" someone to write their programs without giving it any effort first. Be polite, give it your best effort and people here will jump in to help you. This concludes my diatribe.
  7. 2 points
    Depending on how old the OS was, there may have been a change in how a function works. Try this, too, to see if there's some code causing the problem. In Visilogic, go to Edit->Find Sub by Ladder Error Code- Enter "7E" (your ladder error) in the popup box. Joe T.
  8. 2 points
    I typically just use SB 13 to increment an ML. You can then divide that by 360 to get you hours to the tenth of an hour for display.
  9. 2 points
    Hello, Open font handler by clicking the (A) icon on the toolbar, from there you can add a new font.
  10. 2 points
    Ok I was finally able to send email to my local exchange server account using my local exchange server. Without getting into details, my problem was in the settings that I used in specifying the Account. A logfile would have saved me a lot of effort. The following link was instrumental in digging out the answers: Microsoft : Use Telnet to test SMTP communication on Exchange Servers Yea!
  11. 2 points
    This is exactly what I had to do with Visilogic in an application that had multiple users with a couple of different access levels. As you've figured out, it wasn't the easiest thing in the world. UniStream addresses this with User Access Control that has 16 levels, 16 groups and 128 users. If this is really important to your project you may need to switch platforms. If you haven't already downloaded UniLogic I'd recommend doing so and having a look. Joe T.
  12. 2 points
    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 The MODBUS master will be able to access only to MB1000 – MB1999 and MI1000 – MI1999. If anyway one tries to access the restricted operands SL46 will increment. You have to arrange MIs and MBs in sequence. There is ni separate limitation for read and write. B.R.
  13. 2 points
    Dear Samith Chathuranga, From the PLC POV you need to configure the mosquitto broker connection parameter in UniLogic. From the Help section:
  14. 2 points
    Hi Joe, I've worked with modems and communications on Unitronics for many years. They do certain things extremely well and we have seen many successful applications. More detailed comments and advice are below: 1. Ability to log in to the PLC Web Server - This is the most difficult of your 3 things to achieve over GPRS. You need at least a public, dynamic IP address. Once the GPRS connection is active, you then need a way to find the current IP address of the modem. One option is to get the PLC to send its IP address to you in an email once it has connected to the network. Note that this is not secure, anyone who figures out the IP address and what device is at the oter end can start to try and access it. 2. Ability to send a weekly csv. file via email - this works reasonably well, the nice thing about sending emails is that the IP address does not need to be public. However with the Vision family, you need an email server that can accept unencrypted connections. 3. Ability to send text msg for alarms - by far the easiest thing to do with the EHS6T and a V350. I would only recommend this modem to do SMS and nothing else. Trying to mix GPRS and text messaging is not simple, as the PLC to Modem communications has to be reconfigured for each mode (SMS or GPRS). Overall I found GPRS to be a fragile and difficult method of setting up a data link. If you want to use the web server, I would recommend switching to an Ethernet modem, which would also require the V100-17-ET2 card for the PLC. With ethernet you can do things like Dynamic DNS or VPN as a way to maintain a connection to the unit's IP address. However when switching to Ethernet, there is no easy way to keep using the SMS feature at the same time. The simplest workaround for that is to send all alarms by email, as most people now receive emails on their phones. SMS is beleived to be "reliable" but the SMS standard allows 24 hours delay in delivering the message (I heard a rumour that has been increased to 48 hours). In short, from my experience, it's not possible to do all 3 tasks that you have described with a single device/single connection, using just the standard built-in features of Unitronics. If anyone can improve on my advice, I'm happy to be corrected.
  15. 2 points
    Spotter90, What VisiLogic version do you use? Attempt to check for OS update from Help menu, then update PLC OS with new one and test again. If this does not helps - send your request to support@unitronics.com B.R.
  16. 2 points
    I think it's unlikely we'll ever see a software simulator from Unitronics. Their programming software is free and the PLC hardware is less expensive than most other manufacturers programming and simulator software. Just pony up for an actual PLC and you'll be amazed at how well it works as a simulator.
  17. 2 points
    Hi DaveB, Look at forum topic http://forum.unitronics.com/topic/6241-read-single-precision-arrays-with-modbus-tcpip/?tab=comments#comment-25356 Does it help you? B.R.
  18. 2 points
    Hi; Been there , done that. This is a Windows related issue. There is an install shield file that has information in it causing the problem, and has to be moved or deleted. Here is a solution: CAUTION : I Take NO Responsibility for anything that happens ( good or bad)!!!!! Local Administrator privileges may be necessary. KNOW what you are doing! Open C:\Program Files (x86)\InstallShield Installation Information There are a few or many very oddly named folders e.g. {12AB95C7-C72D-4CF5-9B6D-7452DF048C56} Starting at the top, click on the folder to open it: Each folder has a group of files. Look for the file : Setup.ini Double click to open the file or open the file in Notepad ( Notepad ONLY, this is a simple Text File) Top Line [Startup] 2nd line AppName= If the App name is NOT VisiLogic, close Notepad ( DO NOT do a Save or Save As) Move on the next folder If the Appname= is VisiLogic, Close Notepad Back out of that folder, Cut the Folder and Paste it into the Downloads Folder -- Just a safe place to put it for now. Also Rename the Folder and ADD - VisiLogic Restart the VisiLogic Installation, and ( fingers crossed ) it should go smoothly. You can also run a registry cleanup program later to locate and delete unused registry entries. Dant
  19. 2 points
    First you need to scale your analog input that you have your RTD connected to. What are the specs on your RTD transmitter? From the -T20 specifications: You've mapped MI 0 to Analog Input 0. So at 4 mA MI 0 will return 204, and at 20 mA it will read 1023, which is the output from the 10 bit A/D converter. You need to know what real temperatures that corresponds to and us a LINEAR block to do the scaling before you feed it into the PID block. Read the Help on how this block works. A common spec for an RTD transmitter is 4/20 mA = 0 - 250 C. Here's how the LINEAR block should look for this scaling: The PID CONFIG block should only be called once at startup, and the input should be the scaled temperature: You have to put values in the input parameters before the PID block will function. You can use the power-up values to eliminate setting them with the program. Now the big question - do you know how PID works? The output of the block will be an analog value that will span between the Control Value high and low limits. I put some in for you, but if you don't understand what they mean you need to spend some time reading ALL the Help on the block. You'll probably have to convert the output to some kind of time proportional signal to drive a discrete output. You'll also have to run Auto-Tune or set the P, I, and D parameters manually while it's running. Joe T. Termotunel JT.vlp
  20. 1 point
    By the way, you can change the entry in the box labeled "Opis:" to anything you want. It will be above the keyboard when the user is entering the number. You could say something like: "Enter the value for pressure (max 2.5 bar)".
  21. 1 point
    Yes, you absolutely can. You can get even more precision out of your particular setup by linearizing to 0-250 to get 2 decimal places, if needed.
  22. 1 point
    I think that most long-time forum members know that I write the Help for the software. I was a newbie at technical writing when I joined Unitronics. I also knew nothing, zilch, about controllers, had no tech background except for whatever I remembered from high school physics. @Joe Tauser contacted me regarding one of the first iterations of the VisiLogic Help. (this was more years ago than I care to admit to .) Joe asked questions--I had to find out the answers and put them in the Help. In addition to improving the Help, I learned a lot about the field. He pointed out errors--including spelling and such, which was great, because I am the only native English speaker at Unitronics R&D, and have never had anyone to edit my writing. Joe is not the only one who has contributed in this way--but just has he has the greatest forum cred, so was the size of his contribution in raising the quality of our documentation.
  23. 1 point
    Just click OK. The old copy is retained and will still run.
  24. 1 point
    With overnight pondering whilst asleep (thankyou brain), I actually think you need to change methods. A direct lift from the Jabsco sheet Kratmel refers to: I am all for doing unorthodox things, that is the way I have got around myriad problems over many years of designing lots of odd stuff. You have obviously been implementing this setup OK before. But I'd seriously consider changing the way you do it. I'd run the pumps at full speed and institute a variable valve flow system with a pressure bypass back to the respective holding tank. The pressure reliefs would be set equally so that the pumps don't get overworked. Both the valves could be easily controlled by an analogue signal which would be available on a different samba model, which would be set before starting both motors concurrently. Although this is still open loop, this method would likely give you much better flow control owing to consistency of mixing pressures. cheers, Aus
  25. 1 point
    1. You cannot power these motors by Ladder PWM SCAN FB. It is very slow for DC motors. 2. Right (MARCO) motor picture show remark "Do not use with PWM", so you should use voltage regulator for this motor. And this voltage regulator should be managed by 4-20 mA, 0-10V, or PWM signal. 3. Left picture motor may require the same regulators. *Both motors are 12V. Do you power PLC by 12 V? May be other Forum members has experience with such equipment? B.R.
  26. 1 point
    Are you SURE that it is variable speed? Or the wiring layout has been done correctly? It seems odd that it has an SSR connected to the supply unit, if it only needs a PWM signal to run that would normally come from the control system. Perhaps the SSRs are the main power switching, and there is another input available for the PWM that has been missed. This thought could possibly explain why the pumps suddenly ran, as the PWM may have crossed over the timing threshold so that the SSRs effectively stayed ON. This is especially the case if they are actually fixed speed. Perhaps you should post details of ALL the hardware in use. There is information missing here that appears to be crucial. cheers, Aus
  27. 1 point
    Hi CobryWZL,, Additional to what kratmel ask, Please explain what frequency required to manage pump. Is it fixed frequency and variable duty cycle? B.R.
  28. 1 point
    Hi CobryWZL, There are two different PWM settings, and many peoples mix it by mistake. 1. Hardware PWM, which is configured in Hardware Configuration. 2. Slow PWM Scan in Ladder. Two PWMs cannot be mixed. In Ladder you use second one. What is a PWM configuration in HW configuration?
  29. 1 point
    Search your project for MB 10. If there is an MB 10 coil elsewhere it could be overriding. The other likely possibility is that this ladder net is in a subroutine that is not being called by the Main Routine.
  30. 1 point
    Would you like to use UniStream, which supporting SQL interface? UniStream supporting FTP file transfer as well. If UniStream is not an option - visit at next link: https://unitronicsplc.com/software-visilogic-for-programmable-controllers/ and scroll down for "Programming tools for developers. Probably you can find one you can use. You can develop PC program which transfer required data between company server and PLC. B.R.
  31. 1 point
    It seems you have some misunderstanding of how your PLC and VisiLogic operates. The program uploaded or downloaded with VisiLogic does not contain operand values. However, there is a facility to do that. Go to Connection/Export PLC Operands (to text or binary file) while connected to the old PLC. After that completes, do the reverse with the new PLC. You can also do something similar with an SD card, but the PLC program must be set up to allow that.
  32. 1 point
    PLC node 1 need password... By the way. As i see - your send commands via UNICAN work with the system bit timer activation. If time for transmission information is to short - you cannot read some nodes. Maybe you must program sequence for read each node with some time gap or read next node if information from previos is sended to main PLC.
  33. 1 point
    I don't believe there is a log. The forum is a mostly volunteer user effort and we don't always have the answers or know all the features. If you want an official answer on a question like this send your request to support@unitronics.com. Joe T.
  34. 1 point
    Thank you for posting your program. The VNC server was not enabled. It's in a real obvious place (sarcasm) - "Password Management" - and is disabled by default. I enabled it with no password. I recommend you change this in the future if there's anything else on the network. Joe T. Starlord test JT.ulpr
  35. 1 point
    Hey i wanna thank you Flex727 and Ausman i finally got it to work. i digged a little in the Forum and found some other code from Ofir and i'd putt it all together and gotit to work. ill post my code for anyone who is struggling with this kind off problem. ABB VFD.vlp
  36. 1 point
    Further to Kratmel's great answer which I would pursue first, what brand is your USB to Serial adapter? There are many out there that use fake chips, and they do not work properly. This has been discussed at length on the forum if you have a hunt around. Until you first encounter the issues they create you haven't experienced the joy of banging your head against a brick wall, trying to figure out why the &*!## connection still doesn't work. ⛔! cheers, Aus
  37. 1 point
    Yes Kratmel, there was an unfortunate problem with it, but however you look at it, it was pretty unique! cheers, Aus
  38. 1 point
    I did quick fiddle with the data in Excel. It looks like an offset of -45 counts and then a linear scaling error of -2.4% over the range of the input. Fluke(ma) Actual Count Expected Count Count Diff. Data without offset Percentage Error 4.000 -45 0 -45 0 6.000 954 1024 -70 -25 -2.44% 8.000 1954 2048 -94 -49 -2.39% 12.000 3953 4096 -143 -98 -2.39% 14.000 4957 5119 -162 -117 -2.29% 16.000 5951 6143 -192 -147 -2.39% 18.000 6951 7167 -216 -171 -2.39% 20.000 7949 8191 -242 -197 -2.41% I would not expect this as normal behaviour. The spec sheet gives accuracy of 0.4%. However, apart from the offset and scaling errors, the data looks quite clean. Usually a bad input won't even perform this well. Were you able to test with the field wiring completely disconnected from the analogue module (that includes the commons as well as the signal lines)? I notice you are a few versions behind on UniLogic, the current version is 1.28.34. I doubt the issue is version related, but I would suggest upgrading at some point. I'd be pushing into a more thorough diagnosis of the hardware and field wiring first. Hope this helps,
  39. 1 point
    I have successfully autotuned and run a PID loop without any I/O attached by varying the analog input by hand. The resulting PID values would not work in the real world, but I was able to test to make sure the PID loop was set up correctly. The PID values can be calculated by the autotune process or you can enter them manually. You have either or both options available to you. You don't need an oscilloscope to see analog output. Just go online and look at the MI operand attached to the analog output. By the way, there are example projects that came with your VisiLogic installation that include an example for PID loops. Take a look at that and see if your PID is set up correctly.
  40. 1 point
    Hi and welcome. Before doing anything else, did you do the install as right click/run as admin? And once that is done, go to the U90ladder.exe program itself and ensure you have Run as Admin selected in right click/Properties/Compatibility. If you did not do the install as above, save your plc programs, connect the plc and manually fully delete the matching com port driver in Device Manager, completely uninstall U90 using the standard uninstaller, then delete the Unitronics U90 Ladder folder if it remains, reboot and start again, doing the install as first mentioned. In theory the latest versions of the program do the admin stuff themselves, but sometimes it doesn't work. Once you have done that, see how it goes and then we'll proceed from there. cheers, Aus
  41. 1 point
    I thank the Unitronics team for making me the part of the beta project.
  42. 1 point
    Just for clarity to everyone following this saga. The EXL-CAB295 is for the EX-A2X, NOT the EX-A1!
  43. 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.
  44. 1 point
    Hi Nahum, Thanks for the advice. I also did some testing using a PC based Modbus master simulator (ModScan) and confirmed the situation as well. I also found that there was an offset of 1 between the internal UniLogic address value (in the Modbus Slave configuration) and the external Modbus address. For example coil register 9472 appears as 09473 (Read Coils (1)) or 19473 (Read Discrete Inputs (2)) I think it would be a valuable addition to have an explanation of this in the UniLogic help file under Modbus Slave. For example: Coil values can be read using either Read Coils (1) or Read Discrete Inputs (2). For example coil address 4444 can be accessed as either 04445 (Read Coils (1)) or 14445 (Read Discrete Inputs (2)) Register values can be read using either Read Holding Registers (3) or Read Inputs Registers (4). For example Register address 1111 can be read as either 41112 (Read Holding Registers (3)) or 31112 (Read Inputs Registers (4)) Maybe add a configurable offset value to UniLogic, so this offset can be corrected in future applications, without destroying backward compatibility?? It has always been a common "gotcha" with Modbus, to discover who counts from "0" and who counts from "1". Thanks, Simon
  45. 1 point
    Hold Ctrl+Shift while you double-click the Visilogic icon. This will reset the window settings to factory default. Joe T.
  46. 1 point
    Hi, I have JZ20-J-T18 Jazz PLC, and U90 Ladder. I have 2 Analog Inputs that needs to be scaled. I have found a way to scale one of them, using SI 80-85 and my Analog Input (4-20 mA). Now i need to scale second one, but there is no SI for 2 or more scaling. My question is how to scale 2 Analog Inputs in U90 Ladder, if possible? Thankful in advance, Nikola Ljubinkovic
  47. 1 point
    Hello I change the ID address of the master/slave, as Gabriel Franco said. I also change the the other modbus parameters to: 9600,8,E,1. But its still does not work. Not to read or write. If I go to boot menu on V130, see under the Comunication Port1 that Rx and Tx was sended. But there is nothing now not a Led tripping on frek. converter. I was waiting for new cabel 6/6 I was thinking maybe is a problem in cabel but it is the same with new cabel. Please any advice or suggestion. Modbus FC280_pop1,2.vlp
  48. 1 point
    This is an older question but I thought I would respond. Having written mixer programs before this is the method I used to arrive at the correct weight for each batch run. At the beginning of the day the mixer was zeroed. But after that never again. In my process each batch had a recipe of water, gypsum and sand. At the beginning of each batch all that is needed is to look at whatever the mixer has as its weight at the beginning of the batch and look for the difference in weight as the ingredients are being added. A screen shot of a main viewing screen has been attached as an example. In the program you just use the weights as they are at the beginning of each step as the zero point. Keith
  49. 1 point
    I've dived into UniLogic full time now and am thoroughly impressed with the capabilities. Here is a list of items I would like to provide feedback on. Most are minor, but issues I'd like to see considered. I am using version 1.12.20. I realize that version has now been superseded, so if any of these have already been addressed, please let me know. I'm adding issue #0 to the top of the list - the HMI screen does not update in a dependable way. There can be delay up to nearly a second for various HMI events to occur that should be simultaneous. Also, running animation by using "List of Images" is painfully bad, with strange stuttering delays. The delay when bringing up a keyboard for string element entry is way too long. I realize there are valid reasons for this, but it needs to be dramatically improved. 1) Can you adjust row height, font, and justification when displaying data tables on screen? If not, this needs to be added ASAP. 2) Runtime editing of slave IP addresses is critical and needs to be available. Network administrators sometimes want to make changes and I don't want to have to get on a plane to make that simple change. 3) How to create, upload, and download clone or application files (SD card)? I can't find any information about this in the Help file. 4) All HMI elements should have Touch properties (that was a great feature in VisiLogic). All text elements should have button appearance capability. 5) "OK" button in Message Box does not seem to trigger the associated action. Is this a known bug? 6) Replace function does not replace the tag name or alias. It also needs to be capable of handling an array. 7) A momentary contact pushbutton should be an Action selection (i.e. pushing the button energizes a coil while the button is being pushed) rather than needing two lines to Set the coil on Pushed and Reset the coil on Released. 8) Complex HMI screens can be very difficult to build due to not being able to see the edges of an element when it's selected. In VisiLogic, most elements can't overlap, so it was easy to just slide an element over until it stopped. At that point you knew the elements were precisely adjacent. You can't do that in UniLogic since elements can overlap. I find myself selecting an element, moving it a few pixels, deselecting it to see where it is in relation to an adjacent element, re-selecting it and moving another pixel, etc, etc. This is a time-consuming and painstaking process. Is there a better way? Also, in VisiLogic the selection box disappears briefly while the element is being moved to help in placing it precisely. 9) How do you select an HMI element for editing that is behind another element without moving the element that is on top? 10) In VisiLogic, every HMI screen element was exactly pixel perfect (i.e. what you saw on the PC screen in VisiLogic was exactly what you saw on the PLC screen. This is not the case in UniLogic. I've run across several instances already in my short time using UniLogic that what Is seen on my PC does not match the PLC screen. It looks to me like the HMI screen (for a UniStream 7) in UniLogic is 800x500 on my PC instead of the correct 800x480. This scaling might account for the problem. 11) It would be handy if a 2x magnification of the HMI screen was available, even if the whole screen didn't fit in the window, to allow for more precise placement of HMI elements. This was very helpful in VisiLogic. 12) Under the Tools menu, what does "Find Undersize Images" mean? I can't find any Help entry on this. 13) We desperately need an UNDO that works properly. 14) Rotating an image element 90, 180, or 270 degrees can blur it substantially. That shouldn't happen. Blurring at other angles is probably unavoidable, but those angles should be direct pixel translations, it seems to me. 15) There seems to be very little difference between 0% and 100% screen brightness. Can the screen be turned off to extend life? And, of course, these 3 age-old requests from the VisiLogic days: 1) Software PLC simulator 2) Ability to run 2 instances of UniLogic and be able to copy/paste between them 3) Ability to open multiple windows within a single instance of UniLogic so that we can look at ladder and HMI side-by-side. Thank you.
  50. 1 point
    I have an idea for a new 'feature' for the U90 Ladder software... how about a way to 'copy' a net on the ladder from one project to another? I have seen plenty of good ideas in the 'sample' projects, and my own, but I can't just copy a selected net (or more than one) and then paste to the one I'm working on. I see the export / import functions do this, but maybe an alternative is just a simple copy / paste?
  • Create New...