Re: [foxboro] Achieving deadband functionality in IACC

  • From: Brian Long <blong@xxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Mon, 9 Nov 2015 21:32:49 -0600

Haven't actually read the original question but how about using DGAP?

Sent from my iPhone

On Nov 9, 2015, at 9:08 PM, Vandewater, Tom (HI Contractor)
<TVandewater.contractor@xxxxxxxxxxxxxx> wrote:

Sorry, previous email had RO04 in Step03. Should've been RO01 as corrected
in steps below:


Rakesh,
Chad had it right except I think Rakesh just wants the analog value to
increment once it achieves the change delta. There is nothing elegant about
a CALC block in my personal opinion but the CALC Steps below will do what you
want.

1. Bring your analog value into RI01 of the CALC.
2. Type your desired delta into M01 of the CALC
3. Connect CALC RO01 to your downstream strategy

Step01 CST ;CLEAR STACK
Step02 IN RI01 ;BRING IN YOUR ANALOG VALUE BY CONNECTING IT TO RI01
Step03 IN RO01 ; PREVIOUS VALUE LAST TIME DEADBAND WAS REACHED
deadband was reached)
Step04 SUB ; SUBTRACT VALUE OF LAST STORE FROM CURRENT ANALOG
VALUE
Step05 OUT RO02 ; STORE IT IN RO02
Step06 ABS RO02 ; BRING IN ABSOLUTE VALUE OF RO02
Step07 LAC M01 ; BRING IN THE CHANGE DELTA VALUE FROM M01, (PUT YOUR
DESIRED DELTA IN M01)
Step08 SUB ; SUBTRACT VALUE OF M01 FROM ABSOLUTE VALUE STORED
IN RO02
Step09 BIN 12 ; BRANCH IF THE SUBTRACTED VALUE IS NEGATIVE AND END
WITHOUT WRITING NEW VALUE TO RO01
Step10 IN RI01 ; OTHERWISE BRING IN THE CURRENT VALUE OF RI01 AND
SEND IT OUT RO01
Step11 OUT RO01 ; IF THE VALUE IS ZERO OR POSITIVE YOUR ANALOG VALUE CHANGED
BY MORE THAN YOUR DELTA
Step12 END

Tom VandeWater
Control Conversions, Inc.

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of Chad Ziesemer
Sent: Monday, November 09, 2015 4:29 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] Achieving deadband functionality in IACC

I hope there's a more elegant way but I think it can be done In a calc block.
How about the following, tie your signal to RI01, then something close to
this:

01 IN RI01
02SUB RO01 (previous value after deadband was reached)
03 ABS (modify this if you only want to trigger one direction)
04 SUB M01 (set to your dead band)
05 BIP 20 (deadband not reached yet, skip ahead)
06 SET BO01 (this triggers what you want to happen when deadband met)
07 IN RI01
08 OUT RO01 (reset to wait for next deadband) ...
20 IN BI01 (set this to true whenever what you wanted to do after the
deadband is reached is finished)
21 BIF 43
22 CLR BO01
23
.....

You'll have to test this out and adjust based on how you want that handoff to
work between this block and what you want done... I'm on my phone so I'm sure
there's a few items that will need some housekeeping, something along this
concept should get you there.


Sent from my iPhone

----------- Please note that my email address has changed. Please update my
contact information to reflect my address as forwarding for the old address
will end on January 1st 2016. The only change is modifying the domain name of
the email address from @ppetrol.com to @parpacific.com.


_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company). Use the info you obtain here at your own
risks. See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list: //www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave


----------- Please note that my email address has changed. Please update my
contact information to reflect my address as forwarding for the old address
will end on January 1st 2016. The only change is modifying the domain name of
the email address from @ppetrol.com to @parpacific.com.


_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company). Use the info you obtain here at your own
risks. See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list: //www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave




_________________________________________________________________________
This mailing list is neither sponsored nor endorsed by Schneider Electric
(formerly The Foxboro Company). Use the info you obtain here at your own
risks. See the disclaimer at www.thecassandraproject.org/disclaimer.html

foxboro mailing list: //www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave


Other related posts: