Re: [foxboro] sendmsg
- From: "Wingard, Robert S. (Inland)" <BobWingard@xxxxxxxxxxxxxxxx>
- To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
- Date: Wed, 5 May 2004 18:43:16 -0500
This is the form that I have used. ErrCnt is an Int and TempS is a String.
TempS :=3D "Sequence encountered ", ErrCnt, " Errors.";
SENDMSG(TempS) TO SN0001;
Bob
-----Original Message-----
From: Jones, Charles R. (Chuck) [mailto:CRJones@xxxxxxxx]
Sent: Wednesday, May 05, 2004 1:50 PM
To: 'foxboro@xxxxxxxxxxxxx'
Subject: Re: [foxboro] sendmsg
Raymond,
I believe I gave you bad advice. Try this instead:
text1 =3D this is message 1
text2 =3D this is message 2
buffer :=3D "text", textnumber;
MESSAGE :=3D 'buffer';
SENDMSG (MESSAGE) TO SN0001 ;
OR:
text1 =3D this is message 1
text2 =3D this is message 2
MESSAGE :=3D "text", textnumber;
SENDMSG ('MESSAGE') TO SN0001 ;
The single quotes will cause the string to be evaluated before the rest of
the line is processed. You may have to experiment with left quotes vs.
right quotes. I believe they are "right quotes" (apostrophe).
Option #3: You use a different algorithm.
IF textnumber =3D 1 THEN
=20 MESSAGE :=3D "this is message 1";
ELSEIF textnumber =3D 2 THEN
=20 MESSAGE :=3D "this is message 2";
ENDIF;
SENDMSG (MESSAGE) TO SN0001 ;
Chuck Jones
Refinery Automation Technologist
Tate & Lyle North America -- Lafayette South Plant
765.477.5324 - Office | 877.536.9219 - Pager
Anyone who considers arithmetical methods of producing random digits is, of
course, in a state of sin. - John von Neumann (1903-1957)=20
-----Original Message-----
From: raymond.roofthooft@xxxxxxxxxxxxxxx
[mailto:raymond.roofthooft@xxxxxxxxxxxxxxx]=20
Sent: Wednesday, May 05, 2004 9:22 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] sendmsg
Hi list
Need to send a message to a display according to a number that i recieve
I tried the folowing in sequence
text1 =3D this is message 1
text2 =3D this is message 2
MESSAGE :=3D text1 ;
SENDMSG (MESSAGE) TO SN0001 ;
In SN0001 appears this is message 1 so far ok
when i change to
MESSAGE :=3D "text",textnumber ;
then in SN0001 appears literal text1 in stead of this is message 1
any ideas
------------------------------------------------------------------------
BASF Antwerpen N.V.
C710
Raymond Roofthooft
Tel.: +32-3-561-3057
=20
=20
_______________________________________________________________________
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
=20
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20
****************************************************************************
*************************
This email and any files transmitted with it are confidential and intended
solely for the=20
use of the individual or entity to whom they are addressed. If you are not
the intended=20
recipient or the person responsible for delivering the email to the intended
recipient, be=20
advised that you have received this email in error that any use,
dissemination,=20
forwarding, printing, or copying of this email is strictly prohibited. If
you have received=20
this email in error please notify the sender immediately. Please note that
we reserve=20
the right to monitor and read any emails sent and received by the Company in
accordance with and to the extent permitted by applicable legal rules.
****************************************************************************
*************************
=20
=20
_______________________________________________________________________
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
=20
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20
********** Confidentiality Notice **********
This electronic transmission and any attached documents or other
writings are confidential and are for the sole use of the intended
recipient(s) identified above. This message may contain information
that is privileged, confidential or otherwise protected from disclosure
under applicable law. If the receiver of this information is not the
intended recipient, or the employee, or agent responsible for delivering
the information to the intended recipient, you are hereby notified that
any use, reading, dissemination, distribution, copying or storage of this
information is strictly prohibited. If you have received this information in
error, please notify the sender by return email and delete the electronic
transmission, including all attachments from your system.
_______________________________________________________________________
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: