102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
347
Parameter and type
Data type
Description
StopMode
IN
Int
0: Emergency stop - If a request to disable the axis is pending, the
axis brakes at the configured emergency deceleration. The axis is
disabled after reaching standstill.
1: Immediate stop - If a request to disable the axis is pending, this
axis is disabled without deceleration. Pulse output is stopped
immediately.
Status
OUT
Bool
Status of axis enable:
FALSE: The axis is disabled.
–
The axis does not execute motion control tasks and does not
accept any new tasks (exception: MC_Reset task).
–
The axis is not homed.
–
Upon disabling, the status does not change to FALSE until the
axis reaches a standstill.
TRUE: The axis is enabled.
–
The axis is ready to execute motion control tasks.
–
Upon axis enabling, the status does not change to TRUE until
the signal "Drive ready" is pending. If the "Drive ready" drive
interface was not configured in the axis configuration, the status
changes to TRUE immediately.
Busy
OUT
Bool
False: MC_Power is not active.
TRUE: MC Power is active.
Error
OUT
Bool
FALSE: No error
TRUE: An error has occurred in motion control instruction "MC_Power"
or in the associated technology object. The cause of the error can be
found in parameters "ErrorID" and "ErrorInfo".
ErrorID
OUT
Word
Error ID for parameter "Error""
ErrorInfo
OUT
Word
Error info ID for parameter "ErrorID"