Loading a User Program from the SD Card to the AC500

If an SD Card is inserted into the AC500 when the CPU is in STOP mode, or if the SD Card is already inserted when switching on the control voltage, the file structure on the SD Card is checked. If the file structure exists, the file SDCARD.INI is read. If the parameter “FunctionOfCard” is set to 1 (bit 0 = 1) and the parameter “UserProgram” = 1 and for the CM574-RS (CouplerConfigX=1 X = Slotnumber), the files DEFAULT.PRG and DEFAULT.CHK (CM574_X1.PRG and CM574_X2.CHK (X=Slotnumber) (*PS501V1*) or Boot.zip (CM574_X1.bpz - X = Slot number) (*PS501V2.x*) in the directory UserData\PM5xy\UserPrg on the SD card are loaded into the Flash memory of the AC500.

Caution

:strong:Loading of the user program

In versions V1.0 and V1.1, the user program can only be loaded with control voltage ON, if FunctionOfCard=3 (i.e., firmware update and user program are loaded). To disable the firmware update, the according firmware file has to be deleted!

The RUN LED on the AC500 flashes while loading and flashing the user program is in progress.

The loaded program is activated after a CPU restart. If the user program cannot be loaded (for example, due to missing files, wrong directory structure or mismatching project for the controller), a corresponding error message appears. A summary of the SD Card errors can be found in the section SD Card error messages.

If you insert the SD Card into the AC500 when the CPU is in RUN mode, the user program is not loaded independent of the settings for the parameters “FunctionOfCard” (bit 0=1) and “UserProgram” (=1). Thus, the function “Load user program” can be deactivated with the PLC-Browser command “sdfunc 0” even if no PC card reader is available.