Siemens SIMATIC S5 Equipment Manual page 150

Digital position decoder ip 241 with fb 156/1 57 158
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

R 02/92
Example:
Program in062
– Save scratchpad flags
N A M E :PER:W#T
:
:
KSKB
:
w
:
FY 191
:
F
190.0
F
191.0
KBO
FY 190
FY 191
- Load scratchpad flags
:BE
FB xx – Customer–specific interrupt program for channel 1
FB yy – Customer–specific interrupt program for channel 2
After the control bits in the interrupt–controlled program have been evaluated, they must be reset,
as otherwise the interrupt programs (FBxx and FByy) could be processed again in the cyclic pro-
gram.
Saving and loading scratchpad flags
255) and the assigned system data is absolutely necessaty when flags from the mentioned area
are used in these blocks.
Saving and loading must take place in a different data area from the one for process interrupts.
The same applies to an automatic or manual restart. This is not required forS5–115U or in the
event of faulty 06s.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Programming Instructions
Program in 061
:PER:WST
NAME
KY
KSxx
w
FY 190
F 190.0
F 190.1
9 – 29

Advertisement

Table of Contents
loading

Table of Contents