Siemens SIMATIC S5 Equipment Manual page 179

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

Advertisement

Programming instructions
Indirect parameterization (FB 12)
KH = 00000572
KM = 0000000000000000
KH = 00000250
KH = 00000350
The actual value, initial cam value and end cam value cannot be output simultaneously when indi-
rect parameterization is used.
KH = 0001
DW 30
KH = 00000250
KH = 00000350
During parameterization an interrupt can be triggered, depending on the position of the actual
value. If this occurs, the output Q 5.7/Q 9.7 is set. Via input 15.7, the output Q 5 .7/Q 9.7 can be
reset.
When (in the example) the actual value reaches the end cam value for track 4, an interrupt is trig-
gered. This occurs independently from the direction from which the actual value approaches
when no interrupt direction is inhibited with the "inhibit interrupt depending on direction" special
function.
It is also possible to supply both setpoints with interrupt identifiers. Then, whenever the actual
value enters or leaves track 4, an interrupt is triggered. The screen display then appears as fol-
lows:
Direct parameterization (PB 12)
FD 134
KH – 00000311
KM – 0000000000110000
FW 132
FD 138
KH – 00400250
KH – 00400350
FD 142
Indirect parameterization (FB 12)
KH = 00000311
DW 5
KM = 0000000000110000
KH = 00000250
KH = 00000350
The actual value, initial cam value and end cam value cannot be output simultaneously when indi-
rect parameterization is used.
DW 30
KH – 0101
KH – 00000250
KH – 00000350
In accordance with the above example, all functions and all operating modes of the digital position
decoder IP 241 can be tested by specific entries into data block DB 156.
9 – 58
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
(Working data block)
(Actual value)
(Track identifier bits)
(Initial setpoint track 4)
(End setpoint track 4)
(User data)
(Interrupt preelection)
(Initial setpoint)
(End setpoint)
(Actual value)
(Track identifier bits)
(Initial setpoint track 4)
(End setpoint track 4)
(Working data block)
(Actual value)
(Track identifier bits)
(Initial setpoint track 4)
(End setpoint track 4)
(User data block)
(Interrupt preelection)
(Initial setpoint)
(End setpoint)

Advertisement

Table of Contents
loading

Table of Contents