Extended instructions
9.9 Recipes and Data logs
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
503
Table 9- 195 Data types for the parameters
REQ IN Bool Control parameter REQUEST: Activates the export on a positive
RECIPE_DB In/Out Variant Pointer to the recipe data block. Refer to the "Recipe DB example
(Page 499)" for details. The DB name characters must follow the
Windows file system naming restrictions. Characters \ / : * ? " < > |
and the space character are not allowed.
DONE OUT Bool The DONE bit is TRUE for one scan, after the last request was com-
pleted with no error. (Default value: False)
BUSY OUT Bool RecipeExport execution
• 0: No operation in progress
• 1: Operation on progress
ERROR OUT Bool The ERROR bit is TRUE for one scan, after the last request was
terminated with an error. The error code value at the STATUS pa-
rameter is valid only during the single scan where ERROR = TRUE.
• 0: No warning or error
• 1: An error has occurred. The STATUS parameter provides in-
formation on the type of error.
Table 9- 196 Values of ERROR and STATUS
Call with no REQ edge: BUSY = 0, DONE = 0
First call with REQ edge (working): BUSY = 1, DONE = 0
th
call (working): BUSY = 1, DONE = 0
All instance memory is in use.
File name contains invalid characters
The data structure referenced with RECIPE_DB cannot be processed.
Data structure specified in RECIPE_DB exceeds 5000 bytes
1 80B3 Not enough space in on MC or in internal load memory
Recipe DB attribute "Only store in load memory" is not enabled.
CSV file is temporarily locked