Publication LOGIX-AP007B-EN-P - January 2007
26
Example Application
Write Data to the
CompactFlash Card
Set up how the program is going to write the data to the CompactFlash card.
1.
Switch to the MainPrograms tags.
Make sure the Monitor Tags tab is selected in the tag editor.
2.
Sort the tags by Name.
3.
Find the tag CF_Data_Working.
This is a user-defined data type (UDT).
4.
Click + to expand the tag.
Leave the filename the same as the previous section, testfile1.dat. There
is an element in the UDT called CF_Data_Working.Bytes_to_RW. This
tells the application how many bytes in this case will be written to the
file.
5.
Find CF_Data_Working.Bytes_to_RW and enter a value of 450.
This means that 450 bytes will be written to the file testfile1.dat.
6.
Expand the data element in the UDT, (CF_Data_Working.Data).
This array holds the data to be written to the file.
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: ......