5.3 Description of Function Codes 5.3.9 d codes (Applied functions 2) 
 
 
  d211: Homing reference signal, d212: Homing shift reference signal 
The homing reference signal is used to switching from the homing frequency to the homing creep frequency. The 
homing shift reference signal is used to start counting the homing shift. Normally, the home position LS is the homing 
reference signal, and the Z-phase signal is the homing shift reference signal (factory default). If configuring homing 
using other signals, select the homing reference signal and homing shift reference signal using the following table. 
If  other  than  Z-phase  is  selected for  d212 homing shift  reference signal, the configuration will  have no homing 
reference signal, and therefore the d211 homing reference signal will be invalid. 
d211: Homing 
reference signal 
d212: Homing shift 
reference signal 
Frequency when 
beginning homing shift 
0: Z-phase (factory 
default) 
Homing shift is started when the Z-phase is 
detected for the first time after starting at the 
creep frequency. 
1: Home position LS 
(factory default) 
Homing frequency to 
creep frequency 
Homing frequency to 
creep frequency 
Decelerates to creep frequency when 
performing reverse rotation when OT reached. 
Homing frequency to 
creep frequency 
Decelerates to creep frequency when 
performing reverse rotation when OT reached. 
Homing frequency to 
creep frequency 
A stopper collision is judged when torque 
limiting occurs, the motor immediately moves 
in the reverse rotation direction, and the 
homing shift operation is performed at the 
creep frequency. 
 
  Position clear 
Clears the current position to 0 when digital input “P-CLR” turns ON. Clearing is possible during position control or 
speed control. The timing at which the position is cleared can be selected from the ON edge or ON level. 
Terminal [X1] to [X9]   
(Function selection) 
Terminal [FWD]   
(Function selection) 
Terminal [REV] (Function selection) 
141 (1141): Position clear command "P-CLR" 
Position clear signal (P-CLR) 
operation selection 
0: Clears when edge detected 
1: Clears when level detected 
 
  Position preset 
Rewrites the current position at the d240, d241 preset position at the digital input “P-PRESET” ON edge. Presetting 
is possible during position control or speed control. 
Terminal [X1] to [X9]   
(Function selection) 
Terminal [FWD]   
(Function selection) 
Terminal [REV] (Function selection) 
142 (1142): Position preset command "P-
PRESET" 
Preset position - 4 higher order 
digits 
Preset position - 4 lower order 
digits