RE: Accumulator Block

2001-03-21 Thread RJC2


Loyd,
I don't believe you have to worry about 2 resets around 6:00 AM since M01
will not reset until midnight of the following day.
Ray





Rick Rys [EMAIL PROTECTED]@lists.TheCassandraProject.org on
03/18/2001 10:10:09 AM

Please respond to Foxboro DCS Mail List
  [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Foxboro DCS Mail List [EMAIL PROTECTED]
cc:

Subject:  RE: Accumulator Block


Loyd,
One item to be aware of is:  TIM in the CALC block gets the time from the
CP
operating system (VRTX).  As the CP (operating system) is a slave
timekeeper
that is updated about every 10 minutes it is possible to skip a particular
second if time is adjusted forward or if the time were set back, to pass
through the same seconds from midnight twice within a few seconds.  This
would rarely happen as there are 600 seconds in 10 minutes and it would
depend on the CP clock drift relative to the Master timekeeper clock drift
and unknown details of how the time is actually updated.  Some engineers
have had trouble with this i.e. when CALC blocks looked for a particular
point in time.  It's not clear how much a CP clock can drift in 10
minutes, but unlike your PC motherboard the CP must keep time with the
relatively poor clock of the Intel CPU as it has no battery backed real
time
clock.  Ray Chouinard gives a pretty good example CALC.  If the clock
update
were a few seconds backwards it would appear possible to get 2 resets
within
a few seconds. Presumably this is tolerable.

Also upon a power-off CP reboot the CP time is unlikely to be correct
initially (I think it comes up Jan 1, 1986) until the master timekeeper
sets
the time - a few minutes later.  CALC blocks using TIM will likely undergo
an abrupt change during this first time adjustment.  This may present
problems if you have one master accum block reset function used for
multiple
CP's.

Rick Rys
R2Controls



---
This list is neither sponsored nor endorsed by the Foxboro Company. All
postings from this list are the work of list subscribers and no warranty
is made or implied as to the accuracy of any information disseminated
through this medium. By subscribing to this list you agree to hold the
list sponsor(s) blameless for any and all mishaps which might occur due to
your application of information received from this mailing list.

To be removed from this list, send mail to
[EMAIL PROTECTED]
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]





---
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]




AW: Accumulator Block

2001-03-20 Thread Sieling, Marcel

Hi,

suggest using the TIM command which returns the number od seconds
since Midnight date

Maybe the station block variables CPLBUG_STA:STATION.HOUR and
CPLBUG_STA:STATION.MINUTE are of help. Link them to a CALC block and
compare if HOUR is 6 and MINUTE is 0. In case this is TRUE generate a 2
Seconds Pulse with OSP and link that to the RESET input of the ACCUM.

I think then the time sync problems mentioned by Rick Rys (which are true)
should not affect this application.

best regards -

Marcel Sieling
Systems Technologies

FOXBORO Deutschland GmbH
Heerdter Lohweg 53 - 55
40549 Duesseldorf
Tel.:+49 (0)211 5966-171
Fax: +49 (0)211 5966-104
Mobile:  +49 (0)172 2673077
E-Mail:  [EMAIL PROTECTED]
http://www.foxboro-deutschland.de
Private Home: http://www.powerslider.de

 -Ursprüngliche Nachricht-
 Von:  Heath, Graham [SMTP:[EMAIL PROTECTED]]
 Gesendet am:  Freitag, 16. März 2001 09:15
 An:   'Foxboro DCS Mail List'
 Betreff:  RE: Accumulator Block
 
 suggest using the TIM command which returns the number od seconds since
 Midnight date I say RTFM.
 
 regds
 
 
 
 -Original Message-
 From: Loyd Greer [mailto:[EMAIL PROTECTED]]
 Sent: 15 March 2001 1:31
 To: Foxboro DCS Mail List
 Subject: Accumulator Block
 
 
 Hi to the list.
  I would like to clear (reset) an accumulator block at 0600 every
 day with the system clock or TOD. If this can be done, I would appreciate
 any suggestions on how to do it.
 
  Thanks in advance
  Also thanks to Joe Gale for help on a Weather Station Display.
  Loyd Greer
  Great Lakes Chem.
 
 
 ---
 This list is neither sponsored nor endorsed by the Foxboro Company. All 
 postings from this list are the work of list subscribers and no warranty 
 is made or implied as to the accuracy of any information disseminated 
 through this medium. By subscribing to this list you agree to hold the 
 list sponsor(s) blameless for any and all mishaps which might occur due to
 
 your application of information received from this mailing list.
 
 To be removed from this list, send mail to 
 [EMAIL PROTECTED] 
 with unsubscribe foxboro in the Subject. Or, send any mail to
 [EMAIL PROTECTED]
 
 ---
 This list is neither sponsored nor endorsed by the Foxboro Company. All 
 postings from this list are the work of list subscribers and no warranty 
 is made or implied as to the accuracy of any information disseminated 
 through this medium. By subscribing to this list you agree to hold the 
 list sponsor(s) blameless for any and all mishaps which might occur due to
 
 your application of information received from this mailing list.
 
 To be removed from this list, send mail to 
 [EMAIL PROTECTED] 
 with unsubscribe foxboro in the Subject. Or, send any mail to
 [EMAIL PROTECTED]

---
This list is neither sponsored nor endorsed by the Foxboro Company. All postings from 
this list are the work of list subscribers and no warranty is made or implied as to 
the accuracy of any information disseminated through this medium. By subscribing to 
this list you agree to hold the list sponsor(s) blameless for any and all mishaps 
which might occur due to your application of information received from this mailing 
list.

To be removed from this list, send mail to [EMAIL PROTECTED] 
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]




RE: Accumulator Block

2001-03-18 Thread Rick Rys

Loyd,
One item to be aware of is:  TIM in the CALC block gets the time from the CP
operating system (VRTX).  As the CP (operating system) is a slave timekeeper
that is updated about every 10 minutes it is possible to skip a particular
second if time is adjusted forward or if the time were set back, to pass
through the same seconds from midnight twice within a few seconds.  This
would rarely happen as there are 600 seconds in 10 minutes and it would
depend on the CP clock drift relative to the Master timekeeper clock drift
and unknown details of how the time is actually updated.  Some engineers
have had trouble with this i.e. when CALC blocks looked for a particular
point in time.  It's not clear how much a CP clock can drift in 10
minutes, but unlike your PC motherboard the CP must keep time with the
relatively poor clock of the Intel CPU as it has no battery backed real time
clock.  Ray Chouinard gives a pretty good example CALC.  If the clock update
were a few seconds backwards it would appear possible to get 2 resets within
a few seconds. Presumably this is tolerable.

Also upon a power-off CP reboot the CP time is unlikely to be correct
initially (I think it comes up Jan 1, 1986) until the master timekeeper sets
the time - a few minutes later.  CALC blocks using TIM will likely undergo
an abrupt change during this first time adjustment.  This may present
problems if you have one master accum block reset function used for multiple
CP's.

Rick Rys
R2Controls



---
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]




Re: Accumulator Block

2001-03-17 Thread Loyd Greer

Thanks Ray, ...  The calc block steps worked great!
  Loyd
- Original Message -
From: [EMAIL PROTECTED]
To: Foxboro DCS Mail List [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 7:01 AM
Subject: Re: Accumulator Block



 Loyd,  enter the following steps in a Calc block:

 TIM gets seconds since midnight
 SUB RI01   set RI01 = to seconds from midnight to 0600 = 21600
 SSP M01   sets M01 = 1 at 6:00 AM
 CLR M01   clears M01 after midnight
 IN M01
 OSP 1   set  one shot time = to Accumulator block period time
 OUT BO01  connect BO01 to the CLEAR parameter of the ACCUM block.
 END

 Ray Chouinard
 Mead Corp






 Loyd Greer [EMAIL PROTECTED]@lists.TheCassandraProject.org on 03/14/2001
 08:31:06 PM

 Please respond to Foxboro DCS Mail List
   [EMAIL PROTECTED]

 Sent by:  [EMAIL PROTECTED]


 To:   Foxboro DCS Mail List [EMAIL PROTECTED]
 cc:

 Subject:  Accumulator Block


 Hi to the list.
  I would like to clear (reset) an accumulator block at 0600 every
 day with the system clock or TOD. If this can be done, I would appreciate
 any suggestions on how to do it.

  Thanks in advance
  Also thanks to Joe Gale for help on a Weather Station Display.
  Loyd Greer
  Great Lakes Chem.


 ---
 This list is neither sponsored nor endorsed by the Foxboro Company. All
 postings from this list are the work of list subscribers and no warranty
 is made or implied as to the accuracy of any information disseminated
 through this medium. By subscribing to this list you agree to hold the
 list sponsor(s) blameless for any and all mishaps which might occur due to
 your application of information received from this mailing list.

 To be removed from this list, send mail to
 [EMAIL PROTECTED]
 with unsubscribe foxboro in the Subject. Or, send any mail to
 [EMAIL PROTECTED]





 ---
 This list is neither sponsored nor endorsed by the Foxboro Company. All
 postings from this list are the work of list subscribers and no warranty
 is made or implied as to the accuracy of any information disseminated
 through this medium. By subscribing to this list you agree to hold the
 list sponsor(s) blameless for any and all mishaps which might occur due to
 your application of information received from this mailing list.

 To be removed from this list, send mail to
 [EMAIL PROTECTED]
 with unsubscribe foxboro in the Subject. Or, send any mail to
 [EMAIL PROTECTED]



---
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]




RE: Accumulator Block

2001-03-16 Thread Heath, Graham

suggest using the TIM command which returns the number od seconds since
Midnight date I say RTFM.

regds



-Original Message-
From: Loyd Greer [mailto:[EMAIL PROTECTED]]
Sent: 15 March 2001 1:31
To: Foxboro DCS Mail List
Subject: Accumulator Block


Hi to the list.
 I would like to clear (reset) an accumulator block at 0600 every
day with the system clock or TOD. If this can be done, I would appreciate
any suggestions on how to do it.

 Thanks in advance
 Also thanks to Joe Gale for help on a Weather Station Display.
 Loyd Greer
 Great Lakes Chem.


---
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]

---
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]




Re: Accumulator Block

2001-03-16 Thread RJC2


Loyd,  enter the following steps in a Calc block:

TIM gets seconds since midnight
SUB RI01   set RI01 = to seconds from midnight to 0600 = 21600
SSP M01   sets M01 = 1 at 6:00 AM
CLR M01   clears M01 after midnight
IN M01
OSP 1   set  one shot time = to Accumulator block period time
OUT BO01  connect BO01 to the CLEAR parameter of the ACCUM block.
END

Ray Chouinard
Mead Corp






Loyd Greer [EMAIL PROTECTED]@lists.TheCassandraProject.org on 03/14/2001
08:31:06 PM

Please respond to Foxboro DCS Mail List
  [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Foxboro DCS Mail List [EMAIL PROTECTED]
cc:

Subject:  Accumulator Block


Hi to the list.
 I would like to clear (reset) an accumulator block at 0600 every
day with the system clock or TOD. If this can be done, I would appreciate
any suggestions on how to do it.

 Thanks in advance
 Also thanks to Joe Gale for help on a Weather Station Display.
 Loyd Greer
 Great Lakes Chem.


---
This list is neither sponsored nor endorsed by the Foxboro Company. All
postings from this list are the work of list subscribers and no warranty
is made or implied as to the accuracy of any information disseminated
through this medium. By subscribing to this list you agree to hold the
list sponsor(s) blameless for any and all mishaps which might occur due to
your application of information received from this mailing list.

To be removed from this list, send mail to
[EMAIL PROTECTED]
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]





---
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]




Accumulator Block

2001-03-15 Thread Loyd Greer

Hi to the list.
 I would like to clear (reset) an accumulator block at 0600 every
day with the system clock or TOD. If this can be done, I would appreciate
any suggestions on how to do it.

 Thanks in advance
 Also thanks to Joe Gale for help on a Weather Station Display.
 Loyd Greer
 Great Lakes Chem.


---
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with unsubscribe foxboro in the Subject. Or, send any mail to
[EMAIL PROTECTED]