
Publication LOGIX-AP007B-EN-P - January 2007
4 Table of Contents
Write Data to the CompactFlash Card . . . . . . . . . . . . . . . . . . . . . . . . . 26
Read Data from the CompactFlash Card . . . . . . . . . . . . . . . . . . . . . . . 28
Delete a File on the CompactFlash Card . . . . . . . . . . . . . . . . . . . . . . . 29
Build an Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Set Up Recipe Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Create the File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Write the Recipe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Read the Recipe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Delete the Recipe. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Appendix A
Format a CompactFlash Card
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Format with a Personal Computer and a CompactFlash Card Reader 35
Format RSLogix 5000 Software and a Logix5000 Controller with
CompactFlash Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Appendix B
Performance Data
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Performance Data Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Access 450 Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Access 4500 Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Access 4500 Bytes with an HMI Load . . . . . . . . . . . . . . . . . . . . . . 44
Access 4500 Bytes with 16 Message Instructions. . . . . . . . . . . . . . 44
Access 4500 Bytes and Periodic Tasks . . . . . . . . . . . . . . . . . . . . . . 44
Appendix C
Troubleshoot the CompactFlash
File System
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Status User-defined Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Tag Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Message Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Appendix D
Expand the Code to Support More
than 4500 Bytes of Data
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Modify the Application to Access More Data . . . . . . . . . . . . . . . . . . . 49
Access 10,000 Bytes Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Modify the Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Modify the Data Element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Rockwell Automation Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Installation Assistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
New Product Satisfaction Return . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Comentarios a estos manuales