Table of contents
8.2.4.8
8.3
8.3.1
8.3.2
8.3.3
8.3.4
8.3.5
8.3.6
8.4
Interrupts ................................................................................................................................... 331
8.4.1
8.4.2
Cyclic interrupts ......................................................................................................................... 334
8.4.2.1
8.4.2.2
8.4.3
Time of day interrupts ............................................................................................................... 337
8.4.3.1
8.4.3.2
8.4.3.3
8.4.3.4
8.4.4
Time delay interrupts ................................................................................................................. 342
8.4.5
8.5
8.5.1
Diagnostic instructions .............................................................................................................. 345
8.5.2
8.5.3
8.5.4
DeviceStates instruction ............................................................................................................ 347
8.5.4.1
8.5.5
ModuleStates instruction ........................................................................................................... 353
8.5.5.1
8.5.6
8.6
Pulse ......................................................................................................................................... 364
8.6.1
8.6.2
8.6.3
8.7
Recipes and Data logs .............................................................................................................. 369
8.7.1
Recipes ..................................................................................................................................... 369
8.7.1.1
Recipe overview ........................................................................................................................ 369
8.7.1.2
Recipe DB example .................................................................................................................. 370
8.7.1.3
8.7.1.4
Recipe example program .......................................................................................................... 378
8.7.2
Data logs ................................................................................................................................... 380
8.7.2.1
Data log record structure ........................................................................................................... 381
8.7.2.2
8.7.2.3
Working with data logs .............................................................................................................. 392
8.7.2.4
8.7.2.5
Data log example program ........................................................................................................ 396
8.8
Data block control ..................................................................................................................... 401
8.8.1
8.9
Address handling ...................................................................................................................... 404
12
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG