Instructions
11.1 S7-1500 Motion Control V2
S7-1500 Motion Control V13 Update 3
Function Manual, 07/2014, A5E03879256-AC
241
Parameters
The following table shows the parameters of the "MC_Home" Motion Control instruction:
Parameter
Declaration Data type
Default value Description
Axis
InOut
TO_Axis
-
Technology object
Execute
INPUT
BOOL
FALSE
Start of the job with a positive edge
Position
INPUT
LREAL
0.0
The specified value is used according to the selected
"Mode".
Mode
INPUT
INT
0
Operating mode
0
Direct homing (absolute)
The current position of the technology ob-
ject is set to the value of parameter
"Position".
1
Direct homing (relative)
The current position of the technology ob-
ject is shifted by the value of parameter
"Position".
2
Passive homing
(without reset)
Functions like "Mode" 8, with the difference
that the "homed" status is not reset when
the function is enabled.
3
Active homing
The TO positioning axis/synchronous axis
performs a homing movement according to
the configuration.
After the completion of the movement, the
axis is positioned at the value of the
"Position" parameter.
4
Reserved
5
Active homing
("Position" parameter has no effect)
The TO positioning axis/synchronous axis
performs a homing movement according to
the configuration.
After completion of the movement, the axis
is positioned at the home position config-
ured under "Technology object > Configura-
tion > Extended parameters > Homing >
Active homing".
(<TO>.Homing.HomePosition)
6
Absolute encoder adjustment (relative)
The current position is shifted by the value
of the parameter "Position".
The calculated absolute value offset is
stored retentively in the CPU.
(<TO>.StatusSensor[n].
AbsEncoderOffset)