183
SECTION 5
File Memory Functions
This section describes the functions used to manipulate file memory.
5-1 File Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
5-1-1 Types of File Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
5-1-2 File Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
5-1-3 Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
5-1-4 Description of File Operating Procedures . . . . . . . . . . . . . . . . . . . . 196
5-1-5 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
5-2 Manipulating Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
5-2-1 Programming Devices (Including Programming Consoles). . . . . . . 199
5-2-2 FINS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
5-2-3 FREAD(700), FWRIT(701), and CMND(490) . . . . . . . . . . . . . . . . 203
5-2-4 Replacement of the Entire Program During Operation . . . . . . . . . . 208
5-2-5 Automatic Transfer at Startup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
5-2-6 Simple Backup Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
5-3 Using File Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
5-3-1 Initializing Media . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
5-3-2 Operating Procedures for Memory Cards. . . . . . . . . . . . . . . . . . . . . 228
5-3-3 Operating Procedures for EM File Memory. . . . . . . . . . . . . . . . . . . 230