Author Topic: Temperature Controller  (Read 764 times)

gusterminator

  • Newbie
  • *
  • Posts: 16
    • View Profile
Temperature Controller
« on: August 28, 2017, 02:56:43 PM »
Hi,
I have a PID operating a HLT in RSLogix 5000. 
I am able to get the PV value on the Temperature Controller graphics to update and the SP.
I would like to have the buttons on the Temperature Controller graphics increase the SP by 5 every time they are clicked  The up arrow increase and the down arrow decrease.
Does any body know how I would go about doing this? 

Thanks,

Gus

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Temperature Controller
« Reply #1 on: August 28, 2017, 10:07:19 PM »
You will need to create 2 tags in your PLC and add 2 rungs of logic to add and subtract. Then put the tag names in PLCAddressClick3 and PLCAddressClick4.

Be sure to use one-shots in your rungs so it only changes once per press.

gusterminator

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Temperature Controller
« Reply #2 on: August 29, 2017, 03:25:40 PM »
Hi,
Thanks for the reply.  I put a one shot in the rung and nothing happens.  If I remove the one shot it adds rapidly.  I named the one shot the same as the Bit I'm using to trigger the Add 5 rung.
I'll do some reading on use of the one shot.  I have used them before but I may be missing something.

gusterminator

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Temperature Controller
« Reply #3 on: August 29, 2017, 03:30:38 PM »
I figured it out......I was using the Tag to enable the count 5 as my one shot......I created a new tag for the one shot and everything works......Thanks again.