EasyManuals Logo

GE PACSystems RX7i User Manual

GE PACSystems RX7i
469 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
Page #31 background imageLoading...
Page #31 background image
Chapter 2. Program Organization
16 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
External Blocks and Local Data
External blocks support the use of %P global data. External blocks do not have their own %L data,
but instead inherit the %L data of their calling blocks. They also inherit the FST_EXE system
reference and the time-stamp data that is used to update timer function blocks from their calling
blocks. If %L references are used within an external block and the block is called by _MAIN, %L
references will be inherited from the %P references wherever encountered in the external block (for
example, %L0005 = %P0005).
Initialization of C Variables
When an external block is stored to the CPU, a copy of the initial values for its global and static
variables is saved. However, if static variables are declared without an initial value, the initial value is
undefined and must be initialized by the C application. (Refer to Global Variable Initialization and
Static Variable in the C Programmer’s Toolkit for PACSystems, GFK-2259). The saved initial values are
used to re-initialize the block’s global and static variables whenever the CPU transitions from STOP
Mode to RUN Mode.

Table of Contents

Other manuals for GE PACSystems RX7i

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the GE PACSystems RX7i and is the answer not in the manual?

GE PACSystems RX7i Specifications

General IconGeneral
BrandGE
ModelPACSystems RX7i
CategoryController
LanguageEnglish

Related product manuals