Re: [foxboro] Antwort: Re: Questions concerning IND-Block / substitution of C: B.P
- From: "Pyle, Janet" <jhpyle@xxxxxxxxxxx>
- To: foxboro@xxxxxxxxxxxxx
- Date: Tue, 18 Nov 2003 14:53:56 -0500
Sorry, maybe my first reply was too fast.
Your string needs drop the leading colon if you are evaluating only, you
only need it if you are setting the string:
SN0001 0309:M002.MANDSR
Then the single quotes ' (below the ") will work. The following should
work.
BOOL := 'SN0001';
:'SN0001' := TRUE;
Regards,
Janet
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx]On Behalf Of Josten@xxxxxxx
Sent: Tuesday, November 18, 2003 12:17 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Antwort: Re: Questions concerning IND-Block /
substitution of C: B.P
Hi Janet,
thank you for your fast advice!
Fearing my compiler does?nt like any ' or ` or ? I tried each, but it
allways produces a lot of syntax errors ...
Any idea?
"Pyle, Janet" <jhpyle@xxxxxxxxxxx>
Gesendet von: foxboro-bounce@xxxxxxxxxxxxx
18.11.2003 18:44
Bitte antworten an foxboro
An: foxboro@xxxxxxxxxxxxx
Kopie:
Thema: Re: [foxboro] Questions concerning IND-Block / substitution
of C: B.P
Try this:
change
IF CBP = TRUE THEN
to
IF 'CBP' THEN
You need to quotes so that it knows to reference the object. The = TRUE
is
actually redundant in sequence code.
Best Regards,
Janet H. Pyle
Invensys Process Systems
Houston, Texas
jhpyle@xxxxxxxxxxx
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx]On Behalf Of Josten@xxxxxxx
Sent: Tuesday, November 18, 2003 10:34 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Questions concerning IND-Block / substitution of
C:B.P
Hi list,
althoug I searched in FoxDoc for a while, I could not find anything about
this issue.
So here my 1st question:
Is it possible to determine an adress out of a sting, feed in at e.g.
SN0001?
If 'yes', how can I handle it in a sequence?
Example
Compound name: 0309
Block name: M002
Parameter name: MANDSR
external IND-Block
SN0001 :0309:M002.MANDSR
sequence internal: (This code does'nt work...)
...
USER_LABELS
CBP : SN0001; { name of compound:block.parameter)
STATEMENTS
IF CBP = TRUE THEN
... do anything;
ENDIF;
ENDSEQUENCE
======
2nd IND-Block question:
Is ist possible to truncate the name of the IND-Block given by the
variable "BLOCK_NAME" that I get "M002" out of "M002_SEQ"
I'd like to automate the adressing with the C:B values given by the
Indipendet Block itself
Any assistance will be appreceated.
Best regards
Heinz-Peter Josten
GMVT mbH
Gesellschaft fur Me?-, Regel- und Verfahrenstechnik
Ulmer Strasse 8
D-89331 Burgau / Schwaben
mailto: josten@xxxxxxx
mobil: +49-175-20 20 647
fon: +49-8222-4129-841
fax: +49-8222-4129-842
_______________________________________________________________________
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
_______________________________________________________________________
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:
- » Re: [foxboro] Antwort: Re: Questions concerning IND-Block / substitution of C: B.P