22.3 Copying Data in Blocks

Action

Create a script that detects the rising edge (0 to 1) of bit address M0100 and copies data stored in the connected device (PLC1) to another connected device (PLC2).

 

Commands Used

Copies a stored value into a device in one operation.
Data for the number of Addresses will be copied to the copy destination Word Addresses beginning from the source data's first Word Address.
[Format]

memcpy ([Copy To Address], [Copy From Address], Words)

22.11.2 Memory Operation

 

Trigger

In [Trigger], select [Bit ON], and set the [Bit Address] to M000100.

 

Completed Script

22.3.1 Procedure - Copying Data in Blocks