Siemens SIMATIC S5 Equipment Manual page 39

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 for the Recommended Interrupt Evaluation in the Cyclic
Program and in the interrupt–OBs:
Program in 062:
: JU FB 157
Name
: Per:WST
: KSKB
:
w
KB
:
ST
FY 191*
: O F 190.0**
: O F 191.0
: IC FB)o(
: O F 190.1 **
: O F 191.1
:
: L KBO ***
: T FY 190
: BE
For operation with several modules which output interrupts, different flag bytes must be used
here,
scanned in the interrupt OB accordingly
and reset.
At parameter ST Bit O, the interrupt of channel 1 is output.
At parameter ST Bit 1, the interrupt of channel 2 is output.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Program in 061:
: JU FB 157
Name
: Per:WST
: KS)()(
w
KB
: FY 190'
ST
: O F 190.0
: IC FBxx
: O F 190.1
: IC FByy
Operating Instructions
2 – 5

Advertisement

Table of Contents
loading

Table of Contents