ADLINK PCI-8134A User Manual
Page 132
![background image](/manuals/733470/132/background.png)
122
• Additional Function Library
op_mode=0, Independent for each axis
op_mode=1,PAX, PBX common for PAY, PBY
or PAZ, PBZ common for PAU, PBU.
Speedlimit: limitation for maximum velocity
Value: pulser ratio, its value n should satisfy the following relations,
PA & PB Input Mode
Applicable Range
1 times multiplied 90° phase difference signal fP<fH/(n+1)
2 times multiplied 90° phase difference signal fP<fH/[(n+1)×2]
4 times multiplied 90° phase difference signal fP<fH/[(n+1)×4]
2-pulse input
fP<fH/(n+1)
where fP is the maximum input frequency (pps) of pulser signals and
fH is the frequency (pps) of the output signals. If the pulser ratio is
not set by these rules, the output pulses will not appear in the cycle
of one manul input pulse or in the rising edge of the output pulses.
unit: pulser ratio
@ Return Code
ERR_NoError
@ Coding Example in C Language
1. Satisfication of fP<fH/[(n+1)
×
m]
_8134_set_pulser_iptmode(0,1,0); // set pulser input mode
_8134_set_pulser_ratio(0,5); // set pulser ratio
_8134_pulser_vmove(0,40);
8
From the above figure, Ch1 is the input signal of the pulsers, and
Ch2 is the relative output signal from OUT and DIR pins. Obviously,
the output signal frequency satisfies the relationship,
FP(=1.978Hz) < fH(=40Hz)/[(5+1)×2].
2. Dissatisfication of fP<fH/[(n+1)×m]
_8134_set_pulser_iptmode(0,1,0); // set pulser input mode
_8134_set_pulser_ratio(0,15); // set pulser ratio
_8134_pulser_vmove(0,40);