116
Operation Theory
4.4 Counters
There are four counters for each card axis:
X
Command position counter
: counts the number of output
pulses
X
Feedback position counter
: counts the number of input
pulses
X
Position error counter
: counts the error between com-
mand and feedback pulse numbers.
X
General purpose counter
: The source can be configured
as pulse output, feedback pulse, manual pulser, or CLK/2.
X
Target position recorder
, a software-maintained target
position recorder, is discussed.
4.4.1 Command position counter
The command position counter is a 28-bit binary up/down counter.
its input source is the output pulse from the 8164, thus, it provides
accurate information of the current position. Note: the command
position is different from target position. The command position
increases or decreases according to the pulse output, while the
target position changes only when a new motion command has
been executed. The target position is recorded by the software,
and needs manually resetting after a home move is completed.
The command position counter will clear (reset to “0”) automati-
cally after a home move has completed. The function
_8164_set_command()
can be executed at any time to set a
new command position value. To read current command position
use
_8164_get_command()
.
Related functions:
X
_8164_set_command(), _8164_get_command(): Refer to
section 6.15
Summary of Contents for MPC-8164
Page 4: ......
Page 12: ......
Page 14: ...2 Introduction Figure 1 1 PCI 8164 block diagram ...
Page 50: ...38 Installation ...
Page 70: ...58 Signal Connections ...
Page 74: ...62 Signal Connections 3 17 1 Isolated input channels 3 17 2 Isolated output channels ...
Page 75: ...Signal Connections 63 3 17 3 Example of input connection ...
Page 76: ...64 Signal Connections 3 17 4 Example of output connections ...
Page 109: ...Operation Theory 97 ...
Page 110: ...98 Operation Theory ...
Page 111: ...Operation Theory 99 ...
Page 112: ...100 Operation Theory ...
Page 113: ...Operation Theory 101 ...
Page 148: ...136 Operation Theory Users can use this function to check if auto trigger is running Results ...
Page 280: ...268 Connection Example Figure 7 2 Connection of PCI 8164 with Panasonic Driver ...
Page 287: ...Connection Example 275 7 3 3 Mechanical Dimensions ...
Page 297: ...Connection Example 285 7 5 2 Mechanical Dimensions ...
Page 300: ...288 Connection Example 7 6 Wiring with DIN 814M J3A ...
Page 304: ...292 Connection Example 7 7 Wiring with DIN 814Y ...
Page 308: ...296 ...