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.
Summary of Contents for FPS Series
Page 7: ......
Page 17: ......
Page 18: ...Chapter 1 Safety Measures...
Page 21: ......
Page 22: ...Chapter 2 Overview...
Page 32: ...Chapter 3 CPU Types...
Page 47: ...CPU Types FP User s Manual 30 LD Body...
Page 51: ...CPU Types FP User s Manual 34 POU Header and LD Body...
Page 55: ...CPU Types FP User s Manual 38 LD Body...
Page 57: ......
Page 58: ...Chapter 4 Expansion...
Page 73: ......
Page 74: ...Chapter 5 I O Allocation...
Page 81: ......
Page 82: ...Chapter 6 Installation and Wiring...
Page 115: ......
Page 116: ...Chapter 7 High Speed Counter and Pulse Output...
Page 169: ......
Page 170: ...Chapter 8 Communication...
Page 227: ...Communication FP User s Manual 210 LD Body ST Body...
Page 233: ...Communication FP User s Manual 216 POU Header LD Body...
Page 236: ...FP User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2...
Page 237: ...Communication FP User s Manual 220 2 2 ST Body...
Page 266: ...Chapter 9 Security Functions...
Page 273: ......
Page 274: ...Chapter 10 Other Functions...
Page 277: ......
Page 278: ...Chapter 11 Troubleshooting...
Page 289: ......
Page 290: ...Chapter 12 Appendix...