High-Speed Counter and Pulse Output 
 
FPΣ User's Manual 
122 
 
EXAMPLE
 
With a current position of 5000 and a target value of +1000, 4000 pulses are output 
from CCW to reach the new position at 1000. 
The following outputs are TRUE or FALSE depending on the selected pulse output method 
and position control mode: 
Target value 
Pulse output method 
Pulse 
output 
Positive value/ 
> current value 
Negative value/ 
< current value 
CW TRUE  FALSE 
CW/CCW 
CCW FALSE  TRUE 
Pulse TRUE  TRUE 
Forward FALSE 
Direction FALSE  TRUE 
Pulse TRUE  TRUE 
Pulse/direction 
Forward TRUE 
Direction TRUE  FALSE 
Count mode  Incremental counting  Decremental counting 
Home return 
After a drive system has been switched on, there is a difference between the internal position 
value (elapsed value) and the mechanical position of the axis; this difference cannot be 
predetermined. The internal value must be synchronized with the actual position value of the 
axis. This is done by means of a home return, during which a position value is registered at a 
known reference point (home). 
During execution of a home return instruction, pulses are continuously output until the home 
input is enabled. The I/O allocation is determined by the channel used. See "
I/O Allocation" on 
page 
123. 
To decelerate movement when near the home position, designate a near home input and set 
bit 4 of the special data register storing the pulse output control code 
(sys_wHscOrPulseControlCode) to TRUE and back to FALSE again. 
The deviation counter clear output can be set to TRUE when home return has been 
completed. 
JOG operation 
Pulses are output from the specified channel while the trigger for the F172_PulseOutput_Jog 
instruction is TRUE. Direction output and output frequency are specified with this instruction.