[foxboro] Sequence Block Help

I need some help with sequence block coding.  I want to turn on and off=
 several boolean outputs of a sequence code in order. =20

My first thought was to use a "FOR" loop, but I can't seem to address the=
 output correctly.  Here is what I have tried so far.

FOR j :=3D 1 TO 5 DO

   BO000j :=3D TRUE              ;  {Compiler says parameter 'BO000j' not=
 declared}
   BO000'j' :=3D TRUE            ; {Complier says parameter 'BO000' not=
 declared}
  =20
   stringvar :=3D j              ; {stringvar is a variable defined as a=
 string variable}
   BO000'stringvar' :=3D TRUE    ; {Compiler says parameter 'BO000' not=
 declared}
   ::.BO000'stringvar' :=3D TRUE ; {Compiles okay but give error 3 at run=
 time - secured variable}

ENDFOR;

Any help with this method or an alternative is very much appreciated.

Jack Ziegler
Sunoco Chemicals
Frankford Phenol Plant
Margaret & Bermuda Sts
Philadelphia, PA 19137
215-537-2450
JEZiegler@xxxxxxxxxxxxx=20


This email and any files transmitted with it are intended solely for the=
 use of the individual or entity to whom they are addressed.  If you have=
 received this e-mail in error, please notify the originator.
 
 
_______________________________________________________________________
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:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: