Re: [foxboro] How to reverse a 16 bit register - PAKIN

We can use the IIN DCI block, but then we need an additional MCIN to breakout 
.CIN_1-16 to CIN's, etc.
I don't believe there is a way to connect a CIN to a bit within the IIN.
We want to minimize our block usage.

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx]On Behalf Of
steve.shimp@xxxxxxxxxxxxxx
Sent: March 31, 2009 11:38 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] How to reverse a 16 bit register - PAKIN




Is it possible to use an IIN DCI block?  If so, the block point parameters
can be configured to do exactly what you're looking for...


Steve



foxboro-bounce@xxxxxxxxxxxxx wrote on 03/31/2009 12:49:45 PM:

> We are converting gateways to FDSI. We need to reverse a two byte
> register (Bits 1 to 16).
> Our goal was to insert a PAKIN upstream of our MCIN & CIN, which
> used to read the MDSCAN.
> Below is from B0193AX - PAKIN, which reverses Bits 1 to 32 only.
> PKIOPT
> Packed Input Option is a short integer input that specifies whether the
> input bit stream from the device is packed in the PAKCIN output parameter
> with or without reversing the bit order as follows:
> 1 = No bit reversal (Bits 1 to 32 are mapped bit-by-bit to Bits 1 to 32)
> 3 = Bit reversal (Bits 1 to 32 are mapped bit-by-bit to Bits 32 to 1)
>
> Where is 2 = Bit reversal (Bits 1 to 16 are mapped bit-by-bit to
> Bits 16 to 1)????
>
> We are trying to emulate the MCIN blocks IOMOPT = 2, which allows
> reversing 16 bits.
> One option we found is the IIN block to read the register directly,
> then connect to a MCIN to allow bit selection - poor use of blocks.
>
> Thanks,
>
> bud/
>
>
>
>
>
> _______________________________________________________________________
> 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
 


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