Write The Recipe; Read The Recipe; Delete The Recipe - Allen-Bradley Logix5000 Series Application Book

Compactflash file system
Hide thumbs Also See for Logix5000 Series:
Table of Contents

Advertisement

34
Example Application
Publication LOGIX-AP007B-EN-P - January 2007

Write the Recipe

Write the recipe data to the CompactFlash card. You entered data into Recipe1
before you download to the controller.
1. Enter a value of 1 in the Recipe_Number tag.
This tells the Recipe_Manager routine to work with Recipe1.
2. Enter a value of 2 in the Recipe_Command tag.
This tells the Recipe_Manager to write to the file. Once the command
has completed, the tags Recipe_Number and Recipe_Commmand will
be set to zero.

Read the Recipe

Before you read the recipe from the CompactFlash card, you need to clear out
the values you entered earlier.
1. Go to the tag Recipe1 and clear out the values you entered earlier.
2. Enter a value of 1 in the Recipe_Number tag.
This tells the Recipe_Manager to work with Recipe1.
3. Enter a value of 3 in the Recipe_Command tag.
This tells the Recipe_Manager to read from the file.
Once the command has completed, the tags Recipe_Number and
Recipe_Commmand will be set to zero.
Now look back in the tag Recipe1 the values have been read from the
CompactFlash card and the values have been restored.

Delete the Recipe

Tell the Recipe_Manager routine to delete the file.
1. Enter a value of 1 in the Recipe_Number tag.
This tells the Recipe_Manager to work with Recipe1.
2. Enter a value of 4 in the Recipe_Command tag.
This tells the Recipe_Manager to delete a file. Once the command has
completed, the tags Recipe_Number and Recipe_Commmand will be
set to zero.

Advertisement

Table of Contents
loading

This manual is also suitable for:

1756-l611756-l621756-l60m03se1756-l631756-l64

Table of Contents