21.3.1 Procedure - Copying Data in Blocks

  1. From the [Parts] menu, click [D-Script (R)] or click .

  2. Click [Create]. The IDs for existing scripts are displayed in the [D-Script List].

  3. The [D-Script] dialog box is displayed.

  4. In [Trigger], select [When Bit is ON], and specify the [Bit Address] as M000100.

  5. Click the [Function] tab. The built-in functions allow you to easily place a command to use in the script.

  6. From [Built-in Function (Instruction)], select [Memory Operation].

  7. Double-click [Copy Memory], and in the dialog box that follows, define the parameters for the destination address, source address, and number of words. Click the icon.

  8. For [Parameter 1], enter D00101, and click [ENT].

  9. For the number of addresses enter 100, and as in step 8 for the copy source word address, define D00000 and click [OK].
    The script is now complete.