
Operation Theory
75
4.5
Counters
There are four counters for each axis of this motion controller.
They are described in this section.
Command position counter: counts the number of output pulses
Feedback position counter: counts the number of input pulses
Position error counter: counts the error between command and
feedback pulse numbers.
General purpose counter: The source can be configured as com-
mand position, feedback position, manual pulser, or half of ASIC
clock.
Target position recorder: A software-maintained target position
value of latest motion command.
4.5.1
Command Position Counter
The command position counter is a 28-bit binary up/down counter.
Its input source is the output pulses from the motion controller. It
provides the information of the current command position. It is
useful for debugging the motion system.
Our motion system is an open loop type. The motor driver receives
pulses from motion controller and drive the motor to move. When
the driver is not moving, we can check this command counter and
see if there is an update value on it. If it is, it means that the pulses
have seen sent and the problem could be on the motor driver. Try
to check motor driver’s pulse receiving counter when this situation
is happened.
The unit of command counter is in pulse. The counter value could
be reset by a counter clear signal or home function completion.
Users can also use a software command counter setting function
to reset it.
4.5.2
Feedback Position Counter
The feedback position counter is a 28-bit binary up/down counter.
Its input source is the input pulses from the EA/EB pins. It counts
the motor position from motor’s encoder output. This counter
Содержание PCI-8102
Страница 10: ...vi List of Figures ...
Страница 13: ...Introduction 3 Figure 1 2 Flow Chart for Building an Application ...
Страница 18: ...8 Introduction ...
Страница 28: ...18 Installation ...
Страница 46: ...36 Signal Connections and stop signals to STA and STP pins on the K1 connector of the first PCI 8102 card ...
Страница 98: ...88 MotionCreatorPro 5 3 2 Select Menu The select menu appears after running MotionCreatorPro It is used to ...
Страница 99: ...MotionCreatorPro 89 5 3 3 Card Information Menu In this menu it show some Information about this card ...
Страница 100: ...90 MotionCreatorPro 5 3 4 Configuration Menu In this menu users can configure ALM INP ERC EL ORG and EZ ...
Страница 102: ...92 MotionCreatorPro In this menu users can configure LTC SD PCS and Select_Input ...
Страница 104: ...94 MotionCreatorPro In this menu users can configure pulse input output and move ratio and INT factor ...
Страница 116: ...106 MotionCreatorPro Z Save Config Save current configuration to 8102 ini And 8102MC ini Z Close Close the menu ...
Страница 124: ...114 MotionCreatorPro ...
Страница 196: ...186 Function Library pSVdec S curve region during deceleration by calculation pTconst constant speed time maximum speed ...
Страница 205: ...Connection Example 195 5 DIN DI_COM 6 DOUT DO_COM 7 DIR OUT DIR OUT ...
Страница 206: ...196 Connection Example 8 HSIN 9 HSOUT HO_COM ...
Страница 207: ...Connection Example 197 Mechanical Dimensions ...
Страница 208: ...198 Connection Example ...
Страница 209: ...Appendix 199 Appendix 8 1 Color code of Mitsubishi servo J3A cable MRJ3CN1 xM OPEN ...
Страница 210: ...200 Appendix ...