Working with the memory card

Một phần của tài liệu Hans berger automating with SIMATIC s7 1200 configuring programming (Trang 429 - 432)

A SIMATIC Memory Card for a CPU 1200 is an SD memory card (secure digital mem- ory card) preformatted by Siemens. If you wish to delete the contents of the mem- ory card, you must only delete files or folders. Formatting the memory card makes it unusable in a CPU 1200. Please make sure that the write protection – the small slide switch on the side of the card – is switched off if it is used in the CPU.

If you insert or remove a memory card when the CPU is in the RUN mode, the mode immediately changes to STOP. Caution: Make sure that stopping of the CPU cannot cause any damage to persons or property and that no dangerous states can result!

Setting the type of card

You can use the memory card as a transfer card or as a program card. You can use the transfer card as a replacement for the online connection to download a project to the CPU; the program card replaces the internal load memory.

To set the type of card, insert the memory card into the programming device's card reader. In the project tree, open the SIMATIC Card Reader folder and the subordinate folders down to the SD card (to the drive letter). Select the SD card and click on the Properties command in the shortcut menu. In the dialog window that is then dis- played, select the Program or Transfer entry from the drop-down list in the Card type field.

Transferring project data to the memory card

Once the memory card has been set as a transfer or program card, copy the project data of the PLC station onto the memory card, e.g. using Copy with the PLC station selected and Insert from the shortcut menu with the SD subsequently selected, or by dragging the PLC station to the memory card with the mouse button pressed.

The project will be compiled. Following error-free compilation, the Load preview window is displayed; continue the downloading process with the Continue check box activated by clicking on the Load button. Click the Complete button to termi- nate the downloading process.

Using the memory card as a transfer card

Insert the memory card into the CPU module. If the CPU was in the RUN mode, it changes to STOP. The MAINT LED flashes as an indication that the memory card has to be evaluated. The memory card is evaluated following a CPU restart, e.g. when switching the power supply off and on again.

Following the restart, the project data is transferred from the memory card to the internal load memory. The flashing MAINT LED signals the end of the transfer.

You must remove the memory card before starting the CPU again.

You can start the CPU by switching the power supply off and on again, for example.

The CPU starts with the set operating mode.

If the memory card is an empty transfer card, the internal load memory of the CPU is deleted during the transfer. A password-protected user program can be deleted in this manner if the password is unknown.

Using the memory card as a program card

Insert the memory card into the CPU module. If the CPU was in the RUN mode, it changes to STOP. The MAINT LED flashes as an indication that the memory card has to be evaluated. The memory card is evaluated following a CPU restart, e.g. when switching the power supply off and on again.

The contents of the internal load memory are deleted following the CPU restart, and the executable data transferred from the memory card to the work memory.

The CPU has the set operating mode following the restart.

The memory card must remain in the CPU module since it now contains the load memory. If the memory card is removed during runtime, the CPU goes to STOP and the ERROR LED flashes.

If the memory card is an empty program card, the contents of the internal load memory of the CPU are transferred to the memory card following a CPU restart. Fol- lowing a further CPU restart, the memory card is then used as an external load memory.

Fig. 13.4 Use of the memory card as transfer and program card Project data is present on the transfer card.

Project data is present on the program card.

The transfer card is empty.

The program card is empty.

Use as transfer card

Use as program card The project data is transferred to the memory card.

The project data is transferred to the memory card.

The data on the memory card is deleted.

The data on the memory card is deleted.

The memory card is inserted into the CPU. When switching on, the CPU imports the data into the internal load memory. The memory card can then be removed.

The memory card is inserted into the CPU. When switching on, the CPU replaces the internal load memory by the memory card. The memory card must remain inserted.

The memory card is inserted into the CPU. When switching on, the CPU deletes the data in the internal load memory (application: a password- protected program is to be deleted).

The memory card is inserted into the CPU.

When switching on, the CPU copies the data from the internal load memory into the memory card.

The memory card must remain inserted (as load memory).

Use of the memory card

S

S S

S

CPU 1200

CPU 1200 CPU 1200

CPU 1200

s s

s s

s s

s s

Một phần của tài liệu Hans berger automating with SIMATIC s7 1200 configuring programming (Trang 429 - 432)

Tải bản đầy đủ (PDF)

(577 trang)