[foxboro] String 2 ASCII

  • From: "Ahmed K. Sayed" <a.sayed@xxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Mon, 14 Jun 2010 08:17:42 +0300

Hello list,
 

I need some help on communication requirement with one MODBUS TCP device
via FDSI link.

DCS has to send some specific string messages indicating package status,
lot number, time stamp, product type, etc.

 

What I normally do for such requirements is to map those predefined
strings to integer numbers, and through graphics or simple CALCA I can
send them.

The requirements here is bit different, those strings are not
predefined, i.e. any text can be entered by operator must be sent to the
MODBUS device for historical notes recording.

 

The vendor has defined the ASCII mapping he's using, which maps every
character to specific register bit coding.

 

Example: if the DCS transmits string "OFF" then the corresponding
registers must have the following values:

Register 0001 = 464F

Register 0002 = 0046

Register 0003 to 0016 = 0000

Where 0x46 is the ASCII code for the letter "F", and 0x4F is for letter
"O".

 

I've tried to use STROUT block, but failed to get it to work. It does
not accept the allocated MODBUS registers giving "invalid point
connection".

There isn't any information mentioned the use of STROUT/STRIN blocks in
FDSI TCP/IP & Serial MODBUS documentation; Only for other DCI blocks.

 

Is there any other built-in function that can do this transformation
from string to ASCII?

 

Regards,

 

Khaled 



This message may contain TASNEE's confidential information 
and is 
intended only for the individual named. If you are not the named 
addressee you should not disseminate, distribute or copy this e-
mail.
Please notify the sender immediately by e-mail if you have 
received this e-mail by mistake and delete this e-mail from your 
system.The information transmitted in electronic mail does not 
necessarily represent the views of TASNEE.
E-mail transmission cannot be guaranteed to be secured or 
error-
free as information could be intercepted, corrupted, lost, 
destroyed, received late or incomplete,or could contain viruses.
The sender therefore does not accept liability for any error or 
omission in the contents of this message, which arises as a 
result of e-mail transmission.
No representation is made that this email or any attachments are 
free of viruses. Virus scanning is recommended and is the 
responsibility of the recipient ...
 
 
_______________________________________________________________________
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:

  • » [foxboro] String 2 ASCII - Ahmed K. Sayed