Siemens SIMATIC S5 Equipment Manual page 169

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.3 Assignment of the Inputs and Outputs
The program is designed in a way that allows easy adaptation to different input and output assign-
The program blocks PB 11, PB 12, PB 13, FB 11 and FB 12 contain the test program and
ments.
work with flags only. The inputs and outputs to be used are allocated to these flags in organization
blocks (OB 1, OB2, OB20, OB21, and OB22). Intheexamplethey are inputword IW4and output
word QW4and in case oftheS5–115U, inputword iW4and output word QW8. The output Q5.7 (
Read actual value channel 1
14.0
Read initial setpoint track 4
14.1
AW
Read end setpoint track 4
14.2
EW
14.3
Software-based synchronizing channel 1
14.4
AE
Modify setpoints for track 4
14.5
Is
Inhibit interrupt
Iv
Inhibit interrupt for supplying the module with new setpoints
14.6
Read zero shift, channel 1
14.7
15.0
N2
Read zero shift, channel 2
15.1
PR
Activate "verify-read" special function
15.2
MB
Activate "calculate average value" special function
15.3
Inhibit interrupt depending on direction
RV
15.4
15.5
15.6
"O": indirect parameterization (FB 158), "1": direct parameterization (FB 157)
Reset alarm output Q5.7
15.7
Parameter PAFE (FB 156 in start-up)
Parameter SPFE (FB 156 in start-up)
Parameter PAFE (FB 157 or FB 158 in interrupt program)
Parameter SPFE (FB 157 or FB 158 in interrupt program)
Group signal parameter PAFE (FB 157 or FB 158 in cyclic program)
Group signal parameter SPFE (FB 157 or FB 158 in cyclic program)
Channel 1 synchronized
Interrupt output (has signal status"1" after an interrupt)
9 – 48
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
@SiemensA(31989, Order
No.:
R 02/92

Advertisement

Table of Contents
loading

Table of Contents