EasyManua.ls Logo

Siemens S7-1200 - Mc_Power (Release;Block Axis) Instruction

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Technology instructions
9.3 Motion control
S7-1200 Programmable controller
456 System Manual, 03/2014, A5E02486680-AG
9.3.5.2
MC_Power (Release/block axis) instruction
Note
If the axis is switched off due to an error, it will be enabled again automatically after the error
has been eliminated and acknowledged. This requires that the Ena
ble input parameter has
retained the value TRUE during this process.
Table 9- 28 MC_Power instruction
LAD / FBD
SCL
Description
"MC_Power_DB"(
Axis:=_multi_fb_in_,
Enable:=_bool_in_,
StopMode:=_int_in_,
Status=>_bool_out_,
Busy=>_bool_out_,
Error=>_bool_out_,
ErrorID=>_word_out_,
ErrorInfo=>_word_out_);
The MC_Power motion control instruction enables
or disables an axis. Before you can enable or
disable the axis, ensure the following conditions:
The technology object has been configured
correctly.
There is no pending enable-inhibiting error.
The execution of MC_Power cannot be aborted by
a motion control task. Disabling the axis (input
parameter Enable = FALSE) aborts all motion
control tasks for the associated technology object.
1
STEP 7 automatically creates the DB when you insert the instruction.
2
In the SCL example, "MC_Power_DB" is the name of the instance DB.
Table 9- 29 Parameters for the MC_Power instruction
Parameter and type
Data type
Description
Axis
IN
TO_Axis_1
Axis technology object
Enable IN Bool
FALSE (default): All active tasks are aborted according to the
parameterized "StopMode" and the axis is stopped.
TRUE: Motion Control attempts to enable the axis.
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.
2: Emergency stop with jerk control: If a request to disable the axis is
pending, the axis brakes at the configured emergency stop
deceleration. If the jerk control is activated, the configured jerk is
taken into account. The axis is disabled after reaching standstill.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals