Function Library
57
_8136_P_Read_Latch_Value
:
Once the encoder counter is latched, this function can retrieve the
counter value at latched moment. It will not be clear until next
index latched signal is coming.
_8136_P_Set_Compare_Value
There are 6 encoder counters in PCI-8136. Each encoder can set
a compare value individually. This compare value is also a 32-bits
value.
@ Syntax
C/C++ (DOS, Windows 95/98/NT/2000)
I16 _8136_P_Initial(I16 CardNo);
I16 _8136_P_Set_Output_Type(I16 CardNo, I16
ChannelNo, I16 PulseFmt);
I16 _8136_P_Set_Input_Type(I16 CardNo, I16 EncNo,
I16 EncFmt, I16 Mul);
I16 _8136_P_Read(I16 CardNo, I16 EncNo, I32
*EncData);
I16 _8136_P_Send(I16 CardNo,I16 ChannelNo,F64
FrqL);
I16 _8136_P_Stop(I16 CardNo,I16 ChannelNo);
I16 _8136_P_Clear(I16 CardNo, I16 EncNo);
I16 _8136_P_Set_Compare_Value(I16 CardNo,I16
EncNo, I32 CompValue);
I16 _8136_P_Read_Latch_Value(I16 CardNo, I16
EncNo, I32 *Value)
I16 _8136_P_Set_Index_Latch(I16 CardNo, I16
WhichIndex, I16 Type);
I16 _8136_P_Read_Index(I16 CardNo, I16 AxisNo,
I16 *Index);
I16 _8136_P_Change_Speed(I16 CardNo,I16
AxisNo,F32 Frq);
Visual Basic 5.0 or higher
B_8136_P_Initial (ByVal CardNo As Integer) As
Integer
B_8136_P_Initial (ByVal CardNo As Integer) As
Integer
Содержание PCI-8136
Страница 4: ......
Страница 20: ...12 Installation...
Страница 32: ...24 Signal Connections Figure 3 7 Connect to open collector output...
Страница 48: ...40 Operation Theory...
Страница 72: ...64 Function Library...
Страница 78: ...70 Appendix 12 A save finish window will appear 13 Press Exit button to exit utility...
Страница 80: ...72 Appendix Channel 2 Channel 3...
Страница 81: ...Appendix 73 Channel 4 Channel 5...
Страница 82: ...74 Appendix...