EasyManua.ls Logo

GE PACSystems RX7i - Data Initialization

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
Loading...
Chapter 4. Ladder Diagram (LD) Programming
156 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
4.8.7 Data Initialization
The Data Initialization (DATA_INIT) function copies a block of
constant data to a reference range.
When the DATA_INIT instruction is first programmed, the constants
are initialized to zeroes. To specify the constant data to copy, double-
click the DATA_INIT instruction in the LD editor.
Note: The mnemonics DATA_INIT_ASCII (refer to Data Initialize
ASCII) and DATA_INIT_COMM (refer to Data Initialize
Communications Request) operate differently from the other
six functions.
Mnemonics:
DATA_INIT_DWORD
DATA_INIT_DWORD
DATA_INIT_INT
DATA_INIT_UINT
DATA_INIT_REAL
DATA_INIT_LREAL
DATA_INIT_WORD
When DATA_INIT receives power flow, it copies the constant data to output Q. DATA_INIT's constant
data length (LEN) specifies how much constant data of the function type is copied to consecutive
reference addresses starting at output Q. DATA_INIT passes power to the right whenever it receives
power.
Notes:
The output parameter is not included in coil checking.
If you replace one DATA_INIT instruction (except DATA_INIT_ASCII or DATA_INIT_COMM) with
another (except DATA_INIT_ASCII or DATA_INIT_COMM), Logic Developer - PLC attempts to keep
the same data. For example, configuring a DATA_INIT_INT with eight rows and then replacing the
instruction with a DATA_INIT_DINT would keep the data for the eight rows. Some precision may
be lost when replacing a DATA_INIT_ instruction, and a warning message will be displayed when
this case is detected.
Operands
Note: For each mnemonic, use the corresponding data type for the Q operand. For example,
DATA_INIT_DINT requires Q to be a DINT variable.
Parameter
Description
Allowed Operands
Optional
Length
The quantity (default 1) of constant data copied
to consecutive reference addresses starting at
output Q.
Constants
No
Q
The beginning address of the area to which the
data is copied.
All, except %S. SA, SB, and SC are not
allowed for REAL, LREAL, INT, and UINT
versions.
No
Example
On the first scan (as restricted by the #FST_SCN system
variable), 100 words of initial data are copied to %R00005
through %R00104.

Table of Contents

Other manuals for GE PACSystems RX7i

Related product manuals