Data Block Control; Read_Dbl, Writ_Dbl (Read From Or Write To A Db In Load Memory) - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

101BExtended instructions

8.8 Data block control

8.8
Data block control
8.8.1

READ_DBL, WRIT_DBL (Read from or write to a DB in load memory)

Table 8- 140 READ_DBL and WRIT_DBL instructions
LAD / FBD
Table 8- 141 Data types for the parameters
Parameter and type
REQ
IN
SRCBLK
IN
RET_VAL
OUT
BUSY
OUT
DSTBLK
OUT
310
READ_DBL(
req:=_bool_in_,
srcblk:=_variant_in_,
busy=>_bool_out_,
dstblk=>_variant_out_);
WRIT_DBL(
req:=_bool_in_,
srcblk:=_variant_in_,
busy=>_bool_out_,
dstblk=>_variant_out_);
Data type
Description
BOOL
A high signal starts the operation, if BUSY = 0.
VARIANT
READ_DBL: Pointer to the source data block in load memory
WRIT_DBL: Pointer to the source data block in work memory
INT
Execution condition code
BOOL
BUSY = 1 signals that the reading/writing process is not complete.
VARIANT
READ_DBL: Pointer to the destination data block in work memory
WRIT_DBL: Pointer to the destination data block in load memory
Description
Copies DB start values or part of the
values, from load memory to a target
DB in the work memory.
The content of load memory is not
changed during the copy process.
Copies DB current values or part of the
values from work memory to a target
DB in load memory.
The content of work memory is not
changed during the copy process.
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents