Copyright: Created with EasyHelp (Tel: 0973 209667)


Recipe/Recipe Handler - RG354228

Description

This block implements a recipe-handling system, associating function blocks with parameter channels in a recipe.

The Select input selects which recipe to use (it typically comes from a Recipe/Selector function block).

A false-to-true transition on the Store input causes the channels to store their current values; the previous recipe values are lost.

A false-to-true transition on the Recall input causes the channels to recall their recipe values; the current values are lost.

Parameter channels are created as needed and associated with recipe channel function blocks.  Note that there must be a unique function block associated with each channel (Recipe/Recipe Channel, Lgc, Recipe/Recipe Channel, Ord, Recipe/Recipe Channel, Val).

The Select input is persistent.

Parameters

Select	Select input.  Expects an ordinal between 1 and 255.

Store	Store input.  Expects true or false.

Recall	Recall input.  Expects true or false.

Get Select	Returns the current recipe:  an ordinal (1 to 255).

Get Store	Returns the current state of the Select input:  true or false.

Get Recall	Returns the current state of the Recall input:  true or false.


Description

This block implements a recipe-handling system, associating function blocks with parameter channels in a recipe.

The Select input selects which recipe to use (it typically comes from a Recipe/Selector function block).

A false-to-true transition on the Store input causes the channels to store their current values; the previous recipe values are lost.

A false-to-true transition on the Recall input causes the channels to recall their recipe values; the current values are lost.

Parameter channels are created as needed and associated with recipe channel function blocks.  Note that there must be a unique function block associated with each channel (Recipe/Recipe Channel, Lgc, Recipe/Recipe Channel, Ord, Recipe/Recipe Channel, Val).

The Select input is persistent.


Parameters

Select	Select input.  Expects an ordinal between 1 and 255.

Store	Store input.  Expects true or false.

Recall	Recall input.  Expects true or false.

Get Select	Returns the current recipe:  an ordinal (1 to 255).

Get Store	Returns the current state of the Select input:  true or false.

Get Recall	Returns the current state of the Recall input:  true or false.