Hi Jef, try to get complicated calculations in CALC or CALCA(my preference) Blocks. The problem with sequence code is that every time an external reference is made, it will stop until the next scan which, in your case, is 2 seconds while CALC/CALCA block always run to completion. Also, it's not a problem to have sequence code running at 0.5 or even 0.1 seconds (if the CP is set up for that) and have a relatively low "number of statements per BPC". It is far more economic to do lots of small chunks in stead of trying to do a few big chunks at the time. It is also likely to have many overruns when you have specified more statements per BPC than it can handle. Believe me, I've learned it the hard way. I know this is not the solution you're after but I hope it helps you in finding one. Cheers, Frits Schouten. NZSteel. -----Original Message----- From: jdesaeve@xxxxxxxxxxx [mailto:jdesaeve@xxxxxxxxxxx] Sent: Monday, 6 May 2002 20:56 To: foxboro@xxxxxxxxxxxxx Subject: [foxboro] Calculations IND block Hi, I am writing sequence logic in IND blocks and using lots of datapoints from other stations. Using " include files" rather than using direct links to datapoints in other stations, it takes a lot of time before calucations are done. All blocks (for that specific project) have a period of 2 seconds but calculations are not finished at all during that time period ! I would like to group all my blocks in one compound for that project . How to speed up the calculations ? Regards, Jef Desaever Du Pont Protein Technologies Zwaanhofweg 1 8900 Ieper-Belgium _______________________________________________________________________ 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 EOM NOTICE - This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message. _______________________________________________________________________ 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