Hide thumbs Also See for S7-1200:
Table of Contents
Table 9- 33
Parameters for the MC_Home instruction
Parameter and type
Axis
Execute
Position
Mode
Done
Busy
CommandAborted
Error
ErrorID
ErrorInfo
Note
Axis homing is lost under the following conditions
• Disabling of axis by the MC_Power instruction
• Switchover between automatic control and manual control
• Upon start of active homing (After successful completion of the homing operation, axis
• After power-cycling the CPU
• After CPU restart (RUN-to-STOP or STOP-to-RUN)
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Data type
IN
TO_Axis_PTO
IN
Bool
IN
Real
IN
Int
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Word
OUT
Word
homing is available again.)
Description
Axis technology object
Start of the task with a positive edge
Mode = 0, 2, and 3 (Absolute position of axis after
completion of the homing operation)
Mode = 1 (Correction value for the current axis position)
Limit values: -1.0e
≤ Position ≤ 1.0e
12
Homing mode
0: Direct homing absolute
New axis position is the position value of parameter
"Position".
1: Direct homing relative
New axis position is the current axis position + position
value of parameter "Position".
2: Passive homing
Homing according to the axis configuration. Following
homing, the value of parameter "Position" is set as the
new axis position.
3: Active homing
Reference point approach in accordance with the axis
configuration. Following homing, the value of parameter
"Position" is set as the new axis position.
TRUE = Task completed
TRUE = The task is being executed.
TRUE = During execution the task was aborted by another
task.
TRUE = An error has occurred during execution of the task.
The cause of the error can be found in parameters "ErrorID"
and "ErrorInfo".
Error ID for parameter "Error""
Error info ID for parameter "ErrorID"
Technology instructions
9.3 Motion control
12
461
Table of Contents
loading

Table of Contents