After storing the Condition Name to search, turn the [Control Word Address] transfer bit (bit 2) from OFF to ON to: search for CSV files within the CF Card/USB storage and transfer all CSV files that match the search condition name.
Control
When bit 2 turns ON, search for the file with the condition name that matches the text string designated in [Search Word Address], and write the matching CSV data to the PLC.
Ensure that all bits in this address are set to "0" when the GP unit is turned on.
When bit 0 (CF/USB to Device/PLC) and bit 2 (Condition Name Search transfer) turn ON at the same time, neither operation is performed. Turn ON only bit 2.
Status
Transfer state and result is reflected in this address.
Error Codes (Reflected in the error status bits)
0 |
Completed Successfully |
Transfer completed successfully. |
1 |
No File Number |
When transferring from CF Card/USB Storage to the device/PLC, there were no files to transfer. |
2 |
No Transfer Condition Number |
For transfer, the Condition Number that corresponds to the specified File Number (GROUP NO) does not exist. |
3 |
Internal Device Range Error |
When transferring from CF Card/USB Storage to the device/PLC and the start address is set up as an internal device, transfer would exceed the internal device address range. |
4 |
No CF Card or USB Storage |
The CF Card/USB storage is not inserted in the display unit, or the CF Card cover is not closed. |
5 |
Read Error |
When transferring from the CF card/USB storage to the device/PLC, failed to read data on the CF card or USB storage device. |
6 |
Write Error |
When transferring from the device/PLC to CF card/USB Storage, failed to write to the CF Card or USB Storage. There may not be enough available space. |
7 |
CF Card Error/USB Storage Error |
The CF Card/USB storage device is invalid or the media inserted is not a CF Card/USB storage device. |
8 |
Reserved |
- |
9 |
No Retrieve Text |
No CSV file matches the retrieve text. |
10 |
Index File Error |
The index file's CSV format is incorrect. |
11 |
Reserved |
- |
12 |
Write Error |
When transferring data from CF Card/USB storage to the device/PLC, failed to write to the device/PLC. |
13 |
Read Error |
When transferring data from the device/PLC to CF Card/USB storage, failed to read the device/PLC. |
Condition Name Search Transfer Timing Chart
When the control address' bit 2 turns ON, the [Transferring] bit (status bit 0) turns ON.
When a data transfer is completed successfully, the Transferring bit turns OFF, and the Transfer Complete Flag (status bit 1) turns ON.
When the data transfer is completed, determine the Transfer Complete Flag via the device/PLC and turn OFF the Control Address' bit. When the trigger is OFF, the [Transfer Completion] bit turns OFF.
If the transfer fails, the Transferring Bit turns OFF, and the error code is set in the error status (status bits 12-15). Before starting the next transfer, clear the Status and Control bits to 0 and turn on the required Control bit.
The period while the Transferring Status Bit is ON includes the time required for searching the CSV files. Therefore, do not access the [file] folder in the CF Card/USB Storage while the Transferring Status Bit is on.