beautypg.com

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

Page 338

background image

7. Description of the commands

7−72

Festo P.BE−SPC200−EN en 0901d

M12

Axis stop

1)

ć permitted in operating modes: Start/Stop

Nn M12 X [Y, Z, U]

Effect

Command M12 stops all addressed axes. Active positioning commands (G00, G01,
G02, M10) or the output of valve positioning values (M39) of these axes will be
discontinued. Any nominal positions will be lost.
Ĉ With pneumatic drives: The current actual positions will be accepted as new

positions. Depending on the current speed of the drive there may be overswing.

Ĉ With stepping motor axes: The axes stop as soon as possible (braking ramp with

the configured maximum acceleration). The actual positions at the end of the
stop will be accepted as new positions.

Command M12 also causes the following:
Ĉ With active nominal value specification via analogue input or field bus (digital

nominal value specifcation

2)Ă

):

The relevant nominal value inputs ć analogue or digital ć will be deactivated.

Ĉ With active output of the valve positioning value (M39):

1)

The output of the valve positioning value will be deactivated, the actual position
will become the nominal position and the controller will be activated.

Ĉ A preselect value defined with G25 will be deleted and further record switching

(G25) will have no effect.

1)

When the axes stop, the relevant output MC_A or MC_B (motion complete) will be
set and the next NC record processed.

Example

Example see under M10

Remark

With modes 0 and 1 (see command M13) of the nominal value specification, the
relevant nominal value input must be deactivated with M12 before it can be
activated again with M10.
Note that the constant repetition of the axis stop command (M12) (eg. in a program
loop) can cause the drive to drift (see following instructions).
In monitoring programs command M12 can also be used for stopping axes which
hsve been reserved by another task (see also chapter 7.1.1).

1)

This function is only effective as from operating system version 4.6.

2)

This syntax is only available as from operating system version 4.82. It is not supported by the
control panel.