EasyManua.ls Logo

Siemens SIMATIC S7 - Page 106

Siemens SIMATIC S7
866 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming concepts
5.2 Elements of the user program
S7-200 SMART
106 System Manual, V2.3, 07/2017, A5E03822230-AF
Note
Because it is not possible to predict when the CPU
might generate an interrupt, it is
desirable to limit the number of variables that are used both by the interrupt routine and
elsewhere in the program.
Use the local variable table of the interrupt routine to ensure that your interrupt routine
uses only th
e temporary memory and does not overwrite data used somewhere else in
your program.
There are a number of programming techniques you can use to ensure that data is
correctly shared between your main program and the interrupt routines. Refer to the
descript
ions of the Interrupt instructions (Page 322).

Table of Contents

Other manuals for Siemens SIMATIC S7

Related product manuals