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
Содержание MPC-8164
Страница 4: ......
Страница 10: ...vi List of Tables List of Tables Table 2 1 GEME hardware configuration 22 Table 2 2 Base Addresses 22 ...
Страница 12: ......
Страница 14: ...2 Introduction Figure 1 1 PCI 8164 block diagram ...
Страница 50: ...38 Installation ...
Страница 57: ...Signal Connections 45 For more operation information on the encoder feedback signals refer to section 4 4 ...
Страница 70: ...58 Signal Connections ...
Страница 74: ...62 Signal Connections 3 17 1 Isolated input channels 3 17 2 Isolated output channels ...
Страница 75: ...Signal Connections 63 3 17 3 Example of input connection ...
Страница 76: ...64 Signal Connections 3 17 4 Example of output connections ...
Страница 109: ...Operation Theory 97 ...
Страница 110: ...98 Operation Theory ...
Страница 111: ...Operation Theory 99 ...
Страница 112: ...100 Operation Theory ...
Страница 113: ...Operation Theory 101 ...
Страница 148: ...136 Operation Theory Users can use this function to check if auto trigger is running Results ...
Страница 190: ...178 Function Library Return Code ERR_NoError ERR_NoCardFound ERR_PCIBiosNotExist ERR_ConigFileOpenError ...
Страница 193: ...Function Library 181 Src Counter source Return Code ERR_NoError Value Meaning 0 External Feedback 1 Command pulse ...
Страница 280: ...268 Connection Example Figure 7 2 Connection of PCI 8164 with Panasonic Driver ...
Страница 287: ...Connection Example 275 7 3 3 Mechanical Dimensions ...
Страница 296: ...284 Connection Example CNIF and CN2 SJ Refer to 8134 64 series user manual CN1 24V power supply input ...
Страница 297: ...Connection Example 285 7 5 2 Mechanical Dimensions ...
Страница 300: ...288 Connection Example 7 6 Wiring with DIN 814M J3A ...
Страница 304: ...292 Connection Example 7 7 Wiring with DIN 814Y ...
Страница 308: ...296 ...