You are not registered yet. Please click here to register!

plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!

Go Back - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

Thread Tools Display Modes
Old February 10th, 2020, 02:25 PM   #1

stu is offline
stu's Avatar
Join Date: Aug 2005
Location: England
Posts: 652
Pid information needed rslogix 500

Hi good people
I have a question regarding a program on a machines heater control, I have 3 x heater contactor controlled via a plc
It looks like the contactor is controlled via timers rather then the pid in the program?
Can you explain why pid is not being used full and the timers energize the output to the contactor, could it gave been done with the output of the pid ?
  Reply With Quote
Old February 10th, 2020, 02:29 PM   #2

stu is offline
stu's Avatar
Join Date: Aug 2005
Location: England
Posts: 652
Pictures didn't attach
Attached Images
File Type: jpg Screenshot_20200210-184340_Drive.jpg (92.3 KB, 24 views)
File Type: jpg Screenshot_20200210-184318_Drive.jpg (112.0 KB, 23 views)
  Reply With Quote
Old February 10th, 2020, 04:41 PM   #3
Lifetime Supporting Member

ASF is offline
Join Date: Jun 2012
Location: Australia
Posts: 3,179
Without having the full code to poke about in, I'd say there are two likely possibilities:

1. The PID loop does effectively control the "on time" of the heaters by virtue of adjusting the timer presets, or using N50:14/N50:2 to switch B3:13/0 on and off, or some other similar method. I have used this sort of approach before (although I'd like to think my finished code was somewhat less opaque) when I'm trying to control a temperature with a PID - you effectively have an on/off duty cycle for the heater output, and increasing your PID output increases the on time/decreases the off time.

2. Somebody tried to implement a PID-based temperature control loop, couldn't get it to work, threw in an undocumented fixed-rate on/off duty cycle, got it working by trial and error, and then called it a day.

If I had to take a bet, I'd bet on #2
  Reply With Quote
Old February 10th, 2020, 04:59 PM   #4
United States

PLCplease is offline
Join Date: Dec 2017
Location: Indiana
Posts: 22
Yes, it rather looks like they cobbled together a feedback loop using the Less Than instruction to turn on the heater.

Those timer branches are a bit baffling to me, though. It appears that the only thing controlling the heater is the B3:13 bit
  Reply With Quote
Old February 11th, 2020, 06:40 AM   #5
United States

DaDaDadeo is offline
Join Date: Feb 2018
Location: New York State
Posts: 63
The best way to control a digital output is by either Pulse Width Modulation (PWM) or Timed Proportional. I prefer the timed proportional option. There are several topics in this forum addressing this. Basically the PID output percentage is compared to a timer that resets itself. The output percentage is scaled to match the timerís preset value. If the timer preset is 4 seconds (4000ms) and PID output is at 50% (2000), the digital output is on for 2 seconds and off for 2 seconds. If the PID output is 25%, the DO is on for 1 second and off for 3 and so on. To keep an output from cycling off/on too quickly when the percentage is very close to 0 or 100% , add a 1/2 second or more delay on the outputt
  Reply With Quote
Old February 11th, 2020, 09:02 AM   #6
United States

Helliana is offline
Join Date: Nov 2011
Location: Louisiana
Posts: 713
If you have a tech connect contract, the knowledgebase has examples of both time proportional and split range time proportional PID examples for RSLogix500. I have used them on extruders and seems to work well.
  Reply With Quote
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
RSLogix 500 PID Instruction iMalinko LIVE PLC Questions And Answers 7 April 27th, 2016 10:24 PM
RSLogix 500 PID iMalinko LIVE PLC Questions And Answers 5 April 6th, 2016 11:07 AM
RSlogix 500 PID Block kirk LIVE PLC Questions And Answers 4 February 18th, 2016 02:07 PM
Pid rslogix 5000 industrial 951 LIVE PLC Questions And Answers 6 July 10th, 2014 10:48 AM
RSLogix 500 PID Help naegely LIVE PLC Questions And Answers 4 June 23rd, 2008 03:58 PM

All times are GMT -5. The time now is 07:07 AM.