Extended instructions
8.7 Recipes and Data logs
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
397
Example data log names, header text, and the MyData structure are created in a data block.
The three MyData variables temporarily store new sample values. The process sample
values at these DB locations are transferred to a data log file by executing the DataLogWrite
instruction.
REQ rising edge starts the data log creation process.
Capture the DONE output from DataLogCreate because it is only valid for one
scan.