[foxboro] Antwort: Re: Questions concerning IND-Block / substitution of C: B.P
- From: Josten@xxxxxxx
- To: foxboro@xxxxxxxxxxxxx
- Date: Tue, 18 Nov 2003 19:17:02 +0100
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
Other related posts:
- » [foxboro] Antwort: Re: Questions concerning IND-Block / substitution of C: B.P