62
Function Library
@ Arguments
CardNo
: card number designated to set (Range 0 - 3)
ChannelNo
: channel number designated to set (Range 0 - 5)
*phEvent
: event handler array contains 7 handler for each card
in Windows interrupt system
*existCards
: a return value to indicate how many cards are
found
intFlag
: enable or disable interrupt signal (Range 0-1)
intFactor
: enable or disable interrupt for each type in each bit:
bit0: Limit switch on
bit1: Emergency stop on
bit2: Home switch on
bit3: Index signal on
bit4: Encoder value compared
bit5: Timer interrupt
bit6: ADC pre-load value reached
*IntStatus
: Read the interrupt status of one axis. To adjudge
which interrupt is coming.
bit0: Positive Limit switch on
bit1: Minus Limit switch on
bit2: Emergency stop on
bit3: Home switch on
bit4: Index signal on
bit5: Encoder value compared
bit6: Timer interrupt
bit7: ADC pre-load value reached
OptionType
: Set ADC compare direction
1 = Rising Direction
2 = Falling Driection
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...