Relevant variables/FB
Variable/Structure name
AxisName.Md
Homing_Status
Homing_Request
Homing_Complete
MC_Home
Item
Description
Function overview
Executes homing of the specified axis.
Symbol
[Structured Ladder]
Applicable hardware and
RD78G(H) (Structured Text)
software (Language)
Number of input area points
(byte)
188
■I/O variable
Input import: : Only at start
Name
Variable name
Axis information
Axis
■Input variables
Import : At start
Name
Variable name
Execute
Execute
command
Target position
Position
Home position
AbsSwitch
switch
Options
Options
Name
Homing operation status
Homing request
Homing completed
MC_Home
DUT : Axis
B : Execute
L : Position
DUT : AbsSwitch
UD : Options
Number of output area points
(byte)
8
Data type
Input
Setting range
import
AXIS_ REF
Data type
Import
Setting range
BOOL
LREAL
Page 67
Positioning
Range
MC_INPUT_REF
DWORD(HEX)
0
Details
Stores the homing status of the driver.
Turns TRUE when homing is required and turns FALSE when it is
completed.
For details, refer to the following.
Page 166 Homing Request
Turns TRUE when homing is normally completed, and it turns FALSE when
operation starts.
Axis : DUT
Done : B
Busy : B
Active : B
CommandAborted : B
Error : B
ErrorID : UW
Compiling method
Subroutine type
Default
Description
value
Page 568 Axis variables
Default
Description
value
FALSE
When TRUE, it executes the FB.
0
Sets the home position address.
Sets the proximity dog signal that is transmitted to
the slave device in the driver homing method.
Page 356 External Signal Selection
Only "HighLevel" or "LowLevel" can be selected
for Detection (Signal detection method).
Only "0" can be specified for CompensationTime
(Compensation time [s]).
"0.0 to 5.0" can be specified for FilterTime (Filter
time [s]).
If the setting value is not within the valid range, an
error will occur.
0
Set "0". (If a value other than "0" is set, an error
will occur.)
FB operation type
Real-time execution
5 HOMING
165
5.1 Outline
5