Create The File - Allen-Bradley Logix5000 Series Application Book

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

Advertisement

8. Define how many bytes you want to read/write to the file.
From the previous section, a waffle recipe was 72 bytes in size.
9. Enter 72 in the tag Bytes_to_RW.
The last piece of data to manipulate is the Data. You will copy the data
from the waffle Recipe1 into this array. This is done in the
Recipe_Manager code.
Remember to set the tag controller_slot_number and to
TIP
make sure a CompactFlash card is installed in the
controller.
10. Save the project and download it to the controller.
11. Go online with the controller.
You are now ready to read and write your recipe data to the
CompactFlash card.
12. Open the Controller tags and go to the Monitor tab.
13. Look for the tags Recipe_Commmand and Recipe_Number.
You will use the first recipe as an example.

Create the File

Tell the Recipe_Manager routine to create a 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 1 in the Recipe_Command tag.
This tells the Recipe Manager to create the file.
Once the command has completed the tags Recipe_Number and
Recipe_Commmand will be set to zero.
Example Application
Publication LOGIX-AP007B-EN-P - January 2007
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

1756-l611756-l621756-l60m03se1756-l631756-l64

Table of Contents