Storing the User Program to the SD Memory Card

Online

  1. Build the complete project. Project ‣ Clean all and Project ‣ Rebuild all.

  2. Load the project into the AC500 PLC.

  3. Create the bootproject on the controller using Online ‣ Create boot project.

    The bootproject files (<project name>.PRG.ZIP and <project name>.WEB.ZIP) are loaded into the AC500 PLC and flashed.

    The RUN LED on the AC500 PLC flashes while data flashing is in progress.

  4. Insert the SD memory card. If the SD memory card does not already contain the required file structure, the structure will be created SD Memory Card in AC500.

    Attention

    :strong:Overwriting of files on the SD memory card

    If a user program is already stored on the SD memory card, i.e., the directory UserData\PM5x1\UserPrg already contains the files DEFAULT.PRG and DEFAULT.CHK, these files will be overwritten without any warning.

    If you want to store several user programs to the SD memory card, you have to copy them into other directories using the PC.

  5. Open the PLC Browser/ PLC Shell and enter the command “sdappl”<ENTER>.

    The files <project name>.PRG.ZIP and <project name>.WEB.ZIP are loaded from the flash memory and stored as BOOT.ZIP / WEBVISU.ZIP to the directory UserData\PM5x1\UserPrg on the SD memory card.

    In the file SDCARD.INI, the parameter FunctionOfCard is set to 1 (bit 0 = 1) and the parameter UserProgram is set to 1, i.e. the function “Load the user program” is activated.

    The RUN LED on the AC500 PLC flashes while writing to the SD memory card is in progress.

    If you insert the SD memory card containing the user program into the AC500 PLC, the SD memory card is loaded into the flash memory of the AC500 PLC.

Offline

Furthermore it is possible to create a project offline. Before creating it offline the project has to be compiled. After creating the bootproject the files are available at according storage folders of the project.

  • PM5xy: <project name>.PRG.ZIP / <project name>.WEB.ZIP has to be renamed to BOOT.ZIP / WEBVISU.ZIP and copied to the according PM5xy CPU folder: USERDATA\PM5xx\USERPRG folder.
  • CM574-RS: Copy the created CM574 ZIP file into the according PM5xy CPU folder: USERDATA\PM5xx\USERPRG and rename it to CM574_X1.bpz (X = Slot number).