Jump to content


Popular Content

Showing content with the highest reputation since 04/11/2019 in all areas

  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
    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.
  4. 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.
  5. 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.
  6. 2 points
    Hello, Open font handler by clicking the (A) icon on the toolbar, from there you can add a new font.
  7. 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!
  8. 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.
  9. 2 points
    Dear Samith Chathuranga, From the PLC POV you need to configure the mosquitto broker connection parameter in UniLogic. From the Help section:
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. 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
  15. 2 points
    Those would be the Visilogic function blocks. As you've already done, read the data from the device into a UINT32 tag. For testing I made one called "Read Data" that I could simulate, and a tag called "Conv Value" to hold the swapped bytes. The data will land in a REAL called "Converted". In UniStreamSpeak- 1. Copy the data you read from the device to the working tag and Swap the bytes using "Logic->Swap Single Tag Bytes" with Swap Type.ABCD_CDAB. 2. Copy the swapped data to a 4 byte BUFFER array type so you can manipulate the memory directly. Mine is "Conv Buffer[4]". 3. Use "Buffer Tools->Copy Tag to Buffer" to get the "Conv Value" data into the buffer tag and "Copy Buffer to Tag" to get it from the buffer to the REAL "Converted". There you go. Sorry it doesn't have all the digits you're looking for. If you need to convert several values write a UDFB to move the data into this logic with a pointer. Joe T.
  16. 2 points
    There are a couple of I/O module that can you can directly connect a 100 ohm RTD to - the V200-18-E3XB snaps onto the back of the V700 and the IO-PT400 expansion module is similar to the IO-ATC8. Both of these modules return the temperature directly in 0.1 degree units, which probably what's confusing you. But this is not what you have in the Prosense (translation: Evil Empire) transmitter. You need to understand what you'll be feeding the IO-ATC8 electrically from the transmitter. It's not ohms. Let's lay it out: 0 F = 4 mA 300 F = 20 mA The IO-ATC8 is an A/D (analog to digital) converter that produces a number to the PLC based on it's input. You said you understand it's 14 bit, but do you know what that means? Let's lay that out, too: 0 mA = 0 counts to PLC 20 mA = all 14 bits on = 2^14 = 16384 counts to the PLC So your transmitter starts at 4 mA. This means at 0 F the IO module will return (4/20*16384) = 3276.8 counts, which it will round to 3277. At 300 F it will return 16384 counts. Read the Help on the LINEAR block, which includes some fun diagrams under the subtopic "Linearizing Analog I/O Values" So you set your linear block up like this: X1 = 3277 (point 1 input) Y1 = 0 (point 1 output) X2 = 16384 (point 2 input) Y2 = 300 (point 2 output) Map X to the register assigned to the channel on your IO module and Y to whatever MI you want to use for the output. If you still need help post your program. Joe T.
  17. 2 points
    Hi all, This Topic will list items that are worth an easy find, but are not quite "pinnable" on their own. If we pin everything that is useful, it will all become one big mess on page 1 (or bigger!). I suggest that if you want something added to the list, contact myself or another mod to have them edit it into this existing list that I see as having carefully considered updating. To save space, only links will be shown, not full previews, with the Header or a Description listed before the link. Sometimes the link will take you to a particular post within a Topic that is the answer, but a full topic read will never go astray....history is useful. Just a link to the Help Centre, which perhaps many people don't know about. The link actually goes to the Vision/Samba firmware update troubleshooting page, but you can easily back out of there using links under the Help Center heading to find many other topics about all things Unitronics. https://support.unitronics.com/index.php?/selfhelp/view-article/visionsamba-firmware-upgrade-troubleshooting HSC resets DW counter after power-cut http://forum.unitronics.com/topic/6118-hsc-resets-dw-counter-to-after-power-cut/ Multi Monitor (things disappearing) Issue http://forum.unitronics.com/topic/5827-multi-monitor-issue/ Setting up EX-RC1s (particularly Joe's explanation at post 9.... 21520) http://forum.unitronics.com/topic/4165-setting-up-two-ex-rc1/?tab=comments#comment-21520 Run Multiple Instances of Visilogic etc and making good use of this ability. http://forum.unitronics.com/topic/4015-multiple-connection-live-checking-tip/ EX-A1 vs EX-A2X Connection cable differences. http://forum.unitronics.com/topic/58-ex-a1/?do=findComment&comment=26267 Trend Disappearing in various scenarios. http://forum.unitronics.com/topic/5233-v700-trend-disappearing/?do=findComment&comment=22704 Many Screen Elements makes PC do long refresh time. http://forum.unitronics.com/topic/6590-visilogic-9880-hmi-frustration/?do=findComment&comment=28338 Connections suddenly showing "No PLC is currently selected..." http://forum.unitronics.com/topic/6478-connection-problem/?do=findComment&comment=26158 Connection details storage tip related to no. 9. Store all evb details elsewhere. http://forum.unitronics.com/topic/5439-hiding-remote-locations-on-your-pc-from-crooks/?do=findComment&comment=21086 Great Subroutine advice. http://forum.unitronics.com/topic/7081-subroutines/ Intermediate Calculations Using Same Operands....great explanation from Joe for those who don't know about this. http://forum.unitronics.com/topic/7207-linearization/?do=findComment&comment=29492 Initialize & Reset might fix weird things. http://forum.unitronics.com/topic/7271-initialize-reset-might-fix-weird-things-going-on/ cheers, Aus 🙃 (mods note, Header 16 bold strong blue, link 10 bold)
  18. 2 points
    I watched the attempted moon landing today with great anticipation. Sadly, there was a failure just seconds before the landing which prevented the mission from being a total success, however, I would like to congratulate the Israel Space Agency, Israel, and all the Israeli people for what they did accomplish. This was a private initiative that attempted to do something that only 3 other nations have accomplished in the history of man (and something that none of them are still able to accomplish). What they did successfully accomplish was to place a spacecraft into a stable orbit around the moon, which also has only been performed by three other nations. This was an inspiration to us all and I am certain the next attempt will be 100% successful.
  19. 2 points
    Actually..... https://en.wikipedia.org/wiki/Apollo_Guidance_Computer The V130 has more horsepower than this. I listened to this book about the space program on audio- http://www.craignelson.us/books/rocket-men/ The actual landing of the lunar module on the moon was done by the astronauts. The landing site initially selected wasn't what NASA thought it was - it was full of boulders and Neil Armstrong had to manually fly the lander sideways for quite a distance to clear them. There are just some circumstances with too many unknown variables that a computer can't handle. J
  20. 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
  21. 2 points
    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.
  22. 1 point
    phu.vu, do you understand what Kratmel is suggesting in saying this? This might just be a translation issue. Or are you saying that the screen and keypads etc are all ok, and thus it is the main board etc that are faulty so changing them into a "new body" is not applicable in this case? It seemed to me that some clarification was necessary. cheers, Aus
  23. 1 point
    I am grumpy about 70% of the time, but I do appreciate your kind words. I can definitely post a smile emoticon. Joe T.
  24. 1 point
    Yes, it is maybe one of the best solution, Aus. By the way, Up2-oil pump i offered by manufacturer in closed loop preprogrammed pressure variant. https://www.clarksol.com/wp-content/uploads/2016/09/UP2.pdf in another jabsco pump we see 15 max minutes working time limitation due to overheat! We do not know that the developers of this design have an end goal. What precision should be obtained,what costs of equipment are acceptable and what working time is predetermined? However, I believe that the primary purpose of our communication is to help us understand what the Unitronics PLC programmer can and cannot do to meet the above objectives. SAMBA offer apropriate PWM condition for MOSFET OUTPUT SSR. But i do not know about future result of motor performance with this control setup. Maybe this PWM must be used for proportional variable valve mentioned by Ausman.
  25. 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
  26. 1 point
    Please post to topic solid state relay type and motor nameplate. As i see you place 1Hz PWM Frequency to MI 103 and MI105 for the DC or AC type motor it is really slow. Please note - this Frequency must be apropriate for solid state relay, and relay must be compatible to used motor type. In PWM control you do not need change PWM Frequency in program (It must be constant = powerup value). Only Duty Cycle MI104 or MI106 must be changed from 0 = 0 speed, 1000 = max speed. If you post solid state relay nameplate and motor nameplate - i will try to recommend you Frequency for PWM.
  27. 1 point
    That is just something VisiLogic does when it's online with the PLC. It's not actually following the logic of your program - it is only checking the value of each operand and displaying it on the screen.
  28. 1 point
    Yes, but two things: 1) Don't use SB 7, use SB 15. SB 7 is a square wave - you want a positive transition. 2) Place an inverted contact of MB 0 (Function in Progress) between SB 15 and the MODBUS read FB.
  29. 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
  30. 1 point
    Hi Neels, UniStream is only an SQL client. I'm not aware of situations where an SQL client can respond to requests. I have done some quick google searches and there are situaitons where two SQL systems are set up as master and slave where they can request data from each other, but in those cases both master and slave are both SQL servers, and the purpose is to keep backup copies of data. Just another thought, if the customer installed MQTT broker and client software on their SQL server, they should (?) be able to set up the MQTT client as a subscriber to the MQTT data, and it would push new data to the SQL databse. The PLC would only publish data as it was relevant, which would optimise the data flow to the main SQL database. There should be controllability on the update rate at both the subscriber end as well as the publisher end. Going back to the idea of the UniStream connecting directly to the main SQL databse, It is possible to set the PLC to only push data to the SQL server on change of state. Maybe the server could send an SNMP packet to the UniStream that would trigger an SQL push? As I said, just some thoughts, based on general principles and completely un-tested... Simon
  31. 1 point
    Hello Ricardo, A good and safe way to have internet remote access via Webserver or VNC is to use a VPN router with integrated cloud service. There are various options available such as Ewon, Tosibox and MBconnectLine products.
  32. 1 point
    Logan, I thought about entering into this topic with some personal observations, but decided not to as it was running along quite well. I've had instances of something similar when using a serial modbus line with quite a few slaves. I'd lower the speed b/n calls until it became unstable, then back it off (hmmm "raise it up"?) until it all ran ok. Would do other jobs around the site for the day and it would still be going fine on leaving. A few days later it would fall over, and the cure was a slight increase in delay times. I can only theorise that my initial time was running very close to not allowing the buffer to clear properly, and eventually the accumulated(ing) stuff reached a tipping point where it cracked the poops. All the info being derived was always the same amount of transmission. Whether this can happen using TCP I don't know, but it does sound awfully familiar. For me, buffers in Unitronics land sometimes pose issues that have to be allowed for. cheers, Aus
  33. 1 point
    That feature is there to protect the programmer and machine builders. There's no way to get it off the PLC if upload was not enabled. Joe T.
  34. 1 point
    Yes. You'll have to send them a text from within your ladder logic. Vision series Email blocks are not capable of using an email server that uses SSL, so you'll need to set up an account with a non-secure email server. The only public one we know of that can still do this is SMTP2GO. Look at the Example project for Email on how to set this up. Check out this post- Joe T.
  35. 1 point
    If you have a program that is on the plc you can read DT values and export to Excel via UniLogic.
  36. 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.
  37. 1 point
  38. 1 point
    Update firmware before first program download
  39. 1 point
    If your PLC is slave, it answers for SCADA request. So, you do not need to send replay from Ladder. You can look MODBUS IP examples for Slave and Master in Examples directory, where you installed VisiLogic. C:\Program Files (x86)\Unitronics\Unitronics VisiLogic_C\Examples\Version 900\Project examples\Communications\Ethernet\Ethernet MODBUS IP\ Or from "Menu->Help->Examples->Version 900\Project examples\Communications\Ethernet\Ethernet MODBUS IP\ In your case PLC is Slave. You have to configure is as Slave and everything should work. Commands you use are for Master PLC. Other error is that you use Normal Closed contact "Function in Progress". This mean that you send a lot of MODBUS messages to network. Follow MODBUS IP example for Slave to make MODBUS IP working.
  40. 1 point
    For what you want I wouldn't be going to too much trouble. The unit uses about 12W max so I'd find yourself a little enclosure like my pic I found. Plastic lids are very easy to work with, and if you don't have precise machinery to machine the hole, you can easily do it carefully with a jigsaw. Put some duct tape on where you're cutting to protect the surface that will remain. For power I'd simply use an external plug pack, and run the lead through a nylon gland on the side of the box. Same goes for your ethernet connection, use a gland big enough to let you run a standard ready made patch lead through of the right length. Your location will dictate where you get this stuff, all of it can normally be found at any decent electricians' supplies store, or a hobby electronics type place. cheers, Aus
  41. 1 point
    Hi people! For those of you who missed the launch of the UniStream PLC...I wrote a blog post Check it out!
  42. 1 point
    This is a good suggestion. I recommend you read up on how PID works and how each parameter affects the loop. Nobody takes time to learn anymore! Read the Help topic "PID Config Struct Parameters". So are you reading temperature in whole units or decimals? You mention SP = 110, but you say you get 109.5. Please be more specific. Is your setpoint 110.0? I'm going to assume you are working with 0.1 degree resolution. Your loop is too tight for minimizing overshoot. Set Kd (Td) derivitive time = 0. You don't need it unless you anticipate upsetting the system, like opening the door on an oven or dumping cold product in. The units on Kp are 0.1% of PV, which defines when the algorithm becomes active. So initially with Kp = 1, and SP 110.0 you are activating the PID at 109.9 degrees. With Kp = 5, it starts working at 109.5 degrees. Sound familiar? Manual loop tuning 101: Start with Kp = 100 (10.0%) and Ki = 0. Then start lowering Kp until the process starts to just ring around the setpoint. If it overshoots wildly you need a bigger Kp. Measure the time between peaks. This is the natural cycle of your process. Then take your Kp value and double it. The units on Ki are seconds. Enter the time between peaks value. Let us know how it goes. Joe T.
  43. 1 point
    I'm not sure if this will help but it works to time stamp the entries in our DB.
  44. 1 point
    Make sure the box circled in red is NOT checked when you create your timer.
  45. 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
  46. 1 point
    mixer for powder adhesives and mortar
  47. 1 point
    And now for my next trick........I found that you can also do multiple instances of Remote Access. Very useful if that is all that is needed, rather than running the full blown program. And, drum roll, the double whammy is that if you have different models on the same network, it actually "shows" them, reducing confusion even more! My pic shows two over the top of writing this post. Cheers, Aus
  48. 1 point
    Use "Legal Entry" in the HMI input to know when the timer has been updated. Then compare the Timer Preset with the min and max values you want. You can either reset the preset to the min or max value, or pop up a screen that informs the operator that they've made an error. The option you suggest does exist for numeric entries and I agree that it would be nice to have it for Timer inputs also.
  49. 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?
  50. 1 point
    Is there any solution to this problem.Im getting it as well. I cannot load a project and this window pops up with this description of a subscript. I have uninstalled the software and reloaded it again but i still get this problem showing up.
  • Create New...