Festo Кабели и принадлежности User Manual
Page 346

7. Description of the commands
7−80
Festo P.BE−SPC200−EN en 0901d
M40
Set stroke limit value
1)
ć pneumatic axis; ć permitted in operating mode: Start/Stop
Nn M40 X<Tolerance> [Y.., Z.., U..]
<Limit
value>
n
1)
Stroke limit value in [mm] or [°];
0
Z Stroke limit value isswitched off
permitted: 0
Ţ Limit value Ţ stroke length or angle
n =
0 ... 9999.99
@n
1)
Stroke limit value in [mm] or [°] saved in the position
register @n
n = 0 ... 99
Effect
If the drive exceeds the defined stroke limit value when command M39 is accessed
(in positive or negative direction), M39 will be deactivated, an appropriate fault will
be shown and the axis will be stopped (controlled stop).
If 0 is specified as the stroke limit value, the drive can move freely between the
software end positions.
In the case of drives with an incremental measuring system (e.g. B. DNCI−...)
without reference travel carried out, the axis can move freely without limits.
Please note
When the stroke limit value (e.g. M40 X0) is switched off, the monitoring of the
speed limit value (M41) will also be switched off.
Example
See M39
Remark
This command has a saving effect. It remains effective until a new stroke limit value
is defined.
1)
This syntax is only available as from operating system version 4.6. Programs which contain this
syntax cannot be edited with control panel type SPC200−MMI−1... .