Siemens SIMATIC S5 Equipment Manual page 175

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

Advertisement

Programming Instructions
Direct parameterization (PB 11)
FD 134
KH – 00000225
FW 132
KM – 0000000000010000
FD 138
KH – 00000200
KH – 00000300
FD 142
Indirect parameterization (FB 11)
The information about the actual value or the setpoints can be read in data double word DD 3 of
working data block DB 158. Their contents are identical to those of direct parameterization. In con-
trast, the track identifier bits are located in data word DW 5 of the same data block.
The programmer can now be used to specify new setpoints for track 4. For example:
DB 156
DW 30
KH – 0000
KH – 00000250
KH – 00000350
After the values in user data block DB 156 are changed with the "control variable" PG function and
the status display is activated, the setpoints in the flag double words (direct parameterization) or in
the data words of working data block DB 158 (indirect parameterization) still show the old values.
The setpoints are transferred to the module only when input 14.4 is activated.
If, as shown above, the actual value is between the old initial value (200) and the new initial value
(250), no track identifier bit is set after the parameterization:
Direct parameterization (PB 11)
FD 134
KH – 00000225
FW 132
KM – 0000000000000000
FD 138
KH – 00000250
FD 142
KH – 00000350
Indirect parameterization (FB 11)
The desired information can also be obtained here, as described above, from data double word
If positive pulses are acquired, starting with value 250, track identifier bit 4 is set. Starting with value
300, two track identifier bits (bit 4 and bit 5) have the signal status"1". Above value 350, only bit 5 is
left.
9 – 54
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
(Actual value)
(Track identifier bit 4 set)
(Initial setpoint track 4)
(End setpoint track 4)
(User data block)
(Interrupt preelection)
(Initial setpoint)
(End setpoint)
(Actual value)
(Track identifier bit 4 not set)
(Initial setpoint track 4)
(End setpoint track 4)
R 02/92

Advertisement

Table of Contents
loading

Table of Contents