Instruction Created By The Data Log Wizard - Siemens SIMATIC S7-200 System Manual

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Instruction Created by the Data Log Wizard

The Data Log Wizard adds one instruction subroutine to your project.
DATx_WRITE Subroutine
The Subroutine DATx_WRITE is used to log the current
values of the data log fields to the memory cartridge.
DATxWRITE adds one record to the logged data in the
memory cartridge. A call to this subroutine appears as
follows.
Error 132 is returned when this instruction fails to correctly
access the memory cartridge.
Table 14-1
Parameters for the DATAx_WRITE Subroutine
Inputs/Outputs
Error
Tip
The EEPROM used in the memory cartridge will support a limited number of write operations.
Typically, this is one million write cycles. Once this limit has been reached, the EEPROM will not
operate properly.
Make sure that you do not enable the DATx_WRITE instruction on every scan. Enabling this
instruction on every scan will wear out the memory cartridge in a relatively short period of time.
Data Type
Operands
Byte
VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD
Using Data Logs
Chapter 14
379

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents