22 set variable – Yaskawa MotionWorks+ Windows Software User Manual

Page 167

Advertising
background image

MotionWorks+™

Block Reference

161

3.2.22 SET VARIABLE

Definition

This block computes an expression and stores the resulting value in a variable or
parameter. The expression can be a simple numeric value, or a complex calculation. For
example, Boolean type variables can be assigned either a “1” or “0.” Alternatively, the
keywords TRUE and FALSE or ON and OFF can be used. A maximum of ten variables
are settable within one block.

Properties

Expression:

The entity stored in the variable when solved.

Variable:

The entity to be assigned a value by the expression.

Required Conditions

None

Property

Default

Minimum

Value

Maximum

Value

Base Units

Run

Time

Expression

N/A

N/A

N/A

N/A

Yes

Variable

N/A

N/A

N/A

N/A

Yes

Advertising