Re: [foxboro] Calca Block Logic Help

  • From: "Blunier, Mark" <Mark.Blunier@xxxxxxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Thu, 1 Nov 2007 15:41:50 -0500

If you only want the toggle bit, I can do it in 7 steps.

1) IN M01
2) IN RI01
3) OUT M01
4) SUB
5) BIP 8
6) IN ~BO01
7) OUT BO01

Mark Blunier


> What I want to do is use a calc block to set a bit (BO01) to 1 for one
> minute at midnight on the first day of every month.  I've set RI01 =
=3D3D
> Station.day, RI02 to Station.hour and RI03 to Station.Minute.  Then I
> want to use this bit to toggle a SWCH block and hold it toggle for 1
> month until the next 1st day at midnight comes and toggle the=20
> other way.
> Here is what I have so far but I cannot get it to remember the toggle
> bit so as to keep the SWCH Block Toggled
>=20
> (1)In RI01
> (2)SUB M01  (which is 1.0)
> (3)MIN=3D20
> (4)In RI02
> (5)In RI03
> (6)Add 3
> (7)BIZ 9 (Set the Bit)
> (8)GTO 11 (Clr the Bit)
> (9)SET BO01
> (10)EXIT
> (11)CLR BO01
>=20
> Then I was using a Flip Flop to remember this BO01 but I=20
> don't know how
> to reset it when the next month comes around so that it will=20
> change the
> toggle on the SWCH Block.  Any help would be much appreciated!
>=20
>=20
> Dale Gillis
>=20
> =3D20
> =20
> =20
> ______________________________________________________________
> _________
> This mailing list is neither sponsored nor endorsed by=20
> Invensys Process
> Systems (formerly The Foxboro Company). Use the info you=20
> obtain here at
> your own risks. Read=20
http://www.thecassandraproject.org/disclaimer.html
=20
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20
 
 
_______________________________________________________________________
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
 

Other related posts: