Re: [foxboro] ABGateway, AW51 w/AB PLC, and MCIN blocks

I haven't run into that problem before, but wanted to caution you about
something else.  Some time back I used the IOMOPT=3 with a Modbus gateway
and found that it indeed made the PACKIN bits easier to use.  However, it
seems the CIN's were then swapped around.  That is, CIN's were now byte
swapped.  The documentation doesn't hint at this, and it was some time
before I discovered the problems with incorrect mapping of the CIN bits to
PLC bits.  It wasn't obvious to me that this would happen, but I guess there
is a constant relationship between the CIN's and PACKIN bits.  Changing one,
changes the other.

Roger B. Smith
City of Atlanta
Process Control Engineering

 -----Original Message-----
From:   foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of David Johnson
Sent:   Tuesday, May 20, 2003 6:27 PM
To:     foxboro@xxxxxxxxxxxxx
Subject:        [foxboro] ABGateway, AW51 w/AB PLC, and MCIN blocks


Hey Everybody,

Long time no post!  (Which means things are good, I guess.)

I have run across an unusual problem and thought some of you might have 
already seen/solved it.

Here's the background...
I am building some displays for use with a lot of MCIN blocks coming from a 
ABGW30.  These FoxView displays lend themselves to using the BITSTATE 
parameters and OR ing several bits together for some fill colors. Typically 
I would do this with the PAKCIN parameter.  Of course, the bytes are 
reversed coming from the PLC unless you set the IOMOPT=3 of the MCIN.

Here's the problem...
We are using a simulator to test the displays/control before we put this 
into a production system.  The simulator uses a AW51 with Interchange to 
connect via ethernet to the PLC.  The PAKCIN seems to exhibit the same 
problem of having the bytes swapped, BUT I can't get the MCIN to accept an 
IOMOPT = 3 so I can't swap the bytes (easily, without using more 
blocks).  Has anyone seen this before?

Any advice would be appreciated.

Regards,
David Johnson

PREMIER System Integrators
Phone:  (256) 355-1732
Fax:    (256) 355-9088
Email   David.Johnson@xxxxxxxxxxxxxxxxxx

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