Specifications

Functional Description IP 240
6.1.2 Digital Outputs
The digital outputs on the module can be used for direct driving of actuators and displays for
particular process states (actual values).
The digital outputs can be set to a predefined state by the user program. This takes place at a
higher level than when the outputs are set as a function of the actual value.
Position decoding
For positon decoding, two outputs are available per channel; these can be assigned to tracks
when the channels are initialized. If the actual value enters one of these tracks, the corresponding
output is energized. The outputs are deenergized when the value exits the track.
Counting
In the counting mode, output D 1 of each channel can be set when the count reaches ”0”.
IP 252 expansion
No digital outputs are available.
Positioning
In positioning mode, two outputs are available per channel. Depending on configuring, the out-
puts
are set for controlling the direction of travel or the speed. The outputs are reset when the spe-
cified cutoff points are reached.
6.1.3 Interrupt generation
The IP 240 can relay certain events directly to the S5 CPU by generating an interrupt request.
Similarly to setting the outputs, a process interrupt can be made dependent on the actual value.
An interrupt request can also be generated by status signals.
Status signals with interrupt capability
In the position decoding and positioning mode, the following status signals have interrupt capa-
bility:
Overrange
Error in zero mark monitoring
Wirebreak/short-circuit in the set encoder lines for encoders with symmetrical signals
In the counting mode, a range violation is an interrupt- capable status signal.
Interrupts cannot be generated in IP 252 expansion mode.
Interrupt request
An interrupt request remains pending until the CPU confirms the request by reading the interrupt
request bytes. This usually takes place in the relevant interrupt OB.
6.1.4 LEDs
The module has four green status and three red fault LEDs ( Section 2.3).
States of the digital outputs (green LEDs)
Each green LED indicates the state of a digital output. When an output is energized, the corres-
ponding LED lights up.
6-2
EWA 4NEB 811 6120-02a