RecipeValue

 

Remarks Properties Methods DynProperties Samples

ED
avaliable
RT
avaliable

Remarks:Top

The "RecipeValue" object is utilized by the "Recipe" object, in order to define the characteristics.

Properties:Top

Parent Type Value

Methods:Top

DynPropertiesEnum[GET] DynProperties[GET] DynProperties[PUT]
ItemVariable    

DynProperties:Top

Name Type Description
Maximum Double

Maximum

Maximum

Minimum Double

Minimum

Minimum

SetValue Double

Set value

Set value

VarName String

Variable

Variable

VarTagName String

Identification

Identification

VarUnit String

Unit

Unit

Samples:Top

Sub zenOn_RecipeValue(ByRef zRecipe As recipe)
	'Declarations
	Dim zRecipeValue As RecipeValue
	Dim zVariable As Variable

	'Initialization of zVariable with the first element in the "Variables" object
	Set zVariable = thisProject.Variables.Item(0)

	'Initialization of zRecipeValue by creating a new "RecipeValue" object
	'Assigns zVariable with a default value of 50
	Set zRecipeValue = zRecipe.Create(zVariable.PvID, 50)

	'Delete the former created "RecipeValue" object
	zRecipe.Delete (zVariable.PvID)
End Sub