AM261x Motor Control SDK  10.02.00
alm_bits Struct Reference

Detailed Description

Structure defining Alarm bits received by the encoder.

Alarm for battery voltage beyond a specific band, over flow, over speed, over temperature, Memory , single turn and multi turn errors and busy flags.

Data Fields

uint8_t batt
 
uint8_t mt_err
 
uint8_t ov_flow
 
uint8_t ov_spd
 
uint8_t mem_err
 
uint8_t st_err
 
uint8_t ps_err
 
uint8_t busy
 
uint8_t mem_busy
 
uint8_t ov_temp
 
uint8_t inc_err_m
 
uint8_t ov_spd_s
 
uint8_t st_err_s
 
uint8_t ps_err_s
 
uint8_t busy_s
 
uint8_t inc_err_s
 

Field Documentation

◆ batt

uint8_t alm_bits::batt

Alarm occurs when the internal battery voltage drop below the specified value

◆ mt_err

uint8_t alm_bits::mt_err

The higher voltage between the built-in backup capacitor in the encoder or the external battery becomes 2.45V (TYP) or less

◆ ov_flow

uint8_t alm_bits::ov_flow

OvFlow='1' is outputted when "-32768 to +32767" is exceeded as an amount of rotations. The multi-turn counter operates as a cyclic counter of 0 to 65535 even after overflow

◆ ov_spd

uint8_t alm_bits::ov_spd

Alarm occurs when Over speed is detected through optical incremental signal or multi turn signal

◆ mem_err

uint8_t alm_bits::mem_err

This flag is turned on when an error occurs while accessing the EEPROM in the encoder.

◆ st_err

uint8_t alm_bits::st_err

To monitor the conformance between the “ABS block” and the “INC block".

◆ ps_err

uint8_t alm_bits::ps_err

To monitor the conformance between (1)“multi turn calculation block” and (2)“single turn calculation block.” When comparing (1) and (2),if (difference between (1) and (2)) ≧ (single turn) an alarm is turned on

◆ busy

uint8_t alm_bits::busy

This flag is turned on during the process to determine a single turn absolute value

◆ mem_busy

uint8_t alm_bits::mem_busy

This flag shows that access to the EEPROM in the encoder is under way. After the access is completed, the flag returns to “0.”

◆ ov_temp

uint8_t alm_bits::ov_temp

It issues warning when the temperature sensor’s output on board becomes beyond the specified value

◆ inc_err_m

uint8_t alm_bits::inc_err_m

When a signal failure (amplitude, level, etc.) in the incremental signal phase A/ phase B is detected, this flag outputs ‘1.’

◆ ov_spd_s

uint8_t alm_bits::ov_spd_s

◆ st_err_s

uint8_t alm_bits::st_err_s

◆ ps_err_s

uint8_t alm_bits::ps_err_s

◆ busy_s

uint8_t alm_bits::busy_s

◆ inc_err_s

uint8_t alm_bits::inc_err_s