If no write errors occur, the Recipe Builder begins verifying each recipe item that has verification enabled. Using the Verify column in the spreadsheet, you can select the recipe items you want to verify.
The Recipe Builder handles recipe verification by reading the target block field and comparing its current value in the database against the value in the recipe. When the two values match, the recipe item is verified.
IMPORTANT: Because the Recipe Package reads and writes from the same set of blocks, you can only verify recipe items that specify blocks with an input and output capability. These blocks include the Analog Input, the Analog Alarm, the Analog Register, the Digital Input, the Digital Alarm, the Digital Register, and the Text block. Attempting to verify a recipe that contains any other type of block can produce unexpected results.
When verifying Digital Register blocks, make sure the type of formula agrees with the type of field specified in the identifier. Only use strings with the A_CV field and only use numeric values with the F_CV field. If you do not, the Recipe Builder cannot verify the block's value. For example, if you specify the field A_CV, enter a string formula that matches the label for the appropriate state of the block, such as "OPEN".
If one or more recipe items reference an Analog Register or Digital Register block, you may experience difficulty verifying these items. To resolve this problem, create an Analog Input block for each poll record referenced by the recipe. Make sure the scan time of the Analog Input block is shorter than the access time of the poll record it is assigned to. This setup ensures that the I/O driver does not time out and stop polling the poll record. By continuously polling each address, you ensure that data is available for verification.
As it verifies a recipe, the Recipe Package continually reads the values of the target blocks until each recipe item that you selected is verified or the time-out interval expires. All recipe items must verify at the same time in order to verify a recipe successfully. For example, consider the following.
|
First Pass |
Second Pass |
Third Pass |
Recipe Item 1 |
Verified |
Not verified |
Verified |
Recipe Item 2 |
Not verified |
Verified |
Verified |
Recipe Item 3 |
Verified |
Verified |
Verified |
In this example, the recipe is verified only on the third pass through it, because only on the third pass are all recipe items verified. When one or more recipe items are not verified, as shown above, the Recipe Builder starts from the beginning of the recipe and attempts to verify each recipe item you have selected again.
The time-out interval specifies the amount of time the Recipe Builder spends verifying the recipe. If this interval expires without verifying the recipe, a time-out error occurs and the verification process ends.
NOTE: The time-out interval you specify applies to the local node. All recipes downloaded from the local node will use this time-out interval.
If the time-out interval expires, the Recipe Builder displays the Verification Error List dialog box.
NOTE: The information listed in the Verification Error List dialog box reflects the state of the recipe at the time of the download. If you modify the recipe after the Verification Error List dialog box appears, the information displayed in the dialog box will not reflect the current state of the open recipe.
Common verification errors include attempting to verify a block that is off scan or attempting to verify blocks on a node that does not have SAC running. For additional information about handling verification errors, refer to the section Understanding Upload and Download Messages.