EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 520

Siemens SIMATIC S7-1200
1614 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...
Extended instructions
9.9 Recipes and Data logs
S7-1200 Programmable controller
520 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 9- 211 Data types for the parameters
Parameter and type
Data type
Description
REQ
IN
Bool
A low to high (positive edge) signal starts the operation. (Default value: False)
ID In/Out DWord Numeric identifier of a data log. Only used as an input for the DataLogClose
instruction. (Default value: 0)
Note:
Symbolic name access for this parameter is not allowed.
DONE OUT Bool The DONE bit is TRUE for one scan after the last request was completed with
no error.
BUSY OUT Bool
0 - No operation in progress
1- Operation in 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 parameter is valid only
during the single scan where ERROR = TRUE.
STATUS
OUT
Word
Execution condition code (Default value: 0)
Table 9- 212 Values of ERROR and STATUS
ERROR
STATUS (W#16#)
Description
0
0000
No error
0
0001
Data log not open
0
7000
Call with no REQ edge: BUSY = 0, DONE = 0
0
7001
First call with REQ edge (working): BUSY = 1, DONE = 0
0
7002
N
th
call (working): BUSY = 1, DONE = 0
1
8092
Data log does not exist.
DataLogDelete (Delete data log)
Table 9- 213 DataLogDelete instruction
LAD / FBD
SCL
Description
"DataLogDelete_DB"(
REQ:=_bool_in_,
NAME:=_variant_in_,
DelFile:=_bool_in_,
DONE=>_bool_out_,
BUSY=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_,
ID:=_dword_inout_);
You use the "DataLogDelete" instruction to delete
a data log file. The data log and the data records
it contains can only be deleted if it was created
with the "DataLogCreate" or "DataLogNewFile"
instruction.
"DataLogDelete_DB" is the name of the instance DB.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals