EasyManua.ls Logo

Siemens S7-1200 - Mc_Home (Home 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
460 System Manual, 03/2014, A5E02486680-AG
9.3.5.4
MC_Home (Home axis) instruction
Table 9- 32 MC_Home instruction
LAD / FBD
SCL
Description
"MC_Home_DB"(
Axis:=_multi_fb_in_,
Execute:=_bool_in_,
Position:=_real_in_,
Mode:=_int_in_,
Done=>_bool_out_,
Busy=>_bool_out_,
CommandAborted=>_bool_out_,
Error=>_bool_out_,
ErrorID=>_word_out_,
ErrorInfo=>_word_out_);
Use the MC_Home instruction to match
the axis coordinates to the real, physical
drive position. Homing is required for
absolute positioning of the axis:
In order to use the MC_Home instruction,
the axis must first be enabled.
1
STEP 7 automatically creates the DB when you insert the instruction.
2
In the SCL example, "MC_Home_DB" is the name of the instance DB.
The following types of homing are available:
Direct homing absolute (Mode = 0): The current axis position is set to the value of
parameter "Position".
Direct homing relative (Mode = 1): The current axis position is offset by the value of
parameter "Position".
Passive homing (Mode = 2): During passive homing, the MC_Home instruction does not
carry out any homing motion. The traversing motion required for this step must be
implemented by the user via other motion control instructions. When the reference point
switch is detected, the axis is homed.
Active homing (Mode = 3): The homing procedure is executed automatically.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals