Connections for the Recipe Enhanced ActiveX control

The following table shows the connections to control the operation of the Recipe Enhanced ActiveX control at runtime. There are no additional parameters to configure the operation of the control beyond these connections.
Connections
Descriptions
RecipeNumber
Optional
The control reads the value of the tag. Based on the value, the corresponding recipe name is sent to the FileName connection, which stores the current recipe name. This allows the application to select among a set of recipes with the same base name, for example, MyRecipe0.csv, MyRecipe1.csv, MyRecipe2.csv
The value of the RecipeNumber property starts from "0". For example, if the value is set to "0", the recipe name of the first recipe will be sent to the FileName connection; if the value is set to "1", the recipe name of the second recipe will be sent to the FileName connection.
The connection is read-only and can be a memory or direct reference tag.
The connection data type is Analog.
FolderName
Required
The control reads the tag value to determine the folder path (for example, "C:\Recipes" or "\Storage Card\Recipes") containing the recipes.
The connection is read-only and can be a memory or direct reference tag.
The connection data type is String.
FileName
Required
The tag value specifies the recipe name (for example, "MyRecipe2.csv"). All Save, Load, and Delete operations use this property to determine which recipe to operate upon. When the RecipeNumber property changes value the FileName property will update according to the specified recipe number.
For example, if the current FileName equals "MyRecipe5.csv" and RecipeNumber value changes to "12", the FileName property will update to "MyRecipe12.csv"
The connection is read-write and can be a memory or direct reference tag.
The connection data type is String.
SaveEn
Optional
When this property transitions from zero to non-zero value, the configured tag values (for example, Float001-Float512 and String001-100 are written to the file specified in the FileName connection.
The connection is read-only and can be a memory or direct reference tag.
The connection data type is Boolean.
LoadEn
Optional
When this property transitions from zero to non-zero value, the file specified in the FileName connection is read and the values are written to the tags configured in the (for example, Float001-Float512 and String001-100 connections.
The connection is read-only and can be a memory or direct reference tag.
The connection data type is Boolean.
DelEn
Optional
When this property transitions from zero to non-zero value, the file specified in the FileName connection is deleted. If the optional design-time property Delete Confirmation is set, the operator is prompted before the deletion operation executes.
The connection is read-only and can be a memory or direct reference tag.
The connection data type is Boolean.
Float001 - Float512
or
Float1000
Optional
These are the setpoints that comprise the recipe.
These connections are read-write and can be a memory or direct reference tag.
The connection data type is Analog.
It is recommended that these properties be configured as memory tags. The application can use a macro to copy the memory tags to direct reference tags.
String001 - String100
or
String1000
Optional
These are the setpoints that comprise the recipe.
The connections are read-write and can be memory or direct reference tags.
The connection data type is String.
It is recommended that these properties be configured as memory tags. The application can use a macro to copy the memory tags to direct reference tags.
RecipeName001 - RecipeName255
or
RecipeName500
Optional
These properties are used to list the available recipes in strings tags. When the control is loaded, or a Save or Delete operation occurs, the contents of the FolderName are searched for CSV files. Any CSV files that are found, up to 255 total, are alphabetically listed in these connections.
These connections are read-write and can be a memory or direct reference tag.
The connection data type is String.
Status
Optional
This connection is used to monitor the state of the control.
This connection is read-only and can be a memory or direct reference tag.
The connection data type is String.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal