Siemens SIMATIC S5 Equipment Manual page 131

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

Advertisement

Programming Instructions
Assignment of special function for inhibit interrupt depending on direction
DW 185
Enable for interrupt direction specification
DW 186
When the current "actual position" exceeds a cam end or cam start setpoint, the module does not
generate an interrupt unless the appropriate interrupts were enabled. The interrupt is triggered
when the applicable threshold value is reached.
The "inhibit interrupt depending on direction" special function can be used to inhibit the triggering
of one interrupt for one or both direction. This function is enabled by entering a number not equal
to KH = FFFF in data word DW 185 of the user data block. When this function is enabled, the bit
pattern of data word DR 186 is transferred to the 1P module and the desired interrupt direction is
inhibited for one or both channels. The selection of the desired "interrupt direction" is shown be-
low.
Addressing the module (S5-155U)
For correct operation of the function block, the module "digital position decoder 1P 241" must be
addressed in the address range from KH = FF080 to KH = FF1 FE This corresponds to the P–
range from KH = FF080 to KH = FFOFF (byte number 128 to 255) and to the Q–range from KH =
FF1OO to KH = FFIFF (byte number O to 255).
beginning of a cold restart.
9 – 10
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Free
I
I
O 0 Enabled for both directions
O 1 Inhibited, backwards
10 Inhibited, forwards
1 1 Inhibited, both directions
@SiemensA(21989, order No.: 6ES5998-0KD21
Bit pattern for IR–direction
R 02/92

Advertisement

Table of Contents
loading

Table of Contents