Siemens A31003-51730-U103-7619 5.11.84The Instruction SetVariable, Instructions, Description

Models: A31003-51730-U103-7619

1 336
Download 336 pages 29.09 Kb
Page 249
Image 249

The Elements of a DCO-Script

Instructions

5.11.84The Instruction "SetVariable"

Description

Use this Function Instruction to save a value in a Variable.

Please bear in mind that the entry assigned here in the argument "Value" must have the same data type as the "Variable" itself (see Section 5.2, "The DCO data types and their value rang- es").

Arguments

Arguments

 

Description

 

 

 

Variable

 

Editable combobox to specify the Variable to which you want

 

 

to assign a new value.

 

 

Here you can:

 

 

enter the name of the Variable direct or

 

 

select a Variable from the list of all Variables that are avail-

 

 

able.

 

 

 

Value

 

Editable combobox to specify the value you want to assign to

 

 

the selected Variable.

 

 

Here you can:

 

 

enter a numeric value or a string,

 

 

assign a Constant, Parameter or Variable, or

 

 

assign a Control.

 

 

 

Table 5-152

The arguments of the Instruction SetVariable

07/2010

 

OScAR-Pro Customized Operator, User Manual

5-181

Page 249
Image 249
Siemens A31003-51730-U103-7619 user manual 5.11.84The Instruction SetVariable, Instructions, Description, Arguments