11.1.89    <SETVAL>

Description:   Sets value of a tag.  Special keywords can modify <SETVAL>to provide looping or other functions.

Syntax:         <SETVAL>tag=value
<SETVAL>
tag=@tag2
<SETVAL>
tag=option argument?

                   <SETVAL>tag=option argument?</SETVAL>,<keymacro>

 

Argument:     tagname of analog, digital or text type tag, a value, options, arguments for options

See Also:      

Examples:      <SETVAL>sp1=75.3
<SETVAL>AO101=@AO102

                   <SETVAL>textag1=Hello

                   <SETVAL>text=@text50   

                   <SETVAL>PumpStart=%REVERSE

<SETVAL>counter=%PLUS 1

<SETVAL>analogtag=%MINUS 10%

<SETVAL>motiontag=%LOOPPLUS 5

<SETVAL>position=%LOOPMINUS 5

                   <SETVAL>tag1=%ROTATEPLUS @speed <SETVAL>tag2=%ROTATEMINUS 5%

Remember! - There are no spaces in the command, except for the space before the last argument:

<SETVAL>PUMPSTART=%REVERSE            there are no spaces.

<SETVAL>counter=%PLUS 1          one space before the 1.

 

SETVAL OPTIONS