192
Function Library
time out time must be set more than 10ms to prevent the inaccur-
ancy of Windows timer.
_8168_get_cos_status
:
This function is used for getting the change of state status in one
card. Calling the status will clear the current status. It is not sug-
gested that this function is used during interrupt for COS functions.
@ Syntax
C/C++ (DOS, Windows)
I16 _8168_set_d_cos(I16 AxisNo, I16 Logic, I16
Enable);
I16 _8168_wait_d_cos(I16 AxisNo, I32 Time_Out);
I16 _8168_set_hd_cos(I16 AxisNo, I16 Logic, I16
Enable);
I16 _8168_wait_hd_cos(I16 AxisNo, I32 Time_Out);
U16 _8168_get_cos_status(I16 CardNo);
Visual Basic (Windows)
_8168_set_d_cos( ByVal AxisNo As Integer, ByVal
Logic As Integer, ByVal Enable As Integer)
As Integer
_8168_wait_d_cos(ByVal AxisNo As Integer, ByVal
Time_Out As Long) As Integer
_8168_set_hd_cos(ByVal AxisNo As Integer, ByVal
Logic As Integer, ByVal Enable As Integer)
As Interger
_8168_wait_hd_cos(ByVal AxisNo As Integer, ByVal
Time_Out As Long) As Integer
_8168_get_cos_status(ByVal CardNo As Integer) As
Integer
@ Argument
AxisNo
: axis number designated
Logic
: 0 for rising edge, 1 for falling edge
Enable
: 0 for disable, 1 for enable
Time_Out
: The minimum value is 10
Содержание cPCI-8168
Страница 4: ......
Страница 10: ...vi List of Figures...
Страница 29: ...Installation 19 2 9 Overview of CN3 CN6...
Страница 31: ...Installation 21 2 11 Switch Setting...
Страница 124: ...114 Function Library Src Counter source Return Code ERR_NoError Value Meaning 0 External Feedback 1 Command pulse...
Страница 134: ...124 Function Library Return Code ERR_NoError ERR_SpeedError ERR_PChangeSlowDownPointError ERR_MoveRatioError...
Страница 155: ...Function Library 145 12 At FH speed maximum velocity 13 In deceleration 14 Waiting for INP signal 15 Reserved...
Страница 204: ...194 Function Library...