Running your Program on the AC500-eCo CPU

  1. Set the Communication Parameters in IEC 61131-3 editor

    From the Online menu, select Communication Parameters.

    ⇒
    ../_images/7a3f5aa52716658b0a33139000fa48cc
  2. From Channels, select AC500 Default TCP-IP. Click OK.

    ⇒
    ../_images/40cc1820b66085f00a33139000b87742
  3. Download your Program to the AC500-eCo CPU

    From the Online menu, select Login.

  4. The upcoming dialog informs you that no program is on the AC500-eCo CPU. You are asked if you want to download your program to the AC500-eCo CPU. Click Yes.

    ⇒
    ../_images/bd95102cb67d0f0d0a33139001fe10e7

    If the Automation Builder software version and the AC500-eCo CPU firmware version are different, a message is displayed in the status bar. This has no influence on running your example program on your AC500-eCo CPU. The example program can be executed with any firmware version of the AC500-eCo CPU.

    ../_images/9e92d8a42ce099200a331390013f1cf5
  5. Create a Boot Project: Save RAM to ROM

    The application project is stored in the volatile memory of a CPU. You can enable the CPU to automatically load and execute the application project after a restart. Then the downloaded program will be stored in a non-volatile memory (flash memory). Otherwise, the program has to be reloaded manually (here: downloaded) each time the CPU is powered up.

    From the Online menu, select Create boot project.

    Note

    Once the program is stored in the non-volatile memory, it can only be overwritten by another program or deleted with the delappl command AC500-eCo Starter Kit.

  6. From the Online menu, select Run.

    ⇒

    In the status bar, ONLINE and RUNNING are highlighted in black color.

    ../_images/18259cf6bab7de030a3313900095c0c1
  7. Use the toggles of the input simulator to change the status of input DI04 and DI05.

    ⇒

    The LEDs of the inputs and outputs go on and off.

  8. Stop the Connection to the AC500-eCo CPU

    From the Online menu, select Logout.

Delete a program stored in the non-volatile memory

Once the program is stored in the non-volatile memory, it can only be overwritten by another program or deleted with the delappl command.

  1. In the Resources register card, double-click PLC-Browser.

    ⇒
    ../_images/e8ceab06273dc5780a33139001fbf086
  2. In the command line type delappl. Press ENTER.

    ⇒
    ../_images/3d1b25082746586d0a331390011d59cc
  3. The deletion is effective after power cycling.