Dennis. From FoxDoc B0193: OSP or OSP sec or OSP Mxx OSP generates a non-retriggerable (triggering is disabled while output is true) one-shot pulse when the accumulator value makes a zero-to-one transition. I have a similar CALC block for clearing ACCUM blocks, but instead of having BI01 set to 1 in ICC, I tie BI01 to BO02 of the CALC clock, and set BO02 true only at the appropriate time. If it is not the desired time, I set BO02 false. This makes a pulse at BI01 (the length determined by the block PERIOD) so the accumulator has a zero-to-one transition for the OSP operation to work with. Then I "IN BI01 / OSP 5 / OUT BO01" as you do. -Brian. "Dennis Stone" <DStone@HUNTREFIN To: <foxboro@xxxxxxxxxxxxx> ING.com> cc: Sent by: Subject: [foxboro] Calc Block to reset ACCUM at given time foxboro-bounce@fr eelists.org 01/08/2004 12:10 PM Please respond to foxboro Hi list, Does anyone have a quick and dirty way to reset an ACCUM block at a = given/changeable time? I've been trying to use the following and it is = hit and miss...not sure why? RI01 CKCP05_STA:STATION.HOUR RI02 CKCP05_STA:STATION.MINUTE RI03 06 ;RESET HOUR RI04 00 ;RESET MIN BI01 1 STEP01 IN RI02 STEP02 SUB RI04 STEP03 OUT RO02 STEP04 BIZ 8 STEP05 GTO 20 STEP06 =09 STEP07 STEP08 IN RI01 STEP09 IN RI03 STEP10 OUT RO01 STEP11 BIZ 15 STEP12 GTO 20 STEP13 =09 STEP14 STEP15 IN BI01 STEP16 OSP 5 STEP17 OUT BO01 STEP18 STEP19 STEP20 END Thanks for any help, Dennis Stone Hunt Refining Company=20 1855 Fairlawn Road=20 Tuscaloosa, AL 35401=20 Phone: (205) 391-3303=20 Fax: (205) 391-3564 _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://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