Specifications

Positioning IP 240
10.15 Controlling the Digital Outputs During Positioning
You can use IP outputs D1 and D2 to
change the traversing speed or
control the direction of travel.
If there are two speeds and two directions of travel, you require two additional PLC digital
outputs to implement the additional function. These outputs must be controlled via the S5 CPU.
The IP 240 supports this with status bits and interrupts to indicate when the digital outputs have
to be set or reset. For this reason, this section is subdivided into two subsections, i.e. ”Controlling
the IP Outputs” and ”Controlling the PLC Outputs”.
10.15.1 Controlling the IP Outputs
During positioning, the IP outputs can be set and reset by the IP 240 module firmware or via the
S5 CPU over control bits.
Control bits FREI and HAND
Control bit FREI is used to enable the specified channel's IP outputs at the supraordinate level. An
IP output can be set only when FREI=1 has been transferred to the IP 240. If outputs are set and
FREI=0 is transferred, the outputs are reset.
Control bit HAND is used to specify whether the IP 240 module firmware is to control the outputs
or whether they are to be controlled via the S5 CPU over control bits.
Hand=0 The outputs are to be controlled by the module firmware in dependence on the actual
value.
Hand=1 The outputs are to be controlled on the basis of control bits DA1S and DA2S.
Control of the IP outputs by the module firmware (Hand=0)
When Hand=0, the IP 240 controls setting, switching and resetting of the IP outputs. You can
initialize the DAV parameter when you structure the channel to define the purpose for which the
outputs are to be used. The table below shows the three possible initialization values for the DAV
parameter and what these values mean.
IP output D2
IP output D1
IP controls the speed
DAV=0 DAV=1
IP controls the direction
DAV=2
Rapid
traverse
Creep
speed
Rapid
traverse
Creep
speed
Positive
direction
Negative
direction
• Output active
Control bits for firmware control of the IP outputs
AMSK ZYSY SOSY HASY DA2S DA1S HAND FREI
0/10000001
10-54
EWA 4NEB 811 6120-02a