Publication LOGIX-AP007B-EN-P - January 2007
34
Example Application
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.
Summary of Contents for controllogix 1756-L61
Page 6: ...Publication LOGIX AP007B EN P January 2007 6 Notes...
Page 10: ...Publication LOGIX AP007B EN P January 2007 10 CompactFlash Card Enhancements Overview Notes...
Page 42: ...Publication LOGIX AP007B EN P January 2007 42 Format a CompactFlash Card Notes...
Page 48: ...Publication LOGIX AP007B EN P January 2007 48 Troubleshoot the CompactFlash File System Notes...
Page 55: ......