Sequence Of A Reference Point Approach; Approaching The Starting Point; Approaching The Reference Point - Siemens Simatic S5 IP 240 Manual

Counter/positioning/position decoder module
Hide thumbs Also See for Simatic S5 IP 240:
Table of Contents

Advertisement

Positioning
If you configured the channel with DAV=2 (the IP controls the direction of travel during
positioning) and want to pass control of the channel's outputs to the module firmware
(HAND = 0) during reference point approach, you must specify the direction of travel for
reference point approach via DA1S and DA2S.
In the following flow diagrams, it has been assumed that the IP outputs will be controlled by the
module firmware following selection of reference point approach, and that they have been
enabled. For this purpose, the control bits must be transferred to the IP as follows.
AMSK
ZYSY
0/1
0

Sequence of a reference point approach

Approaching the starting point

As the current position is not known following "power-up", it is necessary to first approach a
starting position. All outputs for drive control must be initialized via the S5 CPU. The IP outputs
must be controlled via the bits HAND=1, FREI=1 and DAnS (n=1 or 2).

Approaching the reference point

1) Check to make sure that the IP outputs are disabled.
You can select a reference point approach only when the IP outputs are disabled.
You can check the state of the outputs by reading the status area and evaluating bits DA1 and
DA2 ( Section 10.16).
To disable the outputs, FREI must be transferred with "0" to the IP 240.
2) Select reference point approach, specify the direction of travel and enable the IP outputs.
Set HASY to "1" to select reference point approach.
a)
If the IP outputs are to be controlled via the S5 CPU (HAND=1), the HASY bit must first
be transferred to the IP 240 without enabling the outputs.
AMSK
ZYSY
0/1
0
FREI must then be set to "1".
AMSK
ZYSY
0/1
0
10-40
SOSY
HASY
0
1
SOSY
HASY
0
1
SOSY
HASY
0
1
DA2S
DA1S
0/1
1/0
DA2S
DA1S
x
x
DA2S
DA1S
x
x
x) depending on the DAV parameter
IP 240
HAND
FREI
0
1
HAND
FREI
1
0
HAND
FREI
1
1
EWA 4NEB 811 6120-02a

Advertisement

Table of Contents
loading

Table of Contents