Technical data

Appendix
27.6 Sample Programs
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 661
OB80 Code Section
Enter the following STL user program in the code section of OB80 that is called by the operating
system if a time error occurs:
STL (OB80) Explanation
Network 1
AN Q 4.1
S Q 4.1
CALL SFC 20
SRCBLK := #STARTINFO
RET_VAL := MW 210
DSTBLK := P#M 110.0 Byte 20
Set output Q 4.1 if time error occurred.
Block transfer: save entire start event
information to memory area MB110 to MB129.