When automatically transferring from external storage to the device/PLC, by designating the condition name of the file you want to transfer, you can search for a matching CSV file within the external storage [file] folder and transfer that data to the device/PLC.
In the following picture, the CSV files that match the product number (condition name) read from the barcode reader are transferred to the device/PLC.
The search only detects files whose condition name is an exact match for the search string. Spaces indicate different file names and can cause errors.
The designated [Search Word Address] uses 16 words, and the condition name to be searched can be up to 32 characters (16 double-byte characters). After storing the search condition name, turn ON bit 2 of the [Control Word Address]. The search and transfer to the device/PLC begins. If there are multiple matching files, the CSV data are transferred in order of file number.
18.104.22.168 Control Word Address when Using the Condition Name Search Feature
22.214.171.124 Condition Name Search Storage Methods
If an index file (ZRINDEX.CSV) exists in the [file] folder, the search scans the contents of the index file.
If there is no index file and the [file] folder contains a large number of files, referencing and searching the condition names of all CSV files may take a long time. (For example, if approximately 1,000 CSV files are searched, the search operation takes approximately one minute.)
Even if the target file exists in the [file] folder, files whose condition name is not reflected in the index file cannot be detected. Either update or delete the index file and then transfer the files.