
FDI2056 Use
r’s Manual
v 2.0 r 1.1
– 03/13
Copyright © 2013 Metrolab Technology SA
22
www.metrolab.com
This will configure the system to decode the signal fed from the
encoder connector using a differential to single-ended circuitry. Once
this adaptation is made, the A signal is used directly, the B signal is
inverted before use. The encoder provides an index signal which is
used directly. No error signal is present in the system. The encoder is
rotational and will generate 256 pulses per turn.
It is to be noted that
- using a differential system, physically permuting a pair of signal
or
- setting the same pair to be inverted by software
is the same operation.
Notes
When the decoder is configured to use an index, the first time the
index is reached the internal counter keeping track of the current
position will be set to 4*<numerical value> -1 or 0 depending on the
rotational direction. The value of this counter is available by using the
command
CONTR#:ENC:POS?
When configuring the FDI 2056 to use an encoder, it is of upmost
importance to check that the rotational direction is in accordance with
the two LEDs denoted FW and BW located on the front panel of the
channel into which the encoder is plugged.
:CONTRol#:ENCoder[:POSition]
3-7-9
Used to set the zero of a linear or rotational encoder having no index. When used
as a query, this command returns the current position of the encoder.
Syntax
CONTRol#:ENCoder[:POSition] <numerical value>
CONTRol#:ENCoder[:POSition]?
Arguments
The <numerical value> is used to set the current position of the encoder.
Example
CONTR:ENC?
Returns the current position of the encoder.
:DATA#:COUNt?
(Query only)
3-7-10
Returns the amount of data available in the instrument fifo. This value may be
directly used to fetch this amount of remaining data.
Syntax
DATA#:COUNt?
Example
DATA:COUN?