26.10.2.1 For Condition Action

Set the number of files and the file numbers to transfer. When bit 0 of [Control Word Address] turns ON, CSV data from external storage is written to the device/PLC. When bit 1 turns ON, device/PLC data is saved to the external storage as defined by the [Condition].
The number of addresses used depends on the device designated in the address.

For example, when 16 bit device is specified

A maximum of 64 files can be transferred simultaneously.

Data transfers depending on the address bit 0 or bit 2 state.

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 external storage to the device/PLC, there are 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 external 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 external storage

No external storage is found or the cover is open.

5

Read Error

When transferring from external storage to the device/PLC, failed to read from external storage.

6

Write Error

When transferring from the device/PLC to external storage, failed to write to external storage. There may not be enough available space.

SD card is write protected

7

CF Card Error/USB Storage Error

The CF card/USB storage is not formatted properly or is damaged

8

Reserved

9

No Retrieve Text

No CSV file matches the retrieve text.

10

Index File Error

The index file format is incorrect.

11

(Reserved)

12

Write Error

When transferring data from external storage to the device/PLC, failed to write to the device/PLC.

13

Read Error

When transferring from the device/PLC to external storage, failed to read from the device/PLC.

Specify the number of CSV files to transfer (from 1 to 64).
If this value is not set, data is not transferred when the [Control Word Address] turns ON. Also, status will not restart.

Stores the first File Number to transfer.
After that, the desired transfer order is stored by file number.

Automatic Transfer (Condition Action) Timing Chart

When the control address bit 0 (or bit 1) 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.

Turning OFF the Control Address bit automatically turns OFF bit 1 (transfer complete) in the status address.

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.