Specifications
Positioning IP 240
If it is necessary to disable the IP outputs, you can do so by transferring FREI=0 and, at the same
time, specify the new position number (thus combining steps 2 and 3).
If it is not necessary to disable the IP outputs, you can omit step 2 and transfer the new position
number together with control bits FREI=1 and HAND=0 (thus combining steps 3 and 4). In this
case, however, the module sets the outputs immediately in dependence on the actual value.
If you want to control the IP outputs over the S5 CPU, you must always initialize control bit FREI to
1 and control bit HAND to 1 every time you write the new position number.
10.14.2 Selecting Position 0
The data for position 0 is not stored on the IP 240.
To select position 0, you must transfer the new position value. The IP 240 interprets this value as
the new target position when the actual value was previously synchronized (status bit SYNC=1).
You can also select position 0 when the IP outputs are set, thus making it possible to modify the
positioning procedure currently in progress without resetting the IP outputs.
Note
Since position 0 can also be selected when the IP outputs are set, instantaneous
switching of the outputs is possible.
Together with the position value, you can also
• specify distance values for ranges BEE1 to 3
• set bit GAUE (D44/8) to indicate that the distance values stored on the IP for positions 1 to 254
are to be used. In this case, any newly specified distance values are checked, but otherwise
ignored.
Valid position data for position 0
The position value and the distance values may be assigned the following values:
Range of values for Range limits
Number format
Binary BCD
the position value for a linear axis -9,999,999 to +9,999,999 • •
the position value for a rotary axis 0 to [final value for rotary axis - 1] • •
the distance values for ranges BEE1 and
BEE2
(additional values for rotary axis)
0 to 999,999,
(but not exceeding
0,5·[final value for rotary axis])
•
the distance value for range BEE3
(additional value for rotary axis)
0 to 65,535,
(but not exceeding
0,5·[final value for rotary axis])
•
Note the following when defining the distance values:
Distance value for range BEE1 distance value for range BEE2 distance value for range BEE3
10-52
EWA 4NEB 811 6120-02a