Using A Memory Card - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

The overlay types can be addressed directly in the program logic:
LAD
See SCL (Page 145) for syntax for addressing local variables and PLC tags.
Rules
● Overlaying of tags is only possible in FB and FC blocks with standard access.
● You can overlay parameters for all block types and all declaration sections.
● An overlaid parameter can be used like any other block parameter.
● You cannot overlay parameters of type VARIANT.
● The size of the overlaying parameter must be less than or equal to the size of the overlaid
● The overlaying variable must be declared immediately after the variable that it overlays
4.5

Using a memory card

NOTICE
The CPU supports only the pre-formatted SIMATIC memory card (Page 758).
Before you copy any program to the formatted memory card, delete any previously saved
program from the memory card.
Use the memory card either as a transfer card or as a program card. Any program that you
copy to the memory card contains all of the code blocks and data blocks, any technology
objects, and the device configuration. The program does not contain force values.
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
FBD
parameter.
and identified with the keyword "AT".
97BPLC concepts
4.5 Using a memory card
SCL
IF #AT[1] THEN
...
END_IF;
IF (#DW1_Struct.S1 =
W#16#000C) THEN
...
END_IF;
out1 := #DW1_Struct.S2;
99

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents