Jump to content

Search the Community

Showing results for tags 'pid'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Our Community
    • Come on in!
  • News and Announcements
    • Latest Release! UniLogic V1.28 introduces Motion: Servos & Motors plus OPC UA server!
    • VisiLogic:9.8.64 - Link to mobile app, Ladder: 2x the Space!
    • New!!! ***** U90 Ladder*****
  • UniStream HMI + PLC Programmable Controllers & UniLogic Software
    • UniStream: Hardware
    • UniLogic Software
    • UniLogic UDFBs
    • Industry 4.0, IioT, MQTT, OPC UA
  • Vision, Samba, Jazz and M90 PLC + HMIs & Software
    • Vision & Samba PLC + HMI Controllers & VisiLogic Software
    • Jazz, M91 PLCs and U90Ladder
  • Software Utilities
    • SD Card Suite
    • Remote Operator
    • Remote Access
    • DataXport and DataXls
    • UniDownloader
    • UniOPC
    • UniDDE
  • Utilities for .net and Visual Studio
    • Unitronics PCOM Protocol
    • COM Object ActiveX .dll
    • .NET driver
  • Project Design
    • ...I have a project...what hardware do I need?
  • User Application Stories
    • Just finished a great project?
  • Tips and Tricks
    • Best Programming Practices
    • Tips and Tricks
  • Job Board
    • Projects seeking Programmers
    • Programmers seeking Projects
  • General Discussion
    • We're Listening...
    • The Lounge
  • News and Announcements Copy


  • Unitronics' Blog: PLCs, HMIs and more
  • Saragani's Blog
  • Simon's Blog
  • Ash Neilson's Blog
  • Joe Tauser's Blog
  • Unitronics en Español
  • Powered by AMPS
  • Alldrives UK's Blog
  • Unitronics, Howman Style
  • PLCNewbie's Blog
  • Telestar Automation Blog
  • Webinars Collection
  • Tim's Corner
  • Blog
  • TELESTAR (Italian)
  • i4 Automation
  • i4 Automation (UK)
  • Unistream UDFB's


  • From Headquarters: Sample Applications
    • From Headquarters: VisiLogic
    • From Unitronics: U90 Ladder applications
  • User-submitted Applications
    • From Users: VisiLogic applications
    • From Users: U90 Applications


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 32 results

  1. Hello all, I am working with V350-35-RA22 OPLC and am using the PID FBs to control temperature. I am controlling a heater with a solid state relay and using the PWM function block. The duty cycle of the function block is set to the output of the PID. I am running the auto-tune using the PID server tool and it is able to change the output of the PID. However, when I instead attempt to use the run autotune function block, the PID output remains at its minimum value. Is there any reason this would happen?
  2. Hi, I have to make logic were one PID loop controls two series-connected valves (look File 2). In logic, PID SP is temperature what comes from dynamical graph (depend on the external air temp), PV is outgoing temperature (after valves), PID CV is used to activate PLC relay outputs- OPEN, CLOSE (look File 1) There is no feedback from valves, from technical data is known that OPEN position to CLOSE position takes 150 sec (both valves are same type). Actions: 1. If its needed to raise water temperature, then its activated OPEN output, which is linked to valve "Direct" (look File 2, 11GM1). When valve "Direct" is full-open, but temp. isnt still high then end- switch Open will be electrically close valve "Bypass". 2. If its needed to lower water temperature, then its activated CLOSE output, which is linked to valve "Bypass" (look File 2, 11GM2). When valve "Bypass" is full-open, but temp. isnt still low then end- switch Open will be electrically close valve "Direct". First positions (physically) are , before PID Auto -tuning 40/60: "Direct" valve start position is 60% opened and "Bypass" valve start position is 40% opened (maybe 50/50 would be better?). I have looked U90 Ladder example "PID with motorized valve". It seemed very helpful, in example primary loop PID is looking SP-PV error and secondary loop compares PID CV and Virtual Valve Position. In example there is only one valve, how to do it with two valves what are series-connected? OK, in logic OPEN output is increasing "Direct" valve position and CLOSE output is increasing "Bypass" valve position, but what to do in logic when movement physically goes over to series-connected valve (look algorithm and File 2)? Ylle
  3. This is my first post so I didn't have the time to introduce myself. Anyway I am starting my first project with a V570 and an snap in IO card in order to monitor and control the process of a drying oven. I viewed the corresponding webinars and I think I got the main idea about Visilogic (My previous knowledge about ladder and PLC programming is minimum). Anyway when I insert a configuration PID FB in my project and trying to compile the code, I get the error mesagge that PID Config is not supported by Color PLC or/and V130-33. Am I missing something too obvious ? Any help is welcome, Thanks in advance,
  4. In my application, I am trying to control a Peltier, or thermoelectric device. Would you help me understand the logic in the program I inherited? The program has two PID loops, one that outputs heat, and another that outputs cool. When heating, cooling is inhibited. Any suggestions on better ways to do this? Maybe a single PID with two outputs? Just in case, a peltier device has two sides, a main and a waste. When current is flows though one way, the main side gets colder and the waste side heats. When the polarity is reversed, the main side heats and the waste side cools.
  5. Hello again Thank you all for your recent help. I have certainly experienced a steep learning curve with Visilogic! I require some help with using a PID function to control the putput of one of my valves. The problem I have is that the valve is "chattering" when near to the setpoint, i.e opening and shutting very fast as the setpoint is reached. I need to slow down the operation of the output, the control does not need to be so precise - i.e control within +/- 3 mbar of the setpoint at 103 mbar, or only open again after 2 seconds of closing. I thought that I would use the PID function to sort this problem but I am really stuck. COuld anyone please help me in very simple terms, to show me how to implement the PID into my ladder? I am using MI 2 as a linearisation of a 4 to 20 mamp input ranged 0 to 1000 mbar. This is what I want to use as my process input. Set point is 103 mbar Control can be +/- 3 or 4 mbar Would like to control Output 8 with teh PID function. Thankyou in advance :)
  6. I am using a 570 to control air temperature. I have a hot duct and cold duct in parallel with dampers 90 degrees offset on the same shaft such that when, for example, the hot duct is 100% open, the cold duct is 0% open; driven by an Oriental Motors Stepper with potentiometer positional feedback. A thermocouple provides the PV. I am using the PWM output from a V200 card to drive said stepper in a 2 wire config with one wire being enable, the other being direction. My problem is that except for the setpoint that is manually entered of course, all the parameters are zero. I know the PID won't work with zeros in all the parameter values. What are some reasons auto tune did not write the values to the table? I am running visilogic 9.5.0 I have also tried to find pre-written PID example routines and cannot find them under the help > example file. I also tried updating to no avail. In fact, when I click on examples, I get one folder that is "version 900" that has no PID example that I can find. Do example PID's exist? Also, is there any conversion that needs to take place between the PWM output and the stepper? I'm worried I'm in Unitronics "No man's land" as the folk I've talked to at Unitronics support who are consistently good about answering questions seem to have the reaction of family at the Thanksgiving table when the wayward relative pregnant with an illegitimate child is metioned. I can feel the loss of eye contact on the phone. Then when I don't see examples, it makes me wonder if Unitronics just doesn't do much with PID's? Thank you for ANY help you can offer! rookieprogrammer being baptized in fire
  7. (Sorry for my english) Hi, I have to drive the desired temperature X. In general, the matter would be trivial, if I had one device that generates me the temperature, but unfortunately it is not. I have available: 1 - unit # 1 heating device with analog input (high power - priority 2) 2 - unit # 2 in heating mode with analog input (low power - priority 1) 3 - unit # 3 in the heating mode of the digital input (on / off - priority 3) 4 - unit # 4 in the heating mode of the digital input (on / off - priority 4) 5 - unit # 2 in the cooling mode of the analog input (with low power, but under certain operating conditions - priority 1) 6 - unit # 3 in cooling high-power digital input (on / off - priority 2) 7 - unit # 4 in cooling high-power digital input (on / off - priority 3) All these devices can be operated at the same time, of course, only in one mode. For each device there are also relationships that allow their activation. Devices do not have consistent performance - it depends on many factors, which can not measure nor even guess. I wonder on how to control these devices depending on the value of PID CV (Control Value). The only idea that comes to my mind is to assign to some range of values ​​for the turn on of the devices. I just wonder if the PID will function OK and wonder what to do with the start and the level of "zero". If CV would -100% to 100% is rather negative control must be attached to cooling devices, and positive to heating devices. Zero disables all devices. I'm worried about controlling devices # 3 and # 4 - I can not turn on / off frequently - they are large chillers. Tonight I got the idea to control these problematic units. If the PID is saturated by X time I would turn on device #3. Where it will 2X - turn on device #3 and #4. Now I had to figure out a condition for the descent of these aggregates. I suspect also that I need to reset periodically PID saturation and add a sort of hysteresis to include these units. What do you think? Any ideas?
  • Create New...