Instructions Created By The Recipe Wizard - Siemens SIMATIC S7-200 System Manual

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

Advertisement

Instructions Created by the Recipe Wizard

RCPx_Read Subroutine
The Subroutine RCPx_READ is created by the Recipe
Wizard and is used to read an individual recipe from the
memory cartridge to the specified area in V memory.
The x in the RCPx_READ instruction corresponds to the
recipe definition that contains the recipe that you wish to
read.
The EN input enables the execution of the instruction when
this input is high.
The Rcp input identifies the recipe that will be loaded from
the memory cartridge
The Error output returns the result of the execution of this
instruction. See Table 13-3 for definitions of the error codes.
RCPx_Write Subroutine
The Subroutine RCPx_WRITE is created by the Recipe
Wizard and is used to replace a recipe in the memory
cartridge with the contents of the recipe contained in
V memory.
The x in the RCPx_WRITE instruction corresponds to the
recipe definition that contains the recipe that you wish to
replace.
The EN input enables the execution of the instruction when
this input is high.
The Rcp input identifies the recipe that will be replaced in
the memory cartridge.
The Error output returns the result of the execution of this
instruction. See Table 13-3 for definitions of the error codes.
Table 13-2
Valid Operands for the Recipe Subroutine
Inputs/Outputs
Rcp
Error
Table 13-3
Error Codes for the Recipe Instructions
Error Code
0
132
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 RCPx_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
Word
VW, IW, QW, MW, SW, SMW, LW, AC, *VD, *AC, *LD, Constant
Byte
VB, IB, QB, MB, SB, SMB, LB, AC, *VD, *AC, *LD
Description
No error
Access to the memory cartridge failed
Using Recipes
Chapter 13
371

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents