RE: Variable selection in a sequence
Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Baltus, C.J.M. [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:27 PM To: Foxboro DCS mailing list (E-mail) Cc: Wilfred Kram (E-mail) Subject:Variable selection in a sequence Hi All, (I think this is the standard opening) I will introduce myself first, I am a DCS engineer working for 2 years with Foxboro IA, in a small wet country. I am following this list since I started with Foxboro IA and I saw many problems solved. Now here is my problem (perhaps its a stupid one, but I'm breaking my wooden shoe on it). I want to make a variable selection in a sequence, its written in SFC. First I made a macro called: PUMP1 :TEST:GDEV1.AUTDSR PUMP2 :TEST:GDEV2.AUTDSR Then I made a variable called: PUMP and attached to BOOL In the first selection I want PUMP := PUMP1; the following step: PUMP := TRUE; and when I return to the beginning I perhaps want PUMP select to: PUMP := PUMP2; the following step: PUMP := TRUE; But what I tried, it didn't work, has someone got a solution ?? This will be written for a selection of 32 posibilties With Kind Regards, Cor-Jan Baltus DCS Engineer KH-AMEC Engineering Bergen op Zoom the Netherlands * [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] --- 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]
RE: Variable selection in a sequence
Let me try that again. A colon was lost! or MS Outlook messed with my incoming message. I can't tell: Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } { In case you can't see it, the line reads 'colon''single quote''variable name''colon''equal''zero' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Johnson,Alex [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:37 PM To: Foxboro DCS Mail List Cc: Wilfred Kram (E-mail) Subject:RE: Variable selection in a sequence Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Baltus, C.J.M. [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:27 PM To: Foxboro DCS mailing list (E-mail) Cc: Wilfred Kram (E-mail) Subject:Variable selection in a sequence Hi All, (I think this is the standard opening) I will introduce myself first, I am a DCS engineer working for 2 years with Foxboro IA, in a small wet country. I am following this list since I started with Foxboro IA and I saw many problems solved. Now here is my problem (perhaps its a stupid one, but I'm breaking my wooden shoe on it). I want to make a variable selection in a sequence, its written in SFC. First I made a macro called: PUMP1 :TEST:GDEV1.AUTDSR PUMP2 :TEST:GDEV2.AUTDSR Then I made a variable called: PUMP and attached to BOOL In the first selection I want PUMP := PUMP1; the following step: PUMP := TRUE; and when I return to the beginning I perhaps want PUMP select to: PUMP := PUMP2; the following step: PUMP := TRUE; But what I tried, it didn't work, has someone got a solution ?? This will be written for a selection of 32 posibilties With Kind Regards, Cor-Jan Baltus DCS Engineer KH-AMEC Engineering Bergen op Zoom the Netherlands * [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] --- 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
RE: Variable selection in a sequence
Can anyone tell me if they see the colon in front of 'CNTDWN'? I think Outlook is eating that and turning the line blue on my machine. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Johnson,Alex [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 2:07 PM To: Foxboro DCS Mail List Cc: Wilfred Kram (E-mail) Subject:RE: Variable selection in a sequence Let me try that again. A colon was lost! or MS Outlook messed with my incoming message. I can't tell: Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } { In case you can't see it, the line reads 'colon''single quote''variable name''colon''equal''zero' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Johnson,Alex [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:37 PM To: Foxboro DCS Mail List Cc: Wilfred Kram (E-mail) Subject:RE: Variable selection in a sequence Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Baltus, C.J.M. [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:27 PM To: Foxboro DCS mailing list (E-mail) Cc: Wilfred Kram (E-mail) Subject:Variable selection in a sequence Hi All, (I think this is the standard opening) I will introduce myself first, I am a DCS engineer working for 2 years with Foxboro IA, in a small wet country. I am following this list since I started with Foxboro IA and I saw many problems solved. Now here is my problem (perhaps its a stupid one, but I'm breaking my wooden shoe on it). I want to make a variable selection in a sequence, its written in SFC. First I made a macro called: PUMP1 :TEST:GDEV1.AUTDSR PUMP2 :TEST:GDEV2.AUTDSR Then I made a variable called: PUMP and attached to BOOL In the first selection I want PUMP := PUMP1; the following step: PUMP := TRUE; and when I return to the beginning I perhaps want PUMP select to: PUMP := PUMP2; the following step: PUMP := TRUE; But what I tried, it didn't work, has someone got a solution ?? This will be written for a selection of 32 posibilties With Kind Regards, Cor-Jan Baltus DCS Engineer KH-AMEC Engineering Bergen op Zoom the Netherlands * [EMAIL PROTECTED
RE: Variable selection in a sequence
Can anyone actually believe that Alex Johnson lost his COLON? -Original Message- From: Johnson,Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 2:07 PM To: Foxboro DCS Mail List Cc: Wilfred Kram (E-mail) Subject: RE: Variable selection in a sequence Let me try that again. A colon was lost! or MS Outlook messed with my incoming message. I can't tell: Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } { In case you can't see it, the line reads 'colon''single quote''variable name''colon''equal''zero' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Johnson,Alex [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:37 PM To: Foxboro DCS Mail List Cc: Wilfred Kram (E-mail) Subject:RE: Variable selection in a sequence Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Baltus, C.J.M. [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:27 PM To: Foxboro DCS mailing list (E-mail) Cc: Wilfred Kram (E-mail) Subject:Variable selection in a sequence Hi All, (I think this is the standard opening) I will introduce myself first, I am a DCS engineer working for 2 years with Foxboro IA, in a small wet country. I am following this list since I started with Foxboro IA and I saw many problems solved. Now here is my problem (perhaps its a stupid one, but I'm breaking my wooden shoe on it). I want to make a variable selection in a sequence, its written in SFC. First I made a macro called: PUMP1 :TEST:GDEV1.AUTDSR PUMP2 :TEST:GDEV2.AUTDSR Then I made a variable called: PUMP and attached to BOOL In the first selection I want PUMP := PUMP1; the following step: PUMP := TRUE; and when I return to the beginning I perhaps want PUMP select to: PUMP := PUMP2; the following step: PUMP := TRUE; But what I tried, it didn't work, has someone got a solution ?? This will be written for a selection of 32 posibilties With Kind Regards, Cor-Jan Baltus DCS Engineer KH-AMEC Engineering Bergen op Zoom the Netherlands * [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] --- This list is neither sponsored nor endorsed by the Foxboro Company. All
RE: Variable selection in a sequence
Dr. Winston Jenks thinks MS Outlook ate my colon. All I know is that it really hurts. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Stear, Bo [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 3:44 PM To: 'Foxboro DCS Mail List' Subject:RE: Variable selection in a sequence Can anyone actually believe that Alex Johnson lost his COLON? -Original Message- From: Johnson,Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 2:07 PM To: Foxboro DCS Mail List Cc: Wilfred Kram (E-mail) Subject: RE: Variable selection in a sequence Let me try that again. A colon was lost! or MS Outlook messed with my incoming message. I can't tell: Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } { In case you can't see it, the line reads 'colon''single quote''variable name''colon''equal''zero' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Johnson,Alex [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:37 PM To: Foxboro DCS Mail List Cc: Wilfred Kram (E-mail) Subject:RE: Variable selection in a sequence Here's some sample code for you. APP_NAME : SN0001;{ Name of DMC application } CNTDWN : SN0009;{ AOA reference for CNTDWN } ... { This stores the destination tag as a string into CNTDWN} CNTDWN := APP_NAME,:DMCOP.CNTDWN; { This clears the count down timer. Note the use of : and ' } :'CNTDWN' := 0; You can use string variables rather than parameters. I like to use the parameters as a debugging aid. Hope this helps. Regards, Alex Johnson 10707 Haddington Houston, TX 77063 713.722.2859(v) 713.722.2700(sb) 713.932.0222(f) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Baltus, C.J.M. [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, October 17, 2000 1:27 PM To: Foxboro DCS mailing list (E-mail) Cc: Wilfred Kram (E-mail) Subject:Variable selection in a sequence Hi All, (I think this is the standard opening) I will introduce myself first, I am a DCS engineer working for 2 years with Foxboro IA, in a small wet country. I am following this list since I started with Foxboro IA and I saw many problems solved. Now here is my problem (perhaps its a stupid one, but I'm breaking my wooden shoe on it). I want to make a variable selection in a sequence, its written in SFC. First I made a macro called: PUMP1 :TEST:GDEV1.AUTDSR PUMP2 :TEST:GDEV2.AUTDSR Then I made a variable called: PUMP and attached to BOOL In the first selection I want PUMP := PUMP1; the following step: PUMP := TRUE; and when I return to the beginning I perhaps want PUMP select to: PUMP := PUMP2; the following step: PUMP := TRUE; But what I tried, it didn't work, has someone got a solution ?? This will be written for a selection of 32 posibilties With Kind Regards
Re: Variable selection in a sequence
Johnson,Alex wrote: Can anyone tell me if they see the colon in front of 'CNTDWN'? :'CNTDWN' := 0; Yes, but I'm using Netscape Navigator V3.01 Old habits die hard, Regards, Martin T. --- 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]