Documentation Home Page RT-XSG Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Encoder Output Subsection

Block

Mask

Description

This block implements the standard way to package 2 Quad Encoder application blocks into the standardized I/O interface.

Parameters

This block has no parameters.

Inputs

Step[X] where X=[1,2]These ports are the speed of the angle parameter of the generator located inside the block. The speed must be provided as a turn ratio per FPGA clock cycle, in the range [-0.5,0.5]. This value is likely to be very small. Thus, the recommended format is Fix42_42, which provides a convenient range for the Step value.
NPPR[X] where X=[1,2]These ports are the number of pulses per turn. This signal indicates the number of A/B pulses per turn (i.e. between two consecutive Z pulses if the rotation direction does not change).
AleadsB[X] where X=[1,2]These ports are used to specify the encoding pattern (according to the encoder specification, the A pulse may come before or after the B pulse, for a positive speed).
Polarity[X] where X=[1,2]These ports are used to specify a polarity of A and B signals.
SyncThis port is used to reset the angle of the device to 0.
DifferentialThis port is used to select the output with a differential on 'B'.

Outputs

QEOutThis port is the combination of the concatenated A, B and Z signal of the 2 Quad Encoder with the differential value on 'AB', 'BA' and 'BZ' when the input Differential is high.

Characteristics and Limitations

This block has no special characteristics or limitations.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323