Linear encoders, RF20X Series - RIFTEK - #19

/ 26


catalogue search
P. 01
P. 02
P. 03
P. 04
P. 05
P. 06
P. 07
P. 08
P. 09
P. 10
P. 11
P. 12
P. 13
P. 14
P. 15
P. 16
P. 17
P. 18
P. 19
P. 20
P. 21
P. 22
P. 23
P. 24
P. 25
P. 26
Pages:


See other catalogues for RIFTEK

Text version of the page

Absolute linear encoders, RF25X

Parameters:

hcoM - descriptor of the device obtained from function

RF25x_OpenPort or CreateFile;

bAddress - device address;

IprfHelToAnswer - pointer to the RF25xHELLOANSWER structure.

Returned value:

If the device does not respond to identification request, the function returns FALSE, oth-

erwise the function returns TRUE and fills variable RF25xHELLOANSWER structure

15.4. Reading of parameters (RF25x_ReadParameter)

The function RF25x_ReadParameter reads internal parameters of the RF25X

sensor and returns the current value to the parameters address;

BOOL RF25x_ReadParameter (

HANDLE hCOM,

BYTE bAddress,

WORD wParameter,

DWORD * Tpdwvalue

);

Parameters:

hCOM - descriptor of the device obtained from function

RF25x_OpenPortt or CreateFile;

bAddress - device address;

wParameter - number of parameter, see Table 1.

Table 1

Parameter

Description

RF25X_PARAMETER_POWER_STATE

Power status of sensor

RF25X_PARAMETER_PRIORITY_AND_SYNC

Control of sampling and synchronization

RF25X_PARAMETER_NETWORK_ADDRESS

Network address

RF2 5X_PARAMETER_BAUDRATE

Data transmission rate through serial port

RF2 5x_PARAMETER_PIXEL_5IZE

Pixel size

RF2 5 X _ PA RANI ET E R_DAT U M_ POINT

Csu-dinak; system Zero

RF2 5x_PARAMETER_SAMPLING_PERIOD

RF2 5x_PARAMETER_BEGIN_ANALOG_RANGE

Sampling period

Beginning ot analog output range

RF2 5x_PARAMETER_END_ANALOG_RANGE

End of analog output range

Ipdwvalue - pointer to WORD-type variable where current parameter

value will be saved.

Returned value:

If the device does not respond to parameter reading request, the function returns

FALSE, otherwise the function returns TRUE and fills variable TpdwVa Tue

15.5. Parameters saving (RF25x Write Parameter)

The function RF25x_WriteParameter writes Inside parameters of the RF25X

sensor:

BOOL RF25x_writeParameter (

HANDLE hCOM,

BYTE bAddress,

WORD wParameter,

DWORD dwVaTue

RF25X [Revision 1.1] 10th October 2010


pageCatalog pdf di En 2012-05-22-31