SanDisk CompactFlash 5000 Bedienerhandbuch Seite 33

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 56
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 32
Publication LOGIX-AP007B-EN-P - January 2007
Example Application 33
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.
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.
TIP
Remember to set the tag controller_slot_number and to
make sure a CompactFlash card is installed in the
controller.
Seitenansicht 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 55 56

Kommentare zu diesen Handbüchern

Keine Kommentare