Cyclicoperation - Siemens SIMATIC S5 Equipment Manual

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

Advertisement

Programming Instructions
9.5.5 Cyclic Operation
During cyclic operation, input 15.6 in the organization block can be used to choose between indi-
rect parameterization (15.6 = "O") and direct parameterization (15.6 ="1 "). Function block FB 11 is
called for indirect parameterization and program block PB 11 for direct parameterization.
The "parameterization error" bit in the '
correctly when function block FB 157 is called. The same applies when working data block DB 158
is supplied with incorrect entries before function block FB 158 is called. In both cases, this parame-
Direct parameterization (PB 11)
A bit in flag byte FY 17 or FY 35 with signal status"1" indicates the call during which the error oc-
curred (see program block PB 11). The detected error can then be read by the assignment of the
applicable flag bytes (FY 20 to FY 31).
The SP bit errors occurring during the cycle are imaged in flag bytes FY 16 and FY 34 (SPFE para-
meter). Output Q 4.7 (Q 8.7) is set as the group signal when an error occurs here.
Indirect parameterization (FB 11)
When a parameterization error occurs, the cause of the error can be read in flag byte FY 20 (image
of flag byte FY 255).
An SP bit error can be recognized by the set output Q 4.7/Q 4.8 in flag bit F 20.0 which has signal
status"1".
5 0
9 –
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
(
PAFE" parameter is set if the parameters are modified in-
R 02/92

Advertisement

Table of Contents
loading

Table of Contents