Re: [foxboro] FoxAPI Writing Difficulties

  • From: Nicholas J Mezza <NJMezza@xxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Wed, 8 Dec 2010 18:52:38 -0500

I can open and read TEST:LEV2.MA, and it is currently 0.  After performing
a write of a 1, it remained at 0.

Just to be sure - the write value was done as a long using the IAXVAL union
as in the following code excerpt, is this correct?
IAXVAL value;
value.iabval = 1;
value_array[0] = value.ialval;          (value_array is an array of type
long)
status = bwrite(dset, value_array, error_array, &reterr);

Attempting even a read-only open on TEST:LEV2.OUT results in status 1 0000
0011 (259), bad/disconnected and no response.

Nicholas Mezza
U. S. Steel - Great Lakes Works




From:   Terry Doucet <doucet427@xxxxxxxxxxx>
To:     <foxboro@xxxxxxxxxxxxx>
Date:   12/08/2010 06:17 PM
Subject:        Re: [foxboro] FoxAPI Writing Difficulties
Sent by:        foxboro-bounce@xxxxxxxxxxxxx



Your text indicates that you are writing to a .MEAS parameter. If this
block has its measurement connected via the control configurator, then you
cannot write to that parameter.
Try changing  to TEST:LEV2.MA    This is the block's auto / manual toggle,
a boolean parameter  0 or 1. Try writing and reading this parameter.  If
the block is in the manual state, then you can write a float value to the
TEST:LEV2.OUT  but you cannot write to a block's output when the block is
in automatic mode.
Terry

>
> BOPEN attempt onTEST:LEV2.MEAS resulted in return code 0> DSET = 3,
INDEX_ARRAY = 202, ERROR_ARRAY = 547, RETERR = 0
>




_______________________________________________________________________
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



 
 
_______________________________________________________________________
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: