56
Function Library
_8136_P_Read
This function reads the 32-bits encoder counter value immediately.
There are six encoder counters in one card. Assign the channel
value 0-5 to read the encoder counter individually. There are three
internal counters for receiving pulse output commands. When
pulse output channel 0-2 is working, their output value will send to
both CN1 and the internal feedback counter. These three com-
mand feedback counters are at channel 6-8. If the channel param-
eter of this function is assigned as the above three channels, it will
read the command value at the same time.
_8136_P_Clear
This function clears the encoder counter value to zero immedi-
ately.
_8136_P_Send
This function sends 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 stops the output pulse for each channel.
_8136_P_Change_Speed
This function changes the output pulse frequency on line.
_8136_P_Read_Index
There are 6 index signal inputs in one PCI-8136. This function is
for checking the index status on or off. Each bit of this status value
represents an 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.
Summary of Contents for PCI-8136
Page 4: ......
Page 20: ...12 Installation...
Page 32: ...24 Signal Connections Figure 3 7 Connect to open collector output...
Page 48: ...40 Operation Theory...
Page 72: ...64 Function Library...
Page 78: ...70 Appendix 12 A save finish window will appear 13 Press Exit button to exit utility...
Page 80: ...72 Appendix Channel 2 Channel 3...
Page 81: ...Appendix 73 Channel 4 Channel 5...
Page 82: ...74 Appendix...