101BExtended instructions
8.7 Data logging
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
295
Memory resource usage:
●
The data logs consume only load memory.
●
There is no set limit for the total number of data logs. The size of all data logs combined
is limited by the available resources of load memory. Only eight data logs may be open at
one time.
●
The maximum possible number for the RECORDS parameter is the limit for an UDint
number (4,294,967,295). The actual limit for the RECORD parameter depends on the
size of a single record, the size of other data logs, and the available resources of load
memory. In addition, Microsoft Excel limits the number of rows allowed in an Excel sheet.
Note
A DataLogCreate operation extends over many program scan cycles. The actual time
required for the log file creation depends on the record structure and number of records.
Your program logic must monitor and catch the DataLogCreate DONE bit's transition to
the TRUE state, before the new data log can be used for other data log operations.
Table 8- 124 Values of ERROR and STATUS
ERROR
STATUS (W#16#....)
Description
0
0000
No error
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
8070
All internal instance memory is in use.
1
807F
Internal error
1
8090
Invalid file name
1
8091
Name parameter is not a String reference.
1
8093
Data log already exists.
1
8097
Requested file length exceeds file system maximum.
1
80B3
Insufficient load memory available.
1
80B4
MC (Memory Cartridge) is write protected.
1
80C1
Too many open files: No more than eight opened data log files are allowed.
1
8253
Invalid record count
1
8353
Invalid format selection
1
8453
Invalid timestamp selection
1
8B24
Invalid HEADER area assignment: For example, pointing to local memory
1
8B51
Invalid HEADER parameter data type
1
8B52
Too many HEADER parameter data elements
1
8C24
Invalid DATA area assignment: For example, pointing to local memory
1
8C51
Invalid DATA parameter data type
1
8C52
Too many DATA parameter data elements