101BExtended instructions
8.7 Data logging
S7-1200 Programmable controller
306
System Manual, 11/2011, A5E02486680-05
Example Data log program
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.
Network 1 REQ rising edge starts the data log creation process.
Network 2 Capture the DONE output from DataLogCreate because it is only valid for one
scan.