7 manual pulser mode, Manual pulser mode – ADLINK PCI-8134A User Manual

Page 62

Advertising
background image

52

Operations

4.1.7

Manual Pulser Mode

For manual operation of a device, you may use a manual pulser such as a
rotary encoder. The PCI-8134/PCI-8134A can input signals from the pulser
and output corresponding pulses from the OUT and DIR pins, thereby
allowing you to simplify the external circuit and control the present position
of axis. This mode is effective between a manu_move() command is
written and a v_stop() command.

The PCI-8134/PCI-8134A receives plus and minus pulses (CW

/CCW) or 90

degrees phase difference signals(AB phase) from the pulser at PA and PB
pins. The 90

°phase difference signals can be input through multiplication

by 1, 2 or 4. If the AB pahse input mode is selected, the PA and PB signals
should be with 90

° phase shifted, and the position counting is increasing

when the PA signal is leasding the PB signal by 90

° phase.

Also, one pulser may be used for ‘X’ and ‘Y’ axes while internally
distributing the signals appropriately to two axes. To set the input signal
modes of pulser, use set_manu_iptmode() function. Then write
manu_move() to begin manual operation function. User must write v_stop()
command in order to end this function and begins to operate at another
mode.

The error input of PA and PB can be used to generate IRQ. The following
two situations will be considered as error input of PA and PB signals. (1)
The PA and PB signals are changing simultaneously. (2) The input pulser
frequency is higher than the maximum output frequency 2.4M pps. Set bit
14 of INT factor will enable the IRQ when error happen.

Maximum moving velocity in this mode can be limited by setting max_vel
parameter in manu_move() function.

Relative Function:

set_manu_iptmode(), manu_move(), v_stop(): Refer to section 6.12

Advertising