Omega Engineering EN-EIC-325-PCI manual Polarity

Page 26

#define TurnOn 1 #define TurnOff 0

//EnabledDisabledMode: #define SetEnabled 1 #define SetDisabled 0

//Polarity:

#define ActiveOnHigh 1 #define ActiveOnLow 0

24

Image 26
Contents User’s Guide Servicing North America Model Table of Contents Section Encoder Interface Each Encoder Interface includes the following elementsSoftware Inputs Cards Hardware I/OEncoder Inputs PIN LAY-OUTFunction Type Pin No Encoders Event Signals and General OutputsLogical Inputs Installation CPPVB folders Page WinSysPath folder WinSysPath is Page Page Introduction to the Functions Card Level Functions Chip Level FunctionsAll the following functions refer to that active chip Brief Name Arguments in C Syntax Full DescriptionSetActiveChip GetActiveChipBrief Description Name InputsShort EncoderNumber Short ClocksPerCycle BriefArguments in C Syntax Full Description Short EncoderNumberGetIndexPulsePolarity SetIndexPulsePolarityShort Polarity CounterSetPoint SetSetPointLong SetPoint GetSetPointGetEncoderEventFlag SetEncoderEventFlagSource PolarityGetHoldEncoderEvent SetHoldEncoderEventFlag ClearEncoderEventReadPositionCounter ResetPositionCounterShort OutputsMirror Long* PositionCounterAvailable only for RequestPositionCounter Polarity Introduction Encoder CountersSine wave signal Input Signals from the EncodersSquare wave signal GeneralSoftware GeneralConnector Wiring for the Inputs Connector Wiring for the Outputs Next YesWinNT FinishPage Page Page Page Page Page Page Appendix D Product Development WARRANTY/DISCLAIMER Shop online at omega.com