78
•
Motion Library
_8136_P_Clear
This function is for clearing the encoder counter value to zero
immediately.
_8136_P_Send
This function is for sending a fixed frequency pulse train of each
channel. It will output a pre-configured pulse format which is set by
P_Set_Output_Type().
_8136_P_Stop
This function is for stopping the output pulse for each channel.
_8136_P_Change_Speed
This function is for changing the output pulse frequency on line.
_8136_P_Read_Index
There are 6 index signal input in one PCI-8136. This function is for
checking the index status on or off. Each bit of this status value
represents a index status.
_8136_P_Set_Index_Latch
The index signal is also a trigger source for latching the respective
encoder counter value. There are two modes for this latch. Set 0 to
be first trigger latch and set 1 to be last trigger latch. First trigger
latch means only trigger once and last trigger latch means latch
every time if index signal comes.
_8136_P_Read_Latch_Value:
Once the encoder counter is latched. Use this function can get 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_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);
Summary of Contents for PCI-8136M
Page 1: ...PCI 8136M 6 Axis Motion Controller Card User s Guide ...
Page 2: ......