EasyManua.ls Logo

Siemens S7-1200 - Mc_Moveabsolute (Position Axis Absolutely) 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
464 System Manual, 03/2014, A5E02486680-AG
Override response
The MC_Halt task can be aborted by the
following motion control tasks:
MC_Home Mode = 3
MC_Halt
MC_MoveAbsolute
MC_MoveRelative
MC_MoveVelocity
MC_MoveJog
The new MC_Halt task aborts the following
active motion control tasks:
MC_Home Mode = 3
MC_Halt
MC_MoveAbsolute
MC_MoveRelative
MC_MoveVelocity
MC_MoveJog
9.3.5.6
MC_MoveAbsolute (Position axis absolutely) instruction
Table 9- 37 MC_MoveAbsolute instruction
LAD / FBD
SCL
Description
"MC_MoveAbsolute_DB"(
Axis:=_multi_fb_in_,
Execute:=_bool_in_,
Position:=_real_in_,
Velocity:=_real_in_,
Done=>_bool_out_,
Busy=>_bool_out_,
CommandAborted=>_bool_out_,
Error=>_bool_out_,
ErrorID=>_word_out_,
ErrorInfo=>_word_out_);
Use the MC_MoveAbsolute
instruction to start a positioning
motion of the axis to an absolute
position.
In order to use the
MC_MoveAbsolute instruction, the
axis must first be enabled and also
must be homed.
1
STEP 7 automatically creates the DB when you insert the instruction.
2
In the SCL example, "MC_MoveAbsolute_DB" is the name of the instance DB.
Table 9- 38 Parameters for the MC_MoveAbsolute instruction
Parameter and type
Data type
Description
Axis
IN
TO_Axis_1
Axis technology object
Execute IN Bool Start of the task with a positive edge (Default value: False)
Position IN Real Absolute target position (Default value: 0.0)
Limit values: -1.0e
12
Position 1.0e
12
Velocity IN Real Velocity of axis (Default value: 10.0)
This velocity is not always reached because of the configured
acceleration and deceleration and the target position to be
approached.
Limit values: Start/stop velocity Velocity maximum velocity
Done
OUT
Bool
TRUE = Absolute target position reached
Busy
OUT
Bool
TRUE = The task is being executed.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals