PMACENC - Pmac encoder

The PMACENC block handles the pmac encoder signals

Fields

Name

Type

Description

ENABLE

bit_mux

Halt of falling edge, reset and enable on rising

GENERATOR_ERROR

param enum

generate error on output
0 No
1 BISS frame error bit

DATA

bit_mux

Data output to master encoder

PROTOCOL

param enum

Type of absolute/incremental protocol
0 Passthrough - UVWT
1 Passthrough - Absolute
2 Read - Step/Direction
3 Generate - SSI
4 Generate - enDat
5 Generate - Biss

ENCODING

param enum

Position encoding (for absolute encoders)
0 Unsigned Binary
1 Unsigned Gray
2 Signed Binary
3 Signed Gray

BITS

param uint 32

Number of bits

CLK

bit_out

Clock input from encoder

VAL

pos_mux

Input for position (all other protocols)

HEALTH

read enum

Table status
0 OK
1 Biss timeout error (did not received right number of sck for biss frame)
2 ENDAT not implemented
3 OUTENC unused (MONITOR mode)
4 Protocol readback error