Omega Engineering EN-EIC-325-PCI manual SetSetPoint, Long SetPoint, GetSetPoint

Page 21

3.5.3. SETPOINT

#

Brief

Name

Arguments (in C Syntax)

 

 

 

Full Description

 

Description

 

 

 

 

 

 

16

Set Set Point

SetSetPoint

(long CardHandle,

 

Defines the Set Point Register (SPR). Reaching the SPR (i.e.,

 

 

 

short EncoderNumber,

 

meeting the condition IPC = SPR) may become the trigger of

 

 

 

long SetPoint)

 

the Event Signal.

 

 

 

 

 

SetPoint:

 

 

 

 

 

 

 

 

 

 

 

 

 

The desirable SPR. Should conform to an unsigned 24-bit

 

 

 

 

 

number (ranging from 0 to 16777215). If SetPoint exceeds

 

 

 

 

 

this range, a "failure" return code is responded, and SPR

 

 

 

 

 

remains changeless.

 

 

 

 

 

Note:

 

 

 

 

 

Refer

also to section 3.5.4.

17

Get Set Point

GetSetPoint

(long CardHandle,

 

Gets the current value of the Set Point Register (SPR).

 

 

 

short EncoderNumber,

 

 

 

 

 

 

 

long* SetPoint)

 

 

 

 

Note: The description of the common arguments is in section 3.6

19

Image 21
Contents User’s Guide Servicing North America Model Table of Contents Section Each Encoder Interface includes the following elements Encoder InterfaceCards Hardware I/O Software InputsPIN LAY-OUT Encoder InputsEncoders Event Signals and General Outputs Logical InputsFunction Type Pin No CPP InstallationVB folders Page WinSysPath folder WinSysPath is Page Page Introduction to the Functions Chip Level Functions Card Level FunctionsSetActiveChip Brief Name Arguments in C Syntax Full DescriptionAll the following functions refer to that active chip GetActiveChipInputs Brief Description NameArguments in C Syntax Full Description BriefShort EncoderNumber Short ClocksPerCycle Short EncoderNumberShort Polarity SetIndexPulsePolarityGetIndexPulsePolarity CounterLong SetPoint SetSetPointSetPoint GetSetPointSource SetEncoderEventFlagGetEncoderEventFlag PolarityFlag SetHoldEncoderEventGetHoldEncoderEvent ClearEncoderEventShort OutputsMirror ResetPositionCounterReadPositionCounter Long* PositionCounterAvailable only for RequestPositionCounter Polarity Encoder Counters IntroductionSquare wave signal Input Signals from the EncodersSine wave signal GeneralGeneral SoftwareConnector Wiring for the Inputs Connector Wiring for the Outputs Yes NextFinish WinNTPage Page Page Page Page Page Page Appendix D Product Development WARRANTY/DISCLAIMER Shop online at omega.com