snap ethernet-based i/o units protocols and programming guide
snap ethernet-based i/o units protocols and programming guide
snap ethernet-based i/o units protocols and programming guide
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
SetDigBankOnMask V<br />
[in] long nPts63to32<br />
[in] long nPts31to0<br />
SetDigBankOffMask V<br />
[in] long nPts63to32<br />
[in] long nPts31to0<br />
SetDigBankPointStates V<br />
[in] long nPts63to32<br />
[in] long nPts31to0<br />
[in] long nMask63to32<br />
[in] long nMask31to0<br />
SetDigBankActCounterMask V<br />
[in] long nPts63to32<br />
[in] long nPts31to0<br />
Return values are shown on page 61.<br />
Analog Point Methods<br />
CHAPTER 3: USING THE SNAP ETHERNET I/O DRIVER TOOLKIT<br />
Write Methods Description<br />
SetDigBankDeactCounterMask V<br />
[in] long nPts63to32<br />
[in] long nPts31to0<br />
Uses the bitmask to turn digital points on.<br />
Uses the bitmask to turn digital points off.<br />
Sets the state of the digital bank from the nPts63to32<br />
<strong>and</strong> nPts31to0 parameters. Only those points set in<br />
the nMask63to32 <strong>and</strong> nMask31to0 parameters are<br />
affected.<br />
Uses the bitmask to activate counters.<br />
Uses the bitmask to deactivate counters.<br />
v The OptoSnapIoMemMapX ActiveX component has a variant-only version of this method.<br />
Use the following methods to read <strong>and</strong> write information about individual analog points. For<br />
more information on analog point features, see page 20, “Analog Point Read—Read Only” on<br />
page 123, “Analog Point Write—Read/Write” on page 124, “Analog Point Calculation <strong>and</strong><br />
Set—Read Only” on page 131, <strong>and</strong> “Analog Read <strong>and</strong> Clear/Restart—Read Only” on page 133.<br />
GetAnaPtValue V<br />
[in] long nPoint<br />
[out] float pfValue<br />
GetAnaPtCounts V<br />
[in] long nPoint<br />
[out] float pfValue<br />
GetAnaPtMinValue V<br />
[in] long nPoint<br />
[out] float pfValue<br />
GetAnaPtMaxValue V<br />
[in] long nPoint<br />
[out] float pfValue<br />
GetAnaPtTpoPeriod<br />
[in] long nPoint<br />
[out] float pfValue<br />
Read Methods Description<br />
Retrieves the value of the specified analog point.<br />
Retrieves the counts of the specified analog point.<br />
Retrieves the minimum value of the specified point.<br />
Retrieves the maximum value of the specified point.<br />
Retrieves the TPO period for the specified point.<br />
See the SetAnaPtTpoPeriod() method below for<br />
more information.<br />
SNAP Ethernet-Based I/O Units Protocols <strong>and</strong> Programming Guide 67