A couple of things you may want to consider:
1) MAIN block will bring in 8 consecutive words, potentially reducing
block count.
2) MCIN block will bring in 2 consecutive words and you can use the
PAKCIN output as calc block input.
3) If some information is only for display on graphics, you can match
and mask the characters directly on the display by displaying
connections as bitmap.
I'd probably use a MAIN block and an IND block for each group of up to
8 16 bit words, split the 8 words in to 16 8 bit integers in the IND
block, and map those integers into characters to concatinate into a
string.
Regards,
Kevin FitzGerrell
--- "Loupe, Rory (RJ)" <[EMAIL PROTECTED]> wrote: > List,
> I will be using an Integrator 30 (Modbus) to communicate to an
> external
> device. All of the data is packed in 16 bit registers as unsigned 16
> bit
> integers. Since I can scale this value to obtain a floating point
> number
> this does not pose a problem for number values. The problem is that
> an
> ASCII string of text is packed two 8 bit characters per 16 bit
> register and
> this is the only way the device will transmit ASCII strings.
>
> The only solution I can come up with is to receive the 2 character 16
> bit
> register into an AIN block. Then feed the AIN into a CALC and mask
> out each
> character into it's own Integer Output. Then take the two Integer
> Outputs
> from the calc block and feed them into an Independent block. Then
> concatenate the two integer values into a strings.
>
> This does not seem like a very elegant solution. Does anyone know of
> a
> better way to accomplish this task?
>
> Thanks,
> Rory Loupe
> The Dow Chemical Company
> LHC-3
> P.O. Box 150, Building 6801
> Plaquemine, LA 70765-0150 USA
> Phone: 225.353-6409 Fax: 225.353.6968
> E-mail: [EMAIL PROTECTED]
>
>
>
>
-----------------------------------------------------------------------
> This list is neither sponsored nor endorsed by the Foxboro Company.
> All
> postings from this list are the work of list subscribers and no
> warranty
> is made or implied as to the accuracy of any information disseminated
>
> through this medium. By subscribing to this list you agree to hold
> the
> list sponsor(s) blameless for any and all mishaps which might occur
> due to
> your application of information received from this mailing list.
>
> To be removed from this list, send mail to
> [EMAIL PROTECTED]
> with "unsubscribe foxboro" in the Subject. Or, send any mail to
> [EMAIL PROTECTED]
>
_____________________________________________________________________________
http://store.yahoo.com.au - Yahoo! Store
- It's time you had your business online!
-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All
postings from this list are the work of list subscribers and no warranty
is made or implied as to the accuracy of any information disseminated
through this medium. By subscribing to this list you agree to hold the
list sponsor(s) blameless for any and all mishaps which might occur due to
your application of information received from this mailing list.
To be removed from this list, send mail to
[EMAIL PROTECTED]
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]